
June 10th, 2004
02:33 PM
Neverside Newbie
Status: Offline!
IFrame Linking...
Hello people, I have a script that I am using to make a navigation. I would highly appreciate if someone shows me how to set targets for the links (link to IFrame through the navigation). I tried everything I could possibly think of and I went to the site given in the script itself but I was unable to come up with anything.
I attached the schipt at the bottom.
Thanks guys.
Attachments:
nav.zip
11.28 Kb, 18 views

June 10th, 2004
04:21 PM
the script is insanely hard to read, and isnt very browser-degrading...
im looking through it, I see he has replaced variables which makes it even HARDER to read. I see:
_d=document
so we can look for the functions that physically write the code unto the page by finding "_d.write" and there are 8 instances of that...
we see:
for(a=1;a<menus;a++){dmenu("menu"+a)}
I bet if u added a target attribute to line 310 - and seeing as that is the only instance of a href, it seems to be correct 
although.. I really highly urge you to find a smaller, and more x-browser script 
___________________
how do you weigh human life?

June 10th, 2004
05:40 PM
rally fan
Status: Offline!
<a target="FrameName" href="foo.html">asd</a>
<iframe name="FrameName" src="index.html">
content...
</iframe>

June 10th, 2004
07:47 PM
rally.. if u read the script you'd see that it is generated with code or chances are he wouldnt need to ask... :P
___________________
how do you weigh human life?

June 11th, 2004
03:49 PM
rally fan
Status: Offline!
Originally posted by Tsukmar
the script is insanely hard to read, and isnt very browser-degrading...
im looking through it, I see he has replaced variables which makes it even HARDER to read.
I didnt want to read it...