Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE DREAMWEAVER:HomeDreamweaver ForumDreamweaver TutorialsFAQAdobe FlashWeb Design

frames, iframes, other

COW Forums : Adobe Dreamweaver

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
Larry Crossframes, iframes, other
by 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?

Many thanks for an answer,
L Cross

Return to posts index
Reply   Like  

Abraham ChaffinRe: frames, iframes, other
by 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.

If all you are looking to do is replace images by clicking on links you can setup javascript that replaces the image with another image. This is probably what you want to do.
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:

If you want to learn more about these other techniques let me know and I will explain a little more fully.

Take care,


Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


Creative COW LinkedIn GroupCreative COW Facebook PageCreative COW on Twitter
Share on Facebook
© 2016 All rights are reserved. - Privacy Policy