Welcome to WebmasterWorld Guest from 184.72.177.182

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)

New User

joined:Sept 15, 2012
posts: 3
votes: 0


Hello,

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 Sept 17, 2012 (gmt 0)

Junior Member

5+ Year Member

joined:July 8, 2010
posts:114
votes: 0


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.


Regards,
LostDreamer
11:07 pm on Sept 17, 2012 (gmt 0)

New User

joined:Sept 15, 2012
posts: 3
votes: 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.

*update*
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 Sept 18, 2012 (gmt 0)

New User

joined:Sept 15, 2012
posts: 3
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members