Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] ASP Framesets and custom attributes.
- From: javascript@xxxxxxxxxx (Senior, Henry (TWIi London))
- Subject: [Javascript] ASP Framesets and custom attributes.
- Date: Fri, 21 Jun 2002 18:24:14 +0100
Regarding the properties in NS4, I dont't think this can be done in NS4 or NS6 and only in IE if expando is set to true. One way of achieving this end might be to create a javascript object one of whose properties would be a reference to the layer object and the rest of the properties would be the custom properties you wish to set. ie.(this eg is for NS4 you will have to find a x-browser method of referencing the layers) var myObj = new Object(); myObj.layer=document.layers['mylayer']; myObj.property1="property1" myObj.property2="property2" myObj.property3="property3" you can then do your scripting using these objects rather than the layer and trying to find properties set in HTML. ____________________________________________________________________________ ______________ ____________________________________________________________________________ ______________ Regarding the ASP frameset, one way to do this might be to pass the querystring values from the frameset to the individual pages in ASP: <frameset> <frame src="mydocument.asp?<%=request.querystring%> <frame src="myotherdocument.asp?<%=request.querystring%> </frameset> -----Original Message----- From: javascript-request@xxxxxxxxxx [mailto:javascript-request@xxxxxxxxxx] Sent: 21 June 2002 18:01 To: javascript@xxxxxxxxxx Subject: Javascript digest, Vol 1 #680 - 8 msgs Send Javascript mailing list submissions to javascript@xxxxxxxxxx To subscribe or unsubscribe via the World Wide Web, visit https://lists.LaTech.edu/mailman/listinfo/javascript or, via email, send a message with subject or body 'help' to javascript-request@xxxxxxxxxx You can reach the person managing the list at javascript-admin@xxxxxxxxxx When replying, please edit your Subject line so it is more specific than "Re: Contents of Javascript digest..." Today's Topics: 1. RE: Permission denied with Mozilla browser (Netscape) (TomMallard) 2. RE: How do I retrieve values from custom attributes on a DIV? (TomMallard) 3. RE: querystring? (TomMallard) 4. RE: How do I retrieve values from custom attributes on a DIV? (TomMallard) 5. RE: How do I retrieve values from custom attributes on a DIV? (Walter Torres) 6. RE: How do I retrieve values from custom attributes on a DIV? (Peter-Paul Koch) 7. Frame refresh (phumes1) 8. RE: How do I retrieve values from custom attributes on a DIV? (TomMallard) --__--__-- Message: 1 From: "TomMallard" <mallard@xxxxxxxx> To: <javascript@xxxxxxxxxx> Subject: RE: [Javascript] Permission denied with Mozilla browser (Netscape) Date: Fri, 21 Jun 2002 07:11:19 -0700 Reply-To: javascript@xxxxxxxxxx This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C218F2.D81C97E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Permission denied with Mozilla browser (Netscape)You may have to give script permissions for IUSR_TEMPLATE for win2k to the folder (right-click, web sharing). If you have win98, use IUSR_machineName. tom mallard seattle -----Original Message----- From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On Behalf Of Yann.DeChamplain@xxxxxxxxxx Sent: Friday, June 21, 2002 5:18 AM To: JS-Jive@xxxxxxxxxxxxxxx; javascript@xxxxxxxxxx Subject: [Javascript] Permission denied with Mozilla browser (Netscape) Hello, I'm sorry if this is a bit off topic. I wanna install netscape to get a decent Javascript Debugger. I do so but now everytime I acces anypage in my server I get permission denied. Everything is working with IE. Sound very strange. Hope some of you guys already got that problem. I really need a working javascript debugger! Thanx. Bye! Yann de Champlain Consultant Web Senior Molson Canada Tél (514) 521-1786 Ext: 5041 Fax (514) 598-6923 Internet Yann.deChamplain@xxxxxxxxxx ------=_NextPart_000_001A_01C218F2.D81C97E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Permission denied with Mozilla browser = (Netscape)</TITLE> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D960210714-21062002><FONT face=3DArial color=3D#0000ff = size=3D2>You=20 may have to give script permissions for IUSR_TEMPLATE for = win2k to the=20 folder (right-click, web sharing). If you have win98, use=20 IUSR_machineName.</FONT></SPAN></DIV> <DIV><SPAN class=3D960210714-21062002><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D960210714-21062002><FONT face=3DArial color=3D#0000ff = size=3D2>tom=20 mallard</FONT></SPAN></DIV> <DIV><SPAN class=3D960210714-21062002><FONT face=3DArial color=3D#0000ff = size=3D2>seattle</FONT></SPAN></DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT = face=3DTahoma=20 size=3D2>-----Original Message-----<BR><B>From:</B> = javascript-admin@xxxxxxxxxx=20 [mailto:javascript-admin@xxxxxxxxxx]<B>On Behalf Of=20 </B>Yann.DeChamplain@xxxxxxxxxx<BR><B>Sent:</B> Friday, June 21, 2002 = 5:18=20 AM<BR><B>To:</B> JS-Jive@xxxxxxxxxxxxxxx;=20 javascript@xxxxxxxxxx<BR><B>Subject:</B> [Javascript] Permission = denied with=20 Mozilla browser (Netscape)<BR><BR></FONT></DIV><BR> <P><FONT face=3DArial size=3D2>Hello,</FONT>=20 <BR> <FONT face=3DArial = size=3D2>I'm=20 sorry if this is a bit off topic.</FONT> </P> <P><FONT face=3DArial size=3D2>I wanna install netscape to get a = decent Javascript=20 Debugger.</FONT> </P> <P><FONT face=3DArial size=3D2>I do so but now everytime I acces = anypage in my=20 server I get permission denied.</FONT> </P> <P><FONT face=3DArial size=3D2>Everything is working with IE.</FONT> = </P> <P><FONT face=3DArial size=3D2>Sound very strange.</FONT> </P> <P><FONT face=3DArial size=3D2>Hope some of you guys already got that=20 problem. I really need a working javascript debugger!</FONT> = </P> <P><FONT face=3DArial size=3D2>Thanx.</FONT> </P> <P><FONT face=3DArial>Bye!</FONT> </P> <P><B><FONT face=3DArial>Yann de Champlain</FONT></B> <BR><FONT = face=3DArial=20 size=3D2> Consultant Web Senior</FONT> <BR><FONT = face=3DArial=20 size=3D2> Molson Canada</FONT> <BR><FONT face=3DArial=20 size=3D2> </FONT> <BR><FONT face=3DArial=20 size=3D2>T=E9l (514) = 521-1786 Ext:=20 5041</FONT> <BR><FONT face=3DArial=20 size=3D2>Fax (514) = 598-6923</FONT>=20 <BR><FONT face=3DArial size=3D2>Internet <U> </U></FONT><A=20 href=3D"mailto:Yann.deChamplain@xxxxxxxxxx"><U><FONT face=3DArial = color=3D#0000ff=20 size=3D2>Yann.deChamplain@xxxxxxxxxx</FONT></U><U></U></A><U></U> = <BR><FONT=20 face=3DArial> </FONT> </P></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_001A_01C218F2.D81C97E0-- --__--__-- Message: 2 From: "TomMallard" <mallard@xxxxxxxx> To: <javascript@xxxxxxxxxx> Subject: RE: [Javascript] How do I retrieve values from custom attributes on a DIV? Date: Fri, 21 Jun 2002 07:38:21 -0700 Reply-To: javascript@xxxxxxxxxx did you try document.all.item("areaTwo").value tom mallard seattle -----Original Message----- From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On Behalf Of Walter Torres Sent: Thursday, June 20, 2002 10:43 PM To: javascript@xxxxxxxxxx Subject: [Javascript] How do I retrieve values from custom attributes on a DIV? I have a DIV with several custom attributes on it... <div id="areaTwo" name="areaTwo" bgColor="red" sizeControl="false" minH="50" minW="50" bufRt="100" bufBt="50" onClick='displayIt()'>Area 2</div> In IE 4/5 I can retrieve these values, but I can't find a way to get them in NN4/6. Any ideas? Walter _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx https://lists.LaTech.edu/mailman/listinfo/javascript --__--__-- Message: 3 From: "TomMallard" <mallard@xxxxxxxx> To: <javascript@xxxxxxxxxx> Subject: RE: [Javascript] querystring? Date: Fri, 21 Jun 2002 07:44:18 -0700 Reply-To: javascript@xxxxxxxxxx This is a multi-part message in MIME format. ------=_NextPart_000_0026_01C218F7.72D14020 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit MessageDid you try... top.document.frameName.location.search or... top.document.frameName.document.location.search tom mallard seattle -----Original Message----- From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On Behalf Of Andrew Dunn Sent: Thursday, June 20, 2002 10:25 PM To: 'javascript@xxxxxxxxxx' Subject: [Javascript] querystring? I don't know where else to ask. Anyone know how to get the querystring using asp when there is a frame involved? ------=_NextPart_000_0026_01C218F7.72D14020 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Message</TITLE> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D470453814-21062002><FONT face=3DArial color=3D#0000ff = size=3D2>Did=20 you try...</FONT></SPAN></DIV> <DIV><SPAN class=3D470453814-21062002><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D470453814-21062002><FONT face=3DArial color=3D#0000ff = size=3D2>top.document.frameName.location.search</FONT></SPAN></DIV> <DIV><SPAN class=3D470453814-21062002><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D470453814-21062002><FONT face=3DArial color=3D#0000ff = size=3D2>or...</FONT></SPAN></DIV> <DIV><SPAN class=3D470453814-21062002><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D470453814-21062002><SPAN = class=3D470453814-21062002><FONT=20 face=3DArial color=3D#0000ff=20 size=3D2>top.document.frameName.document.location.search</FONT></SPAN></S= PAN></DIV> <DIV><SPAN class=3D470453814-21062002><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D470453814-21062002><FONT face=3DArial color=3D#0000ff = size=3D2>tom=20 mallard</FONT></SPAN></DIV> <DIV><SPAN class=3D470453814-21062002><FONT face=3DArial color=3D#0000ff = size=3D2>seattle</FONT></SPAN></DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT = face=3DTahoma=20 size=3D2>-----Original Message-----<BR><B>From:</B> = javascript-admin@xxxxxxxxxx=20 [mailto:javascript-admin@xxxxxxxxxx]<B>On Behalf Of </B>Andrew=20 Dunn<BR><B>Sent:</B> Thursday, June 20, 2002 10:25 PM<BR><B>To:</B>=20 'javascript@xxxxxxxxxx'<BR><B>Subject:</B> [Javascript]=20 querystring?<BR><BR></FONT></DIV> <DIV><FONT face=3DArial color=3D#0000ff size=3D1><SPAN = class=3D577062005-21062002>I=20 don't know where else to ask. Anyone know how to get the querystring = using asp=20 when there is a frame = involved?</SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0026_01C218F7.72D14020-- --__--__-- Message: 4 From: "TomMallard" <mallard@xxxxxxxx> To: <javascript@xxxxxxxxxx> Subject: RE: [Javascript] How do I retrieve values from custom attributes on a DIV? Date: Fri, 21 Jun 2002 07:53:58 -0700 Reply-To: javascript@xxxxxxxxxx Forgot to say that's javascript 1.2, won't work for NS4, NS6 has the 1.2 engine so it's OK to use document.all tom -----Original Message----- From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On Behalf Of TomMallard Sent: Friday, June 21, 2002 7:38 AM To: javascript@xxxxxxxxxx Subject: RE: [Javascript] How do I retrieve values from custom attributes on a DIV? did you try document.all.item("areaTwo").value tom mallard seattle -----Original Message----- From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On Behalf Of Walter Torres Sent: Thursday, June 20, 2002 10:43 PM To: javascript@xxxxxxxxxx Subject: [Javascript] How do I retrieve values from custom attributes on a DIV? I have a DIV with several custom attributes on it... <div id="areaTwo" name="areaTwo" bgColor="red" sizeControl="false" minH="50" minW="50" bufRt="100" bufBt="50" onClick='displayIt()'>Area 2</div> In IE 4/5 I can retrieve these values, but I can't find a way to get them in NN4/6. Any ideas? Walter _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx https://lists.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx https://lists.LaTech.edu/mailman/listinfo/javascript --__--__-- Message: 5 From: "Walter Torres" <walter@xxxxxxxxx> To: <javascript@xxxxxxxxxx> Subject: RE: [Javascript] How do I retrieve values from custom attributes on a DIV? Date: Fri, 21 Jun 2002 09:53:48 -0500 Reply-To: javascript@xxxxxxxxxx Thanks for the reply... But document.all does not work in IE, also, "areaTwo" is not a form object, it is a DIV, therefore it does not have a "value". My question concerns retrieving the value of a custom attribute from a DIV within NN 4. Thanks Walter > -----Original Message----- > From: javascript-admin@xxxxxxxxxx > [mailto:javascript-admin@xxxxxxxxxx]On > Behalf Of TomMallard > Sent: Friday, June 21, 2002 9:38 AM > To: javascript@xxxxxxxxxx > Subject: RE: [Javascript] How do I retrieve values from custom > attributes on a DIV? > > > did you try > > document.all.item("areaTwo").value > > tom mallard > seattle > > -----Original Message----- > From: javascript-admin@xxxxxxxxxx > [mailto:javascript-admin@xxxxxxxxxx]On > Behalf Of Walter Torres > Sent: Thursday, June 20, 2002 10:43 PM > To: javascript@xxxxxxxxxx > Subject: [Javascript] How do I retrieve values from custom > attributes on > a DIV? > > > I have a DIV with several custom attributes on it... > > <div id="areaTwo" > name="areaTwo" > bgColor="red" > sizeControl="false" > minH="50" > minW="50" > bufRt="100" > bufBt="50" > onClick='displayIt()'>Area 2</div> > > In IE 4/5 I can retrieve these values, but I can't find a way > to get them in > NN4/6. > > Any ideas? > > Walter > > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript --__--__-- Message: 6 From: "Peter-Paul Koch" <gassinaumasis@xxxxxxxxxxx> To: javascript@xxxxxxxxxx Subject: RE: [Javascript] How do I retrieve values from custom attributes on a DIV? Date: Fri, 21 Jun 2002 14:57:10 +0000 Reply-To: javascript@xxxxxxxxxx >Forgot to say that's javascript 1.2, won't work for NS4, NS6 has the 1.2 >engine so it's OK to use document.all 1) NN4 supports JavaScript 1.2 (though with some peculiarities) 2) The document.all container is not supported by any Netscape version. The DOM has nothing to do with the JavaScript version. ppk _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx --__--__-- Message: 7 From: "phumes1" <phumes1@xxxxxxxxxx> To: "Javascript @ LaTech.edu" <javascript@xxxxxxxxxx> Date: Fri, 21 Jun 2002 11:23:36 -0400 Subject: [Javascript] Frame refresh Reply-To: javascript@xxxxxxxxxx Hi, My site is plsit into 3 frames. | leftframe | middleframe | rightframe | I have a <ahref in the middleframe. When I click on that link a page gets loaded into the rightframe. I then have some JS that closes that page after 10 seconds. How can I force a "refresh" on the "middleframe" frame automatically? Below is just a stab at it but it doesn't work. Could someone help? <script> setTimeout("self.close()",10); // top.display.location.middle="../index.html"; </script> --__--__-- Message: 8 From: "TomMallard" <mallard@xxxxxxxx> To: <javascript@xxxxxxxxxx> Subject: RE: [Javascript] How do I retrieve values from custom attributes on a DIV? Date: Fri, 21 Jun 2002 08:34:57 -0700 Reply-To: javascript@xxxxxxxxxx I'd never tried item() before...anyway, your hang up is NS4, have you tried this idea? document.style.idName.property I don't have a DOM chart for netscape here, have you checked their website? http://developer.netscape.com/find/ tom -----Original Message----- From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On Behalf Of Walter Torres Sent: Friday, June 21, 2002 7:54 AM To: javascript@xxxxxxxxxx Subject: RE: [Javascript] How do I retrieve values from custom attributes on a DIV? Thanks for the reply... But document.all does not work in IE, also, "areaTwo" is not a form object, it is a DIV, therefore it does not have a "value". My question concerns retrieving the value of a custom attribute from a DIV within NN 4. Thanks Walter > -----Original Message----- > From: javascript-admin@xxxxxxxxxx > [mailto:javascript-admin@xxxxxxxxxx]On > Behalf Of TomMallard > Sent: Friday, June 21, 2002 9:38 AM > To: javascript@xxxxxxxxxx > Subject: RE: [Javascript] How do I retrieve values from custom > attributes on a DIV? > > > did you try > > document.all.item("areaTwo").value > > tom mallard > seattle > > -----Original Message----- > From: javascript-admin@xxxxxxxxxx > [mailto:javascript-admin@xxxxxxxxxx]On > Behalf Of Walter Torres > Sent: Thursday, June 20, 2002 10:43 PM > To: javascript@xxxxxxxxxx > Subject: [Javascript] How do I retrieve values from custom > attributes on > a DIV? > > > I have a DIV with several custom attributes on it... > > <div id="areaTwo" > name="areaTwo" > bgColor="red" > sizeControl="false" > minH="50" > minW="50" > bufRt="100" > bufBt="50" > onClick='displayIt()'>Area 2</div> > > In IE 4/5 I can retrieve these values, but I can't find a way > to get them in > NN4/6. > > Any ideas? > > Walter > > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx https://lists.LaTech.edu/mailman/listinfo/javascript --__--__-- _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx https://lists.LaTech.edu/mailman/listinfo/javascript End of Javascript Digest DISCLAIMER - The preceding e-mail message (including any attachments) contains information that may be confidential, may be protected by the attorney-client or other applicable privileges, or may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above. If you are not an intended recipient of this message, or have otherwise received it in error, please notify the sender by replying to this message and then delete all copies of it from your computer system. Any use, dissemination, distribution, or reproduction of this message by unintended recipients is not authorized and may be unlawful. The contents of this communication do not necessarily represent the views of this company.
- Prev by Date: [Javascript] Frame refresh
- Next by Date: [Javascript] SELECT size in IE
- Previous by thread: [Javascript] Frame refresh
- Next by thread: [Javascript] SELECT size in IE
- Index(es):