HighDots Forums  

Javascript help

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Javascript help in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Victor Corey
 
Posts: n/a

Default Javascript help - 11-26-2003 , 10:37 AM






Hello all,

I have a window that is a frameset top frame is 'header' bottom frame is
'main'. When this page loads I resize it and open a second window. I am
trying to have a link in the popup window target the 'main' frame of the
frameset that opened the popup.

Any ideas?

TIA,
vc



Reply With Quote
  #2  
Old   
mick_white
 
Posts: n/a

Default Re: Javascript help - 11-26-2003 , 11:03 AM






<a href="javascriptpener.top.main.location='new.htm l'">Link</a>
I think...
Mick

Victor Corey wrote:

Quote:
Hello all,

I have a window that is a frameset top frame is 'header' bottom frame is
'main'. When this page loads I resize it and open a second window. I am
trying to have a link in the popup window target the 'main' frame of the
frameset that opened the popup.

Any ideas?

TIA,
vc






Reply With Quote
  #3  
Old   
mzanime.com webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Javascript help - 11-26-2003 , 03:57 PM



You don't have to do this with javascript. As long as your frames are named, then you can simply use the TARGET attribute.

<a href="example.html" target="main">

MiKE.
Looking for freelance work | mike[at]mzanime.com
$i = &quot;fun&quot;; while($i &gt; $possibilities) { $code; $code++; }

Reply With Quote
  #4  
Old   
mick_white
 
Posts: n/a

Default Re: Javascript help - 11-26-2003 , 04:17 PM



Will that work from the Popup?
Mick

"mzanime.com" webforumsuser (AT) macromedia (DOT) com wrote:

Quote:
You don't have to do this with javascript. As long as your frames are named, then you can simply use the TARGET attribute.

a href="example.html" target="main"> MiKE.
Looking for freelance work | mike[at]mzanime.com
$i = &quot;fun&quot;; while($i > $possibilities) { $code; $code++; }




Reply With Quote
  #5  
Old   
Marc
 
Posts: n/a

Default Re: Javascript help - 11-26-2003 , 07:02 PM



Quote:
Will that work from the Popup?
No

"mick_white" <mick (AT) gerrytimlin (DOT) com> wrote

Quote:
Will that work from the Popup?
Mick

"mzanime.com" webforumsuser (AT) macromedia (DOT) com wrote:

You don't have to do this with javascript. As long as your frames are
named, then you can simply use the TARGET attribute.

a href="example.html" target="main"> MiKE.
Looking for freelance work | mike[at]mzanime.com
$i = &quot;fun&quot;; while($i > $possibilities) { $code; $code++; }






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.