What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » javascript refer to outside a frame

Pages: (2): « First [ 1 ] 2 » Last »
javascript refer to outside a frame
Author: Message:
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. javascript refer to outside a frame
so I have this
code:
<html>
yatta yatta yatta...

<iframe src ="frontpage.html" width="100%" height="100%" allowtransparency="true" frameborder="0" id="estate"></iframe>



then in frontpage.html(the framed page)
I have
code:
<a href="javascript:" onclick="window.getElementById('estate').src='bio.html'">Bio</a>


where I have window(underlined) I tried document but I know that's not quite right trying to change the content interfame like that so how do I do it?

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














07-26-2007 09:25 AM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: javascript refer to outside a frame
why not just... href="bio.html"?
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
07-26-2007 09:27 AM
Profile PM Web Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: javascript refer to outside a frame
because i don't want the whole web page to reload when i only need some text in a frame

This post was edited on 07-26-2007 at 09:31 AM by Jarrod.

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














07-26-2007 09:30 AM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: javascript refer to outside a frame
quote:
Originally posted by xen0h
cecause i don't want the whole web page to reload when i only need some text in a frame

because obviously, links inside of an iframe apply to the external page, thats not a security risk at all 8-)

This post was edited on 07-26-2007 at 09:31 AM by ShawnZ.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
07-26-2007 09:30 AM
Profile PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: javascript refer to outside a frame
stop copying and pasting code and then pasting it again onto the forums to get help :(
[Image: dt2.0v2.png]      Happy Birthday, WDZ
07-26-2007 09:31 AM
Profile PM Web Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: RE: javascript refer to outside a frame
quote:
Originally posted by -dt-
stop copying and pasting code and then pasting it again onto the forums to get help :(

sorry -dt- i'm just doing a webdesign project and i haven't done much javascript, sorry

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














07-26-2007 09:55 AM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: javascript refer to outside a frame
quote:
Originally posted by xen0h
sorry -dt- i'm just doing a webdesign project and i haven't done much javascript, sorry

but you didn't even need javascript to do it, just basic html :rofl:
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
07-26-2007 08:18 PM
Profile PM Web Find Quote Report
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
RE: javascript refer to outside a frame
And (I)frames suck.

This post was edited on 07-26-2007 at 08:33 PM by Nathan.
Touch Innovation - touch friendly programs/applications for the windows mobile!


07-26-2007 08:27 PM
Profile E-Mail PM Web Find Quote Report
Supersonicdarky
Veteran Member
*****

Avatar

Posts: 2317
Reputation: 48
– / – / Flag
Joined: Feb 2005
Status: Away
RE: javascript refer to outside a frame
quote:
Originally posted by Napbree
And (I)frames suck.

This post was edited on 07-26-2007 at 08:30 PM by Supersonicdarky.
07-26-2007 08:30 PM
Profile E-Mail PM Find Quote Report
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
RE: javascript refer to outside a frame
Why are you quoting me?

* Nathan runs
Touch Innovation - touch friendly programs/applications for the windows mobile!


07-26-2007 08:34 PM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On