How do I make my website go?
December 5, 2006 11:26 AM
Subscribe
Web Code Filter: Is there an excepted and conventional way to load a new HTML document within a DIV tag when a user clicks on an image outside of said DIV?
I've been doing a bit of research and it looks like IFRAME will do what I'm looking for, but it also looks like IFRAME is not a standard tag. My goal is to allow users to click on a thumbnail/icon inside of a right/left-hand navigation column DIV and bring up new content (ideally just another HTML document) inside of a larger central DIV for an image gallery. Any input you have time to spew in my general direction about this quandary will be greatly appreciated...
posted by joe_from_accounting to computers & internet (8 comments total)
If you're really allergic to iframes, you could do this with javascript and an XMLHttpRequest if all your HTML documents are on the same domain as the page you're making, or with javascript and normal frames elements if not. But it's a lot of gymnastics for what an iframe will give you mostly for free.
posted by weston at 11:40 AM on December 5, 2006