<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Javascript] Netscape 4.x DIV problems.</TITLE>
<META content="MSHTML 5.50.4616.200" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=254385319-06072001>Ok I
fixed the divs by putting the style stuff inside the DIV tages themselves.
Now when I try to change source of an image inside one of those DIV's like
this:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=254385319-06072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=254385319-06072001>document.layers[divName].document.images[imageName].src</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=254385319-06072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=254385319-06072001>I get
a 'no properties' error.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=254385319-06072001></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Nick Messick
<BR><B>Sent:</B> Friday, July 06, 2001 11:50 AM<BR><B>To:</B>
'javascript@LaTech.edu'<BR><B>Subject:</B> RE: [Javascript] Netscape 4.x DIV
problems.<BR><BR></FONT></DIV>
<P><FONT size=2>Now I'm getting an error saying Rollover1 is not
defined. It seems like Netscape thinks my Div doesn't exist. i
used to have all my Div's be Layer's but then Netscape thought the images
inside the Layers didn't exist.</FONT></P>
<P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: Peter
Brunone [<A
href="mailto:peter@brunone.com">mailto:peter@brunone.com</A>]</FONT> <BR><FONT
size=2>Sent: Friday, July 06, 2001 11:46 AM</FONT> <BR><FONT size=2>To:
javascript@LaTech.edu</FONT> <BR><FONT size=2>Subject: Re: [Javascript]
Netscape 4.x DIV problems.</FONT> </P><BR><BR>
<P><FONT size=2> Right... try saying Rollover1 *without* the
document reference.</FONT> </P>
<P><FONT size=2>----- Original Message -----</FONT> <BR><FONT size=2>From:
"Nick Messick" <nick.messick@centric.com></FONT> <BR><FONT size=2>To:
<javascript@LaTech.edu></FONT> <BR><FONT size=2>Sent: Friday, July 06,
2001 1:20 PM</FONT> <BR><FONT size=2>Subject: RE: [Javascript] Netscape 4.x
DIV problems.</FONT> </P><BR>
<P><FONT size=2>| I tried this:</FONT> <BR><FONT size=2>|</FONT> <BR><FONT
size=2>| function setLayers() {</FONT> <BR><FONT size=2>|</FONT> <BR><FONT
size=2>|</FONT> <BR><FONT size=2>| document.Rollover1.x = 0;</FONT> <BR><FONT
size=2>| document.Rollover1.y = 69;</FONT> <BR><FONT size=2>|
document.Rollover1.zIndex = 100;</FONT> <BR><FONT size=2>|
document.Rollover1.visibility = 'show';</FONT> <BR><FONT size=2>|
document.Dropdown1.x = 19;</FONT> <BR><FONT size=2>| document.Dropdown1.y =
85;</FONT> <BR><FONT size=2>| document.Dropdown1.zIndex = 95;</FONT> <BR><FONT
size=2>| document.Dropdown1.visibility = 'hidden';</FONT> <BR><FONT
size=2>|</FONT> <BR><FONT size=2>| }</FONT> <BR><FONT size=2>|</FONT>
<BR><FONT size=2>|</FONT> <BR><FONT size=2>| I still getting an error saying
document.Rollover has no properties. The</FONT> <BR><FONT size=2>| page
is at 208.186.122.172 if you would look at it.</FONT> <BR><FONT
size=2>|</FONT> <BR><FONT size=2>| -----Original Message-----</FONT> <BR><FONT
size=2>| From: Peter Brunone [<A
href="mailto:peter@brunone.com">mailto:peter@brunone.com</A>]</FONT> <BR><FONT
size=2>| Sent: Friday, July 06, 2001 11:21 AM</FONT> <BR><FONT size=2>| To:
javascript@LaTech.edu</FONT> <BR><FONT size=2>| Subject: Re: [Javascript]
Netscape 4.x DIV problems.</FONT> <BR><FONT size=2>|</FONT> <BR><FONT
size=2>|</FONT> <BR><FONT size=2>| Nick,</FONT> <BR><FONT size=2>|</FONT>
<BR><FONT size=2>| You can just refer to it as
Rollover1.</FONT> <BR><FONT size=2>|</FONT> <BR><FONT size=2>| Cheers,</FONT>
<BR><FONT size=2>|</FONT> <BR><FONT size=2>| Peter</FONT> <BR><FONT
size=2>|</FONT> <BR><FONT size=2>| ----- Original Message -----</FONT>
<BR><FONT size=2>| From: "Nick Messick"
<nick.messick@centric.com></FONT> <BR><FONT size=2>| To:
<javascript@LaTech.edu></FONT> <BR><FONT size=2>| Sent: Friday, July 06,
2001 12:53 PM</FONT> <BR><FONT size=2>| Subject: [Javascript] Netscape 4.x DIV
problems.</FONT> <BR><FONT size=2>|</FONT> <BR><FONT size=2>|</FONT> <BR><FONT
size=2>| | Ok I have a div. Here's how I set it up: <div
name="Rollover1"</FONT> <BR><FONT size=2>| | id="Rollover1"></FONT>
<BR><FONT size=2>| |</FONT> <BR><FONT size=2>| | how do I refer to this div in
netscape? I've tried document.Rollover1</FONT> <BR><FONT
size=2>but</FONT> <BR><FONT size=2>| | netscape tells me:
document.Rollover1 has no properties.</FONT> <BR><FONT size=2>| |</FONT>
<BR><FONT size=2>| | I was using layers before but I heard netscape would use
divs it just</FONT> <BR><FONT size=2>| turned</FONT> <BR><FONT size=2>| | them
into layers. Here's the code I use for the layers:</FONT> <BR><FONT
size=2>| |</FONT> <BR><FONT size=2>| | function setLayers() {</FONT> <BR><FONT
size=2>| |</FONT> <BR><FONT size=2>| | document.Rollover1.x = 0;</FONT>
<BR><FONT size=2>| | document.layers['Rollover1'].y = 69;</FONT> <BR><FONT
size=2>| | document.layers['Rollover1'].zIndex = 100;</FONT> <BR><FONT
size=2>| | document.layers['Rollover1'].visibility = 'show';</FONT> <BR><FONT
size=2>| | document.Dropdown1.x = 19;</FONT> <BR><FONT size=2>| |
document.layers['Dropdown1'].y = 85;</FONT> <BR><FONT size=2>| |
document.layers['Dropdown1'].zIndex = 95;</FONT> <BR><FONT size=2>| |
document.layers['Dropdown1'].visibility = 'hidden';</FONT> <BR><FONT size=2>|
| }</FONT> </P><BR>
<P><FONT size=2>_______________________________________________</FONT>
<BR><FONT size=2>Javascript mailing list</FONT> <BR><FONT
size=2>Javascript@LaTech.edu</FONT> <BR><FONT size=2><A target=_blank
href="http://www.LaTech.edu/mailman/listinfo/javascript">http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT>
</P></BLOCKQUOTE></BODY></HTML>