javascript - Add history entry to the browser without changing the hash or any other parts of the URL -
is there trick (with iframe maybe...) add history entry browser without changing hash or other parts of url, while being compatible older browsers (not older ie8 - without pushstate)?
i know sounds weird here logic behind question:
i'm doing single page application , want rid of modals popups. use same techniques instead of placing div above actual page, hide entire page , show div representing modal.
this works great, modal taking entire page, user tends (and normal) click on button cancel action , return previous page (which hidden while modal displayed).
i know navigate different page (by changing hash) don't want url change since destination not page on it's own modal (it not make sense copy url of modal , pass else or bookmarking modal - normal modal inside popup).
i need able remove entry in cases user has completed action (in modal) or clicked on cancel button.
i found article explains solution (with iframe...): from book ajax design patterns
i give try , posted on result.
Comments
Post a Comment