frames, iframes, other
by Larry Cross on Jan 18, 2008 at 6:06:38 pm
I currently have a selfmade web site that uses frames for the following reason - there are product thumbnails in the left frame which, when clicked, produce a large picture in the right frame.
However, I have recently learned that frames are the leprosy of website programmers, so, is there a better, similar, method to produce the same effect, and if so, what is it and how does it work?
Re: frames, iframes, other by Abraham Chaffin on Jan 21, 2008 at 4:44:38 pm
You can achieve this function in different ways without using a frame site.
The most straight forward method would be use just an iframe for the pictures you want to change. An iframe is a frame that is embedded into 1 page rather than a frame that partitions your entire site.
Another way you could do this is use server side includes to include the frame parts as a wrapper that doesn't change from page to page. You would include a server side include tag in the place of each page and in the place you want the controls for your site.
To set this up you would use the behaviors pane in Dreamweaver to set a swap image on click behavior for a link you have set up. You would set the href for the link to # so it doesn't actually go anywhere. You can read more about how to set this technique up in a tutorial here: http://library.creativecow.net/articles/chaffin_abraham/image-rollovers-in-...
If you want to learn more about these other techniques let me know and I will explain a little more fully.