Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

How to let Dreamweaver menu only switch between iframes.



5:09 pm on Sep 15, 2012 (gmt 0)


I'm kinda new in this world, so i don't know everything yet.
I've made a menu on the left side in Dreamweaver (CS5.5) and want to only change a certain iFrame, and not switch the whole page.

Hope you guys understand me..


12:14 pm on Sep 17, 2012 (gmt 0)

5+ Year Member

Hi Kameleon,
Welcome to this forum :)

It sounds like an easy one:

<iframe NAME="my_iframe" src="somepage.html"></iframe>

<a href="some_other_page.html" TARGET="my_iframe"> Switch to other page</a>

Just make sure your iframe has a unique name, and use that name as the target value in your links.



11:07 pm on Sep 17, 2012 (gmt 0)

Thanks, that is one big step in the right direction. Now it only shows the frame very small and doesn't resize to show all content on one page or at least in the full space there is for the frame.

added height: 100%; to .content and
.container .content iframe {
height: 100%;
width: 100%;
to the css stylesheet and now it works exactly how i intended.


1:04 am on Sep 18, 2012 (gmt 0)

Humm does only see to work in Google Chrome, not in Internet Explorer and Firefox. Anyone has the solution for me?

Featured Threads

Hot Threads This Week

Hot Threads This Month