NationStates Jolt Archive


HTML/website help pwetty please!

Pure Metal
16-05-2006, 17:44
i'm designing a site and am currently doing the FAQs section. what i want is there to be the list of questions on the right which stays static as the page scrolls. i've achieved this fine, and am using an iframe to get the content from a seperate page where the questions are listed (or it messes up badly). unfortunatley this is where the problem is.

between normal frames i know perfectly well how to direct a link to a different frame from the one the link is contained in, but i don't know how to do this with an iframe (i want the links in the iframe to open in the main page they're being displayed in, if that makes sense... hell, when i put it that way it doesn't sound possible, heh)

i've assigned a name tag to the iframe and tried tagging _iframename onto the end of the links (testing to see if it works the other way around) but that does no good (opens in new window)

can anyone help? would be much appreciated :) :fluffle:
i'm still very much an HTML noob :(


if anyone's got an idea, i have a second related (and probably much more simple and noobish) question to ask, but i'll leave that for the minute :P
Lazy Otakus
16-05-2006, 18:05
Add a target="_parent" to your iFrame links.
Pure Metal
16-05-2006, 18:30
aha, thank you! :D :fluffle:

have a big cookie :)
http://static.flickr.com/43/76042070_8ac6f64bca_m.jpg



also figured out the second question meself :P
Lazy Otakus
16-05-2006, 18:32
aha, thank you! :D :fluffle:

have a big cookie :)
http://static.flickr.com/43/76042070_8ac6f64bca_m.jpg



also figured out the second question meself :P

Don't mention it. I live to eat cookies.. err, to serve. I live to serve. :)
Glitziness
16-05-2006, 18:39
yay - i sent luck (and fluffles :fluffle:) on msn and it must have paid off :p
Pure Metal
16-05-2006, 19:05
Don't mention it. I live to eat cookies.. err, to serve. I live to serve. :)
in that case serve me up a big cookie too :P

yay - i sent luck (and fluffles :fluffle:) on msn and it must have paid off :p
wow you sent that all the way to germany :eek: :p