Iframe's parent

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Iframe's parent

Post by vigge89 »

I'm currently developing a site, which contains a shoutbox in an iframe.
when the shouts are displayed, i also include a link to the shouters profile, which should have target set as the parent window, but iI can't come up with how to do that...
I've tried using target='_top', '_self' and lots of others, but which one is the right one?
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

tried target='_parent' now and it worked, but does this one work in all browsers? just wanna be sure that it isn't just possible in Firebird :?
User avatar
Derfel Cadarn
Forum Contributor
Posts: 193
Joined: Thu Jul 17, 2003 12:02 pm
Location: Berlin, Germany

Post by Derfel Cadarn »

vigge89 wrote:tried target='_parent' now and it worked, but does this one work in all browsers? just wanna be sure that it isn't just possible in Firebird :?
The words _parent, _self and some others are standard afaik. Have you checked w3c.org?
User avatar
Derfel Cadarn
Forum Contributor
Posts: 193
Joined: Thu Jul 17, 2003 12:02 pm
Location: Berlin, Germany

Post by Derfel Cadarn »

Darn, I thought that I'd get a new level when posting my 150th posting. Hm, perhaps when I post my 200th.... :roll:
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

lol haha..........*points at title*

didn't I join later than you? hmmmm

-Nay

edit:.......maybe not <_< =X
User avatar
Derfel Cadarn
Forum Contributor
Posts: 193
Joined: Thu Jul 17, 2003 12:02 pm
Location: Berlin, Germany

Post by Derfel Cadarn »

echo <<<HEREDOC
Derfel Cadarn bows his head and kisses the feet of the one and only true Master. Exept Volka, that is. And he's in Berlin too: a high concentration of geniusseses here 8)
HEREDOC
:wink:
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

are you using this in java or html? java doesn't care if it's '' or "" but html should be "" and xhtml MUST be ""

btw: when you join doesn't necessarily dictate how many posts you have. some people come only for their own issues. others take brakes at times. then there's those that will waste tieme here because they like the challenge and thus post more. case-in-point: i know genik was here well before me, but i have more than him in posts.
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

Derfel Cadarn wrote:echo <<<HEREDOC
Derfel Cadarn bows his head and kisses the feet of the one and only true Master. Exept Volka, that is. And he's in Berlin too: a high concentration of geniusseses here 8)
HEREDOC
:wink:
Error: ';' expected.

:wink:
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

offtopic?
nevermind, this topic is solved anyway ;)
Post Reply