...

View Full Version : Targets problem



cblake843
05-04-2006, 09:41 AM
on the DHTML combo box script i am having trouble setting the target of the links. I have a frameset i waht to put this script in. I have tried everything i know in an attempt to open the links in a main page keeping the the drop down link list in a header page. I would be most grateful for advise. I have tried editing the script but still proves unsucessful. Please help.;

http://www.javascriptkit.com/script/...tmlcombo.shtml

This is the script i am trying to change the target of, above.
Kase

Kor
05-04-2006, 10:00 AM
Oops- page not found! says my FF...:-)

Anyway to open a page in an frame/iframe from another frame/iframe or from parent you may try
top.frames['framename'].location.href='newpage.html'

cblake843
05-04-2006, 02:49 PM
Hi , the script is here in Javascriptkit.com under dhtml combo script. I have tried almost everything, thanks for you advise but it didnt seem to work. Where should the command go exactly , with each link or could i generalize and put all the targets to the main page , for example.


Kase:) :) :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum