|
|
AJAX Tutorial: A Tale of Two IFrames (or, How To Control Your Browsers History)
|
08/24/2005 By Brad Neuberg
|
This is a mini-tutorial on the black art of iframes and browser history, known to AJAX experts but rarely presented clearly.
An iframe is an internal frame that can point to and load up an arbitrary URL within your HTML page.
Your browser history is the list of pages you have visited. When you press the back and forward buttons in your browser, you are jumping through your browser history.
Sometimes, for various reasons, programmers want to control what is placed into their browser's history or not. Think of this as a primitive that can be used in more elaborate AJAX and DHTML hacks; it's a building block useful in all kinds of crazy AJAX kung-fu. It's good to know about these tricks when confronted with AJAX design issues, or when you stumble across very strange bugs which might be caused by the different kinds of iframes I will present.
Read more...
|
Rate this Ajax Tutorials
Rating: 5.0 out of 2 votes cast
| |
|
|
|
|
|
|
|
|
|
|
|
|