|
|
|
Matt
regular
Reg'd: Wed
Posts: 92
Loc: England
|
|
I want to create a navigation window (like a pop-up window) with links to other pages on the site, but I can't seem to get the page (when accessed using the nav. window) to load in the main window - not the navigation window - how can this be done?
I'm using DreamWeaver.
|
|
ianm
regular
Reg'd: Fri
Posts: 349
Loc: Colchester
|
|
Sounds like your using a frame site Matt, ok the frame you want the page to load in needs to be given a name ie, name="main" Now that frame has a name you can go back to your navigation page and tell it you want the page to change in the frame called main like this target="main"
so if you want a frameset with your navigation on the left and that frame to be 200px wide and your other pages on the right and to take up the rest of the screen you should end up with a frameset something like this
<frameset cols="200,*"> <frame name="contents" target="main" src="contents.htm" scrolling="no"> <frame name="main" src="home.htm"> <noframes> <body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body> </noframes> </frameset>
so it looks like your missing the "target" bit Matt.
Regards Ian
|
Matt
regular
Reg'd: Wed
Posts: 92
Loc: England
|
|
Thanks Ian - but I'm not using frames - I shoud've been more descriptive!
Here's an example of what I want to create - Invision board demo - and click on 'my assistant' - click on a link, and see that it changes in a other window.
Also, you wouldn't know how to create inline frames (I presume thats what they are?!) in DW? I've used layers, but they're not very good!
|
ianm
regular
Reg'd: Fri
Posts: 349
Loc: Colchester
|
|
Matt,
Sorry for the late reply been away for the weekend, I use Dreamweaver mx here and i may be wrong but as far as i am aware iframes are not supported by dreamweaver, I have only ever had to use them once and to be honest i just created the code in frontpage and pasted it into my page, I normally do about 60% of my sites in dw then do the finishing touches by hand coding, looked at the forum by i think i would have to sign in to see the my assistant link, so not to sure quite what it is your after still, so not been to much use this post but it sounds like a javascript option.
Regards Ian
|
|
|