HighDots Forums  

Re: Need debugger to help me

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: Need debugger to help me in the Javascript forum.



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

Default Re: Need debugger to help me - 04-01-2005 , 03:18 PM






<heather.memmel (AT) gmail (DOT) com> wrote
Quote:
... the topic of reloading two frames from a link in a image
map. Here is the code it doesn't work, Please Help!

function update1() {
Top.Video.location="oakwood_wmhs.htm";
Top.Selector.location="selector_oakwood.htm"; }
The topmost window should be referenced as "top" with a lowercase "t".
Also, in your HTML frameset, the name of the frame is "Select", not
"Selector" (I'd use a less confusing name btw). In short, changing the
function as follows should do the trick:

function update1() {
top.frames.Video.location="oakwood_wmhs.htm";
top.frames.Select.location="selector_oakwood.htm"; }

hth
--
Ivo







Reply With Quote
  #2  
Old   
Randy Webb
 
Posts: n/a

Default Re: Need debugger to help me - 04-01-2005 , 06:54 PM






RobB wrote:

Quote:
heather.memmel (AT) gmail (DOT) com wrote:

<--snip-->

Quote:
script language="javascript"
<--snip-->

Quote:
Replace the double 'slanted' quotes here:

script language="javascript"

....with HTML-standard 'curly' doubles. Helps get those functions
declared.
No, stop using the language attribute and use the type attribute instead:

<script type="text/javascript">


--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly


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 - 2008, Jelsoft Enterprises Ltd.