PDA

View Full Version : Fold out menu: help !



iRoss
18-03-2005, 05:54 PM
Ok i have this fold out menu, but when i click a link, it loads in the iframe that the nav is in. Which i dont want it 2. Can anybody help?

Thanks

splintercell!
18-03-2005, 05:57 PM
Do you have to have the iframe?? Because I see no way of doing it :S

iRoss
18-03-2005, 05:58 PM
Yes, because if i didn,t i would have 2 go through pages and pages of updating just 2 update the nav :-z

-JT-
18-03-2005, 05:58 PM
can you show us?

splintercell!
18-03-2005, 06:11 PM
Yes because why would you have to go through pages and pages?? Mostly you will just have one main page with either and iframe in the middle or using phplinks :D So please tell us how its done..

iRoss
18-03-2005, 06:42 PM
www.ross.webmanage.org/Index.htm is the URL the nav is meesed up atm so dont worry, just click on the top option then go 2 home and u will see what happens... (it will open in the iframe and i want it 2 open in a new page) but no targetting as such just 2 kinda open the home again in the full screen and not in the iframe if u get me :-z

splintercell!
18-03-2005, 06:45 PM
ALL I see is the layout and coding inside the boxes.. Im using FireFox though..

iRoss
18-03-2005, 06:47 PM
the coding of the nav u meen? u dont see any scrollbars for iframes or anything?

splintercell!
18-03-2005, 06:48 PM
In all of it but It works on Ie and I know your problem. Firsly take the iframe you want your link to go to and add name= and give it a name then go to the link and put say target="the name you gave the iframe" also for the home link make the target="top"

iRoss
18-03-2005, 06:49 PM
show me the code for what u just said?

splintercell!
18-03-2005, 06:52 PM
Ok here is how the iframe should look..

<iframe src="home.html" width="550" height="450" frameborder=0 name=i1>
</iframe>

Ok then ..

<a href="news.php" target=i1>

that will mean the news link will go to the iframe..

iRoss
18-03-2005, 06:54 PM
<iframe src="home.html" width="550" height="450" frameborder=0 name=i1>
</iframe>
<a href="news.php" target=i1>

should look like that yer?

splintercell!
18-03-2005, 06:55 PM
Yes :D any problems just ask..

iRoss
18-03-2005, 06:57 PM
ok +rep added :)

splintercell!
18-03-2005, 07:38 PM
O ye and also :D Make your Index file index.htm without the Captial I otherwise It dosent work.. Or maybe you meant to do that to hide it :P

iRoss
18-03-2005, 07:56 PM
:o maybe i did :P

Want to hide these adverts? Register an account for free!