From wigdawei at yahoo.com Thu Mar 15 12:43:09 2001 From: wigdawei at yahoo.com (David Wiggins) Date: Thu, 15 Mar 2001 10:43:09 -0800 (PST) Subject: [Javascript] server side problems? In-Reply-To: <20010315180122.197B23386F@scorpion.LaTech.edu> Message-ID: <20010315184309.94768.qmail@web10402.mail.yahoo.com> My host just changed servers and sebsequently any client access to the site with a PC and with IE5+ has resulted in CSInit and/or runtime errors. The site was functioning normal before. Also, the site checks out fine local to my machine and passes through my editor with out a fuss. Any ideas? http://www.aaanet.org/eas/index.html Thanks for your assistance in these matters. -David Wiggins __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ From filipiab at atsc.army.mil Thu Mar 15 13:13:42 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Thu, 15 Mar 2001 14:13:42 -0500 Subject: [Javascript] server side problems? Message-ID: I get Runtime errors trying to access the page with IE 5.00.2920.0000 but I say no to debug. Looking at your source, you have: Do you think maybe the server does not have a file:///Macintosh%20HD/Adobe%20GoLive%204.0.1/Modules/JScripts/GlobalScripts / directory and therefore doesn't load "CSScriptLib.js" -----Original Message----- From: David Wiggins [mailto:wigdawei at yahoo.com] Sent: Thursday, March 15, 2001 1:43 PM To: javascript at LaTech.edu Subject: [Javascript] server side problems? My host just changed servers and sebsequently any client access to the site with a PC and with IE5+ has resulted in CSInit and/or runtime errors. The site was functioning normal before. Also, the site checks out fine local to my machine and passes through my editor with out a fuss. Any ideas? http://www.aaanet.org/eas/index.html Thanks for your assistance in these matters. -David Wiggins --------------------------%< Snipped %<-------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Thu Mar 15 13:20:15 2001 From: peter at brunone.com (Peter Brunone) Date: Thu, 15 Mar 2001 13:20:15 -0600 Subject: [Javascript] server side problems? References: <20010315184309.94768.qmail@web10402.mail.yahoo.com> Message-ID: <00ed01c0ad84$f73025f0$e22d200a@jcpenney.com> "changed servers" from what to what? Was the platform changed? The physical machine? Different versions? It seems highly unlikely that a change in any of the above would result in client-side JavaScript errors. Perhaps with a bit more information we can uncover something... ----- Original Message ----- From: "David Wiggins" To: Sent: Thursday, March 15, 2001 12:43 PM Subject: [Javascript] server side problems? > My host just changed servers and sebsequently any > client access to the site with a PC and with IE5+ has > resulted in CSInit and/or runtime errors. The site > was functioning normal before. Also, the site checks > out fine local to my machine and passes through my > editor with out a fuss. > > Any ideas? > > http://www.aaanet.org/eas/index.html > > Thanks for your assistance in these matters. > > -David Wiggins > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices. > http://auctions.yahoo.com/ > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From merchant at LATECH.EDU Thu Mar 15 13:34:28 2001 From: merchant at LATECH.EDU (David Merchant) Date: Thu, 15 Mar 2001 13:34:28 -0600 Subject: [Javascript] ADMIN: ALL Read!!! List Converted to Mailman List Software Message-ID: <4.3.2.7.2.20010315131705.00c8dba0@vm.cc.latech.edu> Sorry about the major "hiccup" in the list the last few days. Several things were happening: the server the list was on went down, a new server was installed and lists moved to it, and now, we've been converted over from the old outdated listproc to the newer Mailman list software. The list address stays the same: post messages to javascript at latech.edu The webpage for list members to manage their settings for the list is at: . You'll need a password to get to your settings, it's generated by the Mailman software and you can change it to what you'd like. You'll get a monthly reminder that 1) reminds you what your password is and 2) acts as a subscription probe to see what email addresses are no longer valid (people who stop their service but don't unsubscribe from the list for instance). Right now I need to see if I can have the passwords broadcast now to y'all since you all don't know what Mailman has choosen for you, so please be patient. Until then, if you have an immediate need to change your membership options, please send me an email off-list (merchant at latech.edu) and I will do it for you. I will be updating the HTML for that page and linking it to the JavaScript List Resources page (and translated pages) as time permits. Everyone's setting is set at "plain" by default, this should help with viral problems. Each list member can change the setting as they individually choose (and at their own risk!). I will be creating a footer that will have the list URL and subscribe and unsubscribe info that will be amended to the bottom of each email sent to the list. The list will now have a [Javascript] preface in the subject line. All subscribe and unsubscribe commands will return a "confirmation needed" email, this will help lessen the "I didn't subscribe to this list!" kind of messages. All subscribe and unsubscibe commands sent to the list should be intercepted by Mailman and sent to me instead. Please be patient while we go through this change. I think this change to Mailman will make life easier for all concerned. TTFN, David Merchant Head, Systems Dept, Louisiana Tech University merchant at latech.edu JavaScript List Administrator (www.mountaindragon.com/javascript/) Webmaster, HTML Encyclopedia (www.mountaindragon.com/html/) Memorial Day Page: (www.usmemorialday.org/) From david_ciko at merck.com Thu Mar 15 13:47:28 2001 From: david_ciko at merck.com (Ciko, David) Date: Thu, 15 Mar 2001 14:47:28 -0500 Subject: [Javascript] Script to open URL in frame Message-ID: <4B81D455596CD411A6FF00508B95A5A2015F6DA5@uswsmx15.merck.com> I'm looking for a script that will allow me to just pass in a URL and have the page open up in a frame with a set header. I can do this by setting up a seperate file that sets the frames, but I like to have one script that I can pass the various URL's to. Currently, most of the intranet site links open in seperate browser windows, but I'd like to tighten-up our navigation with a navigation frame on top of all the links. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From alan.easton at unn.ac.uk Fri Mar 16 09:26:56 2001 From: alan.easton at unn.ac.uk (Alan Easton) Date: Fri, 16 Mar 2001 15:26:56 -0000 Subject: [javascript] Appearance of Form Elements Message-ID: Hi All, I was wondering if anyone knew of a way to change the appearance of form elements. I would like to try and change the normal textarea or input box in a form. You know how they look, embedded into the page, I was wondering if there was any method of changing their look on a page. Hope this is clear, and thanks for any guidance. Alan Easton... mailto:alan.easton at unn.ac.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 2205 bytes Desc: not available URL: From ben at babelfish.co.uk Fri Mar 16 09:38:28 2001 From: ben at babelfish.co.uk (Ben) Date: Fri, 16 Mar 2001 15:38:28 -0000 Subject: [javascript] Appearance of Form Elements References: Message-ID: <001c01c0ae2f$2636dec0$32040a0a@idesk.plc> Use CSS. Here: .clsFormField { font-family:Tahoma; font-size:8pt; color:#000000; border:#CCCCCC solid thin; padding-top:3px; padding-left:3px; padding-right:3px; padding-bottom:3px; height:24px; } example: hth, .b ----- Original Message ----- From: "Alan Easton" To: "'Java-List'" Sent: Friday, March 16, 2001 3:26 PM Subject: [javascript] Appearance of Form Elements > Hi All, > > I was wondering if anyone knew of a way to change the appearance of form > elements. I would like to try and change the normal textarea or input box in > a form. You know how they look, embedded into the page, I was wondering if > there was any method of changing their look on a page. > > Hope this is clear, and thanks for any guidance. > > Alan Easton... > mailto:alan.easton at unn.ac.uk > > From chriz at basken.com Fri Mar 16 09:45:55 2001 From: chriz at basken.com (Chris Basken) Date: Fri, 16 Mar 2001 10:45:55 -0500 Subject: [javascript] Appearance of Form Elements In-Reply-To: Message-ID: you might want to try CSS. doesn't work with all browsers (notably, NS), but when it does, you have a lot of control. some ref: http://www.faqts.com/knowledge-base/index.phtml/fid/128 http://www.w3schools.com/dhtml/default.asp http://hotwired.lycos.com/webmonkey/authoring/stylesheets/ and... http://developer.netscape.com/tech/css/ > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu] On Behalf Of Alan Easton > Sent: Friday, March 16, 2001 10:27 AM > To: 'Java-List' > Subject: [javascript] Appearance of Form Elements > > Hi All, > > I was wondering if anyone knew of a way to change the appearance of form elements. I would like to try and change the normal textarea or input box in a form. You know how they look, embedded into the page, I was wondering if there was any method of changing their look on a page. > > Hope this is clear, and thanks for any guidance. > > Alan Easton... > mailto:alan.easton at unn.ac.uk > From alan.easton at unn.ac.uk Fri Mar 16 09:50:55 2001 From: alan.easton at unn.ac.uk (Alan Easton) Date: Fri, 16 Mar 2001 15:50:55 -0000 Subject: [javascript] Appearance of Form Elements Message-ID: Thanks Ben....Do you know how well the style sheet performs in NN4.7 and Nets 6 -----Original Message----- From: Ben [mailto:ben at babelfish.co.uk] Sent: Friday, March 16, 2001 3:38 PM To: javascript Subject: Re: [javascript] Appearance of Form Elements Use CSS. Here: .clsFormField { font-family:Tahoma; font-size:8pt; color:#000000; border:#CCCCCC solid thin; padding-top:3px; padding-left:3px; padding-right:3px; padding-bottom:3px; height:24px; } example: hth, .b ----- Original Message ----- From: "Alan Easton" To: "'Java-List'" Sent: Friday, March 16, 2001 3:26 PM Subject: [javascript] Appearance of Form Elements > Hi All, > > I was wondering if anyone knew of a way to change the appearance of form > elements. I would like to try and change the normal textarea or input box in > a form. You know how they look, embedded into the page, I was wondering if > there was any method of changing their look on a page. > > Hope this is clear, and thanks for any guidance. > > Alan Easton... > mailto:alan.easton at unn.ac.uk > > _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From alan.easton at unn.ac.uk Fri Mar 16 10:12:11 2001 From: alan.easton at unn.ac.uk (Alan Easton) Date: Fri, 16 Mar 2001 16:12:11 -0000 Subject: [javascript] Appearance of Form Elements Message-ID: Thanks Chris, I'll have a look at those refs. -----Original Message----- From: Chris Basken [mailto:chriz at basken.com] Sent: Friday, March 16, 2001 3:46 PM To: javascript Subject: RE: [javascript] Appearance of Form Elements you might want to try CSS. doesn't work with all browsers (notably, NS), but when it does, you have a lot of control. some ref: http://www.faqts.com/knowledge-base/index.phtml/fid/128 http://www.w3schools.com/dhtml/default.asp http://hotwired.lycos.com/webmonkey/authoring/stylesheets/ and... http://developer.netscape.com/tech/css/ > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu] On Behalf Of Alan Easton > Sent: Friday, March 16, 2001 10:27 AM > To: 'Java-List' > Subject: [javascript] Appearance of Form Elements > > Hi All, > > I was wondering if anyone knew of a way to change the appearance of form elements. I would like to try and change the normal textarea or input box in a form. You know how they look, embedded into the page, I was wondering if there was any method of changing their look on a page. > > Hope this is clear, and thanks for any guidance. > > Alan Easton... > mailto:alan.easton at unn.ac.uk > _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From ben at babelfish.co.uk Fri Mar 16 10:14:15 2001 From: ben at babelfish.co.uk (Ben) Date: Fri, 16 Mar 2001 16:14:15 -0000 Subject: [javascript] Appearance of Form Elements References: Message-ID: <001101c0ae34$25d125d0$32040a0a@idesk.plc> Sorry Alan, I have no idea on how it performs in Netscape as it is company policy here to not install NS on the basis that it is a steaming pile of dog turd. :) I wish you all the success in making it cross-browser compatible. .b ----- Original Message ----- From: "Alan Easton" To: Sent: Friday, March 16, 2001 3:50 PM Subject: RE: [javascript] Appearance of Form Elements > Thanks Ben....Do you know how well the style sheet performs in NN4.7 and > Nets 6 > > -----Original Message----- > From: Ben [mailto:ben at babelfish.co.uk] > Sent: Friday, March 16, 2001 3:38 PM > To: javascript > Subject: Re: [javascript] Appearance of Form Elements > > > Use CSS. > > Here: > > .clsFormField > { > font-family:Tahoma; > font-size:8pt; > color:#000000; > border:#CCCCCC solid thin; > padding-top:3px; > padding-left:3px; > padding-right:3px; > padding-bottom:3px; > height:24px; > } > > example: > > size="30" maxlength="50"> > > hth, > > .b > > ----- Original Message ----- > From: "Alan Easton" > To: "'Java-List'" > Sent: Friday, March 16, 2001 3:26 PM > Subject: [javascript] Appearance of Form Elements > > > > Hi All, > > > > I was wondering if anyone knew of a way to change the appearance of form > > elements. I would like to try and change the normal textarea or input box > in > > a form. You know how they look, embedded into the page, I was wondering if > > there was any method of changing their look on a page. > > > > Hope this is clear, and thanks for any guidance. > > > > Alan Easton... > > mailto:alan.easton at unn.ac.uk > > > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From chriz at basken.com Fri Mar 16 10:41:17 2001 From: chriz at basken.com (Chris Basken) Date: Fri, 16 Mar 2001 11:41:17 -0500 Subject: [javascript] Appearance of Form Elements In-Reply-To: <001101c0ae34$25d125d0$32040a0a@idesk.plc> Message-ID: simple CSS works fine on NS4.x (stuff like: setting the font face, size, color, page background color, etc...). you can use these without much fear. positional CSS is unstable (absolute positioning of images, paragraphs, divs, spans, etc). the biggest headache is that NS considers any absolutely-positioned element as its own document object, so any references to an object inside such an element needs to be referenced (document.layers[foo].document.forms[bar], etc). this gets ugly with nested elements. form appearance CSS -- which i think is at the core of your question -- is almost totally unsupported in NS 4.x. > Sorry Alan, I have no idea on how it performs in Netscape as it is company > policy here to not install NS on the basis that it is a steaming > pile of dog > turd. :) > > I wish you all the success in making it cross-browser compatible. > > .b > > ----- Original Message ----- > From: "Alan Easton" > To: > Sent: Friday, March 16, 2001 3:50 PM > Subject: RE: [javascript] Appearance of Form Elements > > > > Thanks Ben....Do you know how well the style sheet performs in NN4.7 and > > Nets 6 > > > > -----Original Message----- > > From: Ben [mailto:ben at babelfish.co.uk] > > Sent: Friday, March 16, 2001 3:38 PM > > To: javascript > > Subject: Re: [javascript] Appearance of Form Elements > > > > > > Use CSS. > > > > Here: > > > > .clsFormField > > { > > font-family:Tahoma; > > font-size:8pt; > > color:#000000; > > border:#CCCCCC solid thin; > > padding-top:3px; > > padding-left:3px; > > padding-right:3px; > > padding-bottom:3px; > > height:24px; > > } > > > > example: > > > > id="txtUsername" > > size="30" maxlength="50"> > > > > hth, > > > > .b > > > > ----- Original Message ----- > > From: "Alan Easton" > > To: "'Java-List'" > > Sent: Friday, March 16, 2001 3:26 PM > > Subject: [javascript] Appearance of Form Elements > > > > > > > Hi All, > > > > > > I was wondering if anyone knew of a way to change the > appearance of form > > > elements. I would like to try and change the normal textarea or input > box > > in > > > a form. You know how they look, embedded into the page, I was > wondering > if > > > there was any method of changing their look on a page. > > > > > > Hope this is clear, and thanks for any guidance. > > > > > > Alan Easton... > > > mailto:alan.easton at unn.ac.uk > > > > > > > > > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From ben at babelfish.co.uk Fri Mar 16 11:08:42 2001 From: ben at babelfish.co.uk (Ben) Date: Fri, 16 Mar 2001 17:08:42 -0000 Subject: [javascript] Appearance of Form Elements References: Message-ID: <002301c0ae3b$c11adac0$32040a0a@idesk.plc> > form appearance CSS -- which i think is at the core of your question -- is > almost totally unsupported in NS 4.x. Anyone used NS6 much yet? .b From filipiab at atsc.army.mil Fri Mar 16 11:11:42 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Fri, 16 Mar 2001 12:11:42 -0500 Subject: [javascript] Appearance of Form Elements Message-ID: Take a look at CSS http://www.webreview.com/style/css1/charts/mastergrid.shtml > -----Original Message----- > From: Alan Easton [mailto:alan.easton at unn.ac.uk] > Sent: Friday, March 16, 2001 10:27 AM > To: 'Java-List' > Subject: [javascript] Appearance of Form Elements > > Hi All, > > I was wondering if anyone knew of a way to change the appearance of form > elements. I would like to try and change the normal textarea or input box > in a form. You know how they look, embedded into the page, I was wondering > if there was any method of changing their look on a page. > > Hope this is clear, and thanks for any guidance. > > Alan Easton... > mailto:alan.easton at unn.ac.uk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chriz at basken.com Fri Mar 16 12:14:23 2001 From: chriz at basken.com (Chris Basken) Date: Fri, 16 Mar 2001 13:14:23 -0500 Subject: [javascript] Appearance of Form Elements In-Reply-To: <002301c0ae3b$c11adac0$32040a0a@idesk.plc> Message-ID: i ran screaming. > > form appearance CSS -- which i think is at the core of your > question -- is > > almost totally unsupported in NS 4.x. > > Anyone used NS6 much yet? From mallard at serv.net Fri Mar 16 12:41:06 2001 From: mallard at serv.net (TomMallard) Date: Fri, 16 Mar 2001 10:41:06 -0800 Subject: [javascript] NS6, was Appearance of Form Elements References: Message-ID: <006801c0ae48$aa543ea0$0946cfcf@mallard> I just did some code which uses an xml file linked to the page, it selects the root node from it and populates a select box on the client using javascript with IE5.5... var selectRoot = xmlDoc.documentElement; var intCount = selectRoot.childNodes.length; for(i=0;i<=intCount-1;i++){; var sNodeName = selectRoot.childNodes[i].nodeName; var sElementName = selectRoot.childNodes[i].attributes[0].nodeName; var sElementValue = selectRoot.childNodes[i].attributes[0].nodeValue; var objOption = document.createElement("OPTION") objOption.value=sElementValue; objOption.text = selectRoot.childNodes[i].text; document.all.selectXML.add(objOption); } Can NS6 do that? I know it doesn't support document.all, but is there a workaround, and can it load xml? tom mallard seattle ----- Original Message ----- From: "Chris Basken" To: Sent: Friday, March 16, 2001 10:14 AM Subject: RE: [javascript] Appearance of Form Elements > i ran screaming. > > > > form appearance CSS -- which i think is at the core of your > > question -- is > > > almost totally unsupported in NS 4.x. > > > > Anyone used NS6 much yet? > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From alan.easton at unn.ac.uk Fri Mar 16 14:36:10 2001 From: alan.easton at unn.ac.uk (Alan Easton) Date: Fri, 16 Mar 2001 20:36:10 -0000 Subject: [javascript] Appearance of Form Elements Message-ID: Hi Guys, Thanks for all the help. I must agree with Chris and Ben, NS6 is a bit of a nightmare. The DOM is treated differently in some ways, and as NS6 doesn't identify any code using document.all or document.layers, you have to now take into account the NS6 version, which is document.getelementbyid. You think someone would have sat down and made it easier for developers, and kept some consistency.....but that would have been to sensible wouldn't it. Cheers, Alan... From chriz at basken.com Fri Mar 16 15:55:30 2001 From: chriz at basken.com (Chris Basken) Date: Fri, 16 Mar 2001 16:55:30 -0500 Subject: [javascript] Appearance of Form Elements In-Reply-To: Message-ID: for NS6, you can do this: document.all = document.getElementsByTagName("*"); this "enables" 'document.all' for NS, so you can reuse a lot of IE code. > > Hi Guys, > > Thanks for all the help. I must agree with Chris and Ben, NS6 is > a bit of a > nightmare. The DOM is treated differently in some ways, and as NS6 doesn't > identify any code using document.all or document.layers, you have to now > take into account the NS6 version, which is document.getelementbyid. You > think someone would have sat down and made it easier for developers, and > kept some consistency.....but that would have been to sensible > wouldn't it. > > Cheers, > Alan... > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From ben at babelfish.co.uk Sat Mar 17 06:49:49 2001 From: ben at babelfish.co.uk (Ben) Date: Sat, 17 Mar 2001 12:49:49 -0000 Subject: [javascript] Appearance of Form Elements In-Reply-To: Message-ID: I see. That good eh? hehehhe :) .b > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of Chris Basken > Sent: 16 March 2001 18:14 > To: javascript at LaTech.edu > Subject: RE: [javascript] Appearance of Form Elements > > > i ran screaming. > > > > form appearance CSS -- which i think is at the core of your > > question -- is > > > almost totally unsupported in NS 4.x. > > > > Anyone used NS6 much yet? > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From andyg at ihug.co.nz Sun Mar 18 01:38:53 2001 From: andyg at ihug.co.nz (Andrew Gibson) Date: Sun, 18 Mar 2001 19:38:53 +1200 Subject: [Javascript] Searching text In-Reply-To: Message-ID: Are there some good searching methods in Javascript... like in ASP I might use if instr(mytxt,"keyword")>0 then ' found a match end if In particular, I wanted to search thru a jscript array for a match of keywords. Andrew From ws at chello.se Sun Mar 18 03:43:57 2001 From: ws at chello.se (ws at chello.se) Date: Sun, 18 Mar 2001 10:43:57 +0100 Subject: [Javascript] Adding attachments with mailto: Message-ID: <5.0.2.1.0.20010318104124.00a021e0@pop.chello.se> I'd like to make a script that automatically attaches a file to an e-mail message when you click on it. Are the only parameters I can use with mailto: subject and body? Any hint on how I can solve this problem? Cheers, L. Johansson Contact us From ben at babelfish.co.uk Sun Mar 18 13:31:55 2001 From: ben at babelfish.co.uk (Ben) Date: Sun, 18 Mar 2001 19:31:55 -0000 Subject: [Javascript] Searching text In-Reply-To: Message-ID: Andrew, you need to look into the indexOf method of the string object. More info here: http://devedge.netscape.com/docs/manuals/js/client/jsguide/obj.htm#1008731 hth, .b > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of Andrew Gibson > Sent: 18 March 2001 07:39 > To: javascript at LaTech.edu > Subject: [Javascript] Searching text > > > Are there some good searching methods > in Javascript... > > like in ASP I might use > > if instr(mytxt,"keyword")>0 then > ' found a match > end if > > In particular, I wanted to search thru a jscript > array for a match of keywords. > > Andrew > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From mvbell at tenet.edu Sun Mar 18 13:41:05 2001 From: mvbell at tenet.edu (Mary V. Bell) Date: Sun, 18 Mar 2001 13:41:05 -0600 Subject: [Javascript] Script for a Pull Up Menu Message-ID: <3AB50F50.BB3CBBCA@tenet.edu> Greetings, I am looking for a javascript that has a pull down menu with the option choices appearing above the main menu. Maybe it is call a pull up menu. From filipiab at atsc.army.mil Mon Mar 19 06:43:11 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Mon, 19 Mar 2001 07:43:11 -0500 Subject: [Javascript] Script for a Pull Up Menu Message-ID: Take a look through www.dynamicdrive.com -----Original Message----- From: Mary V. Bell [mailto:mvbell at tenet.edu] Sent: Sunday, March 18, 2001 2:41 PM To: javascript at LaTech.edu Subject: [Javascript] Script for a Pull Up Menu Greetings, I am looking for a javascript that has a pull down menu with the option choices appearing above the main menu. Maybe it is call a pull up menu. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From filipiab at atsc.army.mil Mon Mar 19 06:49:14 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Mon, 19 Mar 2001 07:49:14 -0500 Subject: [Javascript] Adding attachments with mailto: Message-ID: What kind of file are you trying to attach? It should be up to the visitor if they want to send you an attachment. Just asked them to send you a file. Be aware that not all visitor's have their browser's configured to send email, so your mailto: will not work for everyone. You may want to consider using a email form that gets submitted to your server. Just a Thought. -----Original Message----- From: ws at chello.se [mailto:ws at chello.se] Sent: Sunday, March 18, 2001 4:44 AM To: javascript at LaTech.edu Subject: [Javascript] Adding attachments with mailto: I'd like to make a script that automatically attaches a file to an e-mail message when you click on it. Are the only parameters I can use with mailto: subject and body? Any hint on how I can solve this problem? Cheers, L. Johansson Contact us _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From rchadwe1 at tampabay.rr.com Mon Mar 19 09:10:46 2001 From: rchadwe1 at tampabay.rr.com (rchadwe1 at tampabay.rr.com) Date: Mon, 19 Mar 2001 15:10:46 -0000 Subject: [Javascript] Newbie Question - Passing Variables Message-ID: <9957hm+imdu@eGroups.com> function popUp(URL,wth,hgt) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width= + wth + , height= + hgt + ');"); I am trying to pop up a window using variables to determine window size. Trying to create a generic pop up script. I can't get it to recognize the wth and hgt variables. Can you help me? hep me hep me. Thanks Rob From filipiab at atsc.army.mil Mon Mar 19 09:20:32 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Mon, 19 Mar 2001 10:20:32 -0500 Subject: [Javascript] Newbie Question - Passing Variables Message-ID: Suggest you concatenate: function popUp(URL,wth,hgt) { day = new Date(); id = day.getTime(); var tmpStr; tmpStr = "toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=" + wth + ", height=" + hgt + """; eval("page" + id = window.open(URL, '"' + id + '"' + tmpStr)); } -----Original Message----- From: rchadwe1 at tampabay.rr.com [mailto:rchadwe1 at tampabay.rr.com] Sent: Monday, March 19, 2001 10:11 AM To: javascript at LaTech.edu Subject: [Javascript] Newbie Question - Passing Variables function popUp(URL,wth,hgt) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width= + wth + , height= + hgt + ');"); I am trying to pop up a window using variables to determine window size. Trying to create a generic pop up script. I can't get it to recognize the wth and hgt variables. Can you help me? hep me hep me. Thanks Rob _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From MChristie at avsgroup.com Mon Mar 19 09:20:54 2001 From: MChristie at avsgroup.com (Mark Christie) Date: Mon, 19 Mar 2001 09:20:54 -0600 Subject: [Javascript] Newbie Question - Passing Variables Message-ID: You're missing some quotes: eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=" + wth + ", height=" + hgt + "');"); Regards, -Mark C. -----Original Message----- From: rchadwe1 at tampabay.rr.com [mailto:rchadwe1 at tampabay.rr.com] Sent: Monday, March 19, 2001 9:11 AM To: javascript at LaTech.edu Subject: [Javascript] Newbie Question - Passing Variables function popUp(URL,wth,hgt) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width= + wth + , height= + hgt + ');"); I am trying to pop up a window using variables to determine window size. Trying to create a generic pop up script. I can't get it to recognize the wth and hgt variables. Can you help me? hep me hep me. Thanks Rob _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From ws at chello.se Tue Mar 20 03:59:47 2001 From: ws at chello.se (ws at chello.se) Date: Tue, 20 Mar 2001 10:59:47 +0100 Subject: [Javascript] RE: Adding attachments with mailto: Message-ID: <5.0.2.1.0.20010320105617.009ec040@pop.chello.se> I was thinking about making a function on an Intranet page. A file from the Intranet would automatically get attached to the e-mail message.. that was the idea. Solving it using some sort of e-mail from might just turn out to be the better alternative though. Regards, L. Johansson ________________________________________________________________________ Message: 2 Date: Mon, 19 Mar 2001 07:49:14 -0500 From: "Filipiak, Bob (Contractor)" Subject: RE: Adding attachments with mailto: What kind of file are you trying to attach? It should be up to the visitor if they want to send you an attachment. Just asked them to send you a file. Be aware that not all visitor's have their browser's configured to send email, so your mailto: will not work for everyone. You may want to consider using a email form that gets submitted to your server. Just a Thought. -----Original Message----- From: ws at chello.se [mailto:ws at chello.se] Sent: Sunday, March 18, 2001 4:44 AM To: javascript at LaTech.edu Subject: [Javascript] Adding attachments with mailto: I'd like to make a script that automatically attaches a file to an e-mail message when you click on it. Are the only parameters I can use with mailto: subject and body? Any hint on how I can solve this problem? Cheers, L. Johansson Contact us _______________________________________________ From ben at babelfish.co.uk Tue Mar 20 04:41:27 2001 From: ben at babelfish.co.uk (Ben) Date: Tue, 20 Mar 2001 10:41:27 -0000 Subject: [Javascript] RE: Adding attachments with mailto: In-Reply-To: <5.0.2.1.0.20010320105617.009ec040@pop.chello.se> Message-ID: What platform/server is your intranet on? If you can do any SSS then you should be able to attach a file and send it, providing you have access to an SMTP server. Can do it with ease in ASP, PHP should eb able to do it too. .b > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of ws at chello.se > Sent: 20 March 2001 10:00 > To: javascript at LaTech.edu > Subject: [Javascript] RE: Adding attachments with mailto: > > > I was thinking about making a function on an Intranet page. A > file from the > Intranet would > automatically get attached to the e-mail message.. that was the idea. > Solving it using some > sort of e-mail from might just turn out to be the better > alternative though. > > Regards, > L. Johansson > > ________________________________________________________________________ > Message: 2 > Date: Mon, 19 Mar 2001 07:49:14 -0500 > From: "Filipiak, Bob (Contractor)" > Subject: RE: Adding attachments with mailto: > What kind of file are you trying to attach? It should be up to the visitor > if they want to send you an attachment. Just asked them to send > you a file. > Be aware that not all visitor's have their browser's configured to send > email, so your mailto: will not work for everyone. You may want > to consider > using a email form that gets submitted to your server. Just a Thought. > -----Original Message----- > From: ws at chello.se [mailto:ws at chello.se] > Sent: Sunday, March 18, 2001 4:44 AM > To: javascript at LaTech.edu > Subject: [Javascript] Adding attachments with mailto: > > I'd like to make a script that automatically attaches a file to an e-mail > message > when you click on it. Are the only parameters I can use with mailto: > subject and body? > Any hint on how I can solve this problem? > Cheers, > L. Johansson > > onMouseOver="self.status='Contact us'; return > true"onMouseOut="self.status=' '; return true">Contact us > > _______________________________________________ > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From choon.wai.ng at intel.com Tue Mar 20 05:44:34 2001 From: choon.wai.ng at intel.com (Ng, Choon Wai) Date: Tue, 20 Mar 2001 03:44:34 -0800 Subject: [Javascript] create folder on remote server Message-ID: Hi, i tried to ASP FileSystemObject to create a folder on a remote server(non IIS) but the attempt is unsuccessful. i wonder anyone know a better way to do it? rdgs, cw From ben at babelfish.co.uk Tue Mar 20 06:12:07 2001 From: ben at babelfish.co.uk (Ben) Date: Tue, 20 Mar 2001 12:12:07 -0000 Subject: [Javascript] create folder on remote server References: Message-ID: <000f01c0b137$016c3440$32040a0a@idesk.plc> To create a physical folder on a server you will have to running a script/cgi ON that server, either by administrating the server locally or in your case bya remote request over the web. If it is not IIS what type of server is it? Apache? NES? .b ----- Original Message ----- From: "Ng, Choon Wai" To: Sent: Tuesday, March 20, 2001 11:44 AM Subject: [Javascript] create folder on remote server > Hi, > i tried to ASP FileSystemObject to create a folder on a remote server(non > IIS) but the attempt is unsuccessful. > > i wonder anyone know a better way to do it? > > > > > > rdgs, > cw > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From david_ciko at merck.com Tue Mar 20 10:13:06 2001 From: david_ciko at merck.com (Ciko, David) Date: Tue, 20 Mar 2001 11:13:06 -0500 Subject: [Javascript] Opening Intranet links with a set navigation frame Message-ID: <4B81D455596CD411A6FF00508B95A5A2015F6EFF@uswsmx15.merck.com> Let me know if this is possible... I'd like to be able to just pass in a URL and have that page open up in a frame with a set header. I do this now by setting up a separate file that sets the frames, but I like to have one script that I can pass the various URL's to. Currently, most of the intranet site links we have open in separate browser windows, but I'd like to tighten-up our navigation with a navigation frame on top of all the links. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom at lostitcrew.com Tue Mar 20 10:45:14 2001 From: tom at lostitcrew.com (Tom) Date: Tue, 20 Mar 2001 16:45:14 -0000 Subject: [Javascript] cookies References: <4B81D455596CD411A6FF00508B95A5A2015F6EFF@uswsmx15.merck.com> Message-ID: Hi, I am totally new to javascript so please excuse my ignorance. I would like to have a simple bit of javascript that puts a cookie onto the users computer when they first enter my site and to load up my index page with a flash intro in one of the frames... Then when the user re-visits the site... I'd like the javascript to check for the presence of this cookie and if it is present then to load up a welcome message in aforementioned frame. Just so that they don't have to see the intro everytime they come to the site. So a) is this possible and b) does anyone know of any good jscript and cookie sites that will help me to achieve this? Cheers tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From Esther.Strom at marchFIRST.com Tue Mar 20 10:46:13 2001 From: Esther.Strom at marchFIRST.com (Strom, Esther) Date: Tue, 20 Mar 2001 10:46:13 -0600 Subject: [Javascript] Opening Intranet links with a set navigation fra me Message-ID: <1A5B24FDD80B5B40B779E7FA412F50B5F618FE@CHI-EXCH1.whittman-hart.com> Just to clarify what you're trying to do...you want to be able to link to your content pages directly, but have them open a frameset? I know this is intranet, but a comparison is when a search engine indexes a content page, you click the link, and it magically opens within the correct frameset. This is easy enough to do - put the following code in your content files' tags: Esther -----Original Message----- From: Ciko, David [mailto:david_ciko at merck.com] Sent: Tuesday, March 20, 2001 10:13 AM To: Javascript List (E-mail) Subject: [Javascript] Opening Intranet links with a set navigation frame Let me know if this is possible... I'd like to be able to just pass in a URL and have that page open up in a frame with a set header. I do this now by setting up a separate file that sets the frames, but I like to have one script that I can pass the various URL's to. Currently, most of the intranet site links we have open in separate browser windows, but I'd like to tighten-up our navigation with a navigation frame on top of all the links. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Tue Mar 20 10:50:16 2001 From: peter at brunone.com (Peter Brunone) Date: Tue, 20 Mar 2001 10:50:16 -0600 Subject: [Javascript] Opening Intranet links with a set navigation frame References: <4B81D455596CD411A6FF00508B95A5A2015F6EFF@uswsmx15.merck.com> Message-ID: <0d3501c0b15d$d7290b00$e22d200a@jcpenney.com> David, To do this properly, you'll probably want some type of server-side logic, but it can be done from the client (just a little bit messier and not as secure). First you'll send the URL with the page name attached in the querystring, e.g. http://sitename/framepage.html?pagename=thispage.html Then in the page you can either retrieve the querystring by a nice clean server-side method, or you can parse the window.location.href and get the piece after "?pagename=" to find the page you want in the frame. From there it's just a matter of writing the necessary frameset code in the browser. There's the server-side way, depending of course on what server you're using, and then there's the client-side JavaScript method (just use document.write). Here's a little demo I whipped up to get the page name out of the URL. You have to click the link once to get the querystring value; let me know if you have any more questions. *******Sample code******** URL Variable Snatcher Click here
Top page:
Frame page:
******* End of Sample Code ******** ----- Original Message ----- From: Ciko, David To: Javascript List (E-mail) Sent: Tuesday, March 20, 2001 10:13 AM Subject: [Javascript] Opening Intranet links with a set navigation frame Let me know if this is possible... I'd like to be able to just pass in a URL and have that page open up in a frame with a set header. I do this now by setting up a separate file that sets the frames, but I like to have one script that I can pass the various URL's to. Currently, most of the intranet site links we have open in separate browser windows, but I'd like to tighten-up our navigation with a navigation frame on top of all the links. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Tue Mar 20 11:13:33 2001 From: peter at brunone.com (Peter Brunone) Date: Tue, 20 Mar 2001 11:13:33 -0600 Subject: [Javascript] cookies References: <4B81D455596CD411A6FF00508B95A5A2015F6EFF@uswsmx15.merck.com> Message-ID: <0d6401c0b161$17ddcd90$e22d200a@jcpenney.com> Tom, I searched Dynamic Drive for "cookie" and got this page: http://www.dynamicdrive.com/dynamicindex1/navigate1_dev.htm . It shows how to retrieve and set cookies in JavaScript. Cheers, Peter ----- Original Message ----- From: Tom To: javascript at LaTech.edu Sent: Tuesday, March 20, 2001 10:45 AM Subject: [Javascript] cookies Hi, I am totally new to javascript so please excuse my ignorance. I would like to have a simple bit of javascript that puts a cookie onto the users computer when they first enter my site and to load up my index page with a flash intro in one of the frames... Then when the user re-visits the site... I'd like the javascript to check for the presence of this cookie and if it is present then to load up a welcome message in aforementioned frame. Just so that they don't have to see the intro everytime they come to the site. So a) is this possible and b) does anyone know of any good jscript and cookie sites that will help me to achieve this? Cheers tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Tue Mar 20 11:17:29 2001 From: peter at brunone.com (Peter Brunone) Date: Tue, 20 Mar 2001 11:17:29 -0600 Subject: [Javascript] Opening Intranet links with a set navigation frame References: <4B81D455596CD411A6FF00508B95A5A2015F6EFF@uswsmx15.merck.com> <0d3501c0b15d$d7290b00$e22d200a@jcpenney.com> Message-ID: <0d8801c0b161$a4c71b30$e22d200a@jcpenney.com> Come to think of it, if you want to make this even more foolproof, use Esther's suggestion for when somebody calls the page all by itself; check for the presence of a frameset, and if it's not there, redirect to the frameset but with the page name in the URL as in the code below. ----- Original Message ----- From: Peter Brunone To: javascript at LaTech.edu Sent: Tuesday, March 20, 2001 10:50 AM Subject: Re: [Javascript] Opening Intranet links with a set navigation frame David, To do this properly, you'll probably want some type of server-side logic, but it can be done from the client (just a little bit messier and not as secure). First you'll send the URL with the page name attached in the querystring, e.g. http://sitename/framepage.html?pagename=thispage.html Then in the page you can either retrieve the querystring by a nice clean server-side method, or you can parse the window.location.href and get the piece after "?pagename=" to find the page you want in the frame. From there it's just a matter of writing the necessary frameset code in the browser. There's the server-side way, depending of course on what server you're using, and then there's the client-side JavaScript method (just use document.write). Here's a little demo I whipped up to get the page name out of the URL. You have to click the link once to get the querystring value; let me know if you have any more questions. *******Sample code******** URL Variable Snatcher Click here
Top page:
Frame page:
******* End of Sample Code ******** ----- Original Message ----- From: Ciko, David To: Javascript List (E-mail) Sent: Tuesday, March 20, 2001 10:13 AM Subject: [Javascript] Opening Intranet links with a set navigation frame Let me know if this is possible... I'd like to be able to just pass in a URL and have that page open up in a frame with a set header. I do this now by setting up a separate file that sets the frames, but I like to have one script that I can pass the various URL's to. Currently, most of the intranet site links we have open in separate browser windows, but I'd like to tighten-up our navigation with a navigation frame on top of all the links. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From david_ciko at merck.com Tue Mar 20 11:35:21 2001 From: david_ciko at merck.com (Ciko, David) Date: Tue, 20 Mar 2001 12:35:21 -0500 Subject: [Javascript] Opening Intranet links with a set navigation fra me Message-ID: <4B81D455596CD411A6FF00508B95A5A2015F6F04@uswsmx15.merck.com> Thanks for all the help... I think I've almost got it, but the code I'm using just isn't changing the URL. I know it's parsing the url, but where am I going wrong. The reason I can't use Esters suggestion is that the content is controlled by numerous different providers and I cannot modify the code they have for their various sites. *****sample code***** URL Variable Snatcher Click here
*****end sample code***** -----Original Message----- From: Peter Brunone [mailto:peter at brunone.com] Sent: Tuesday 20 March 2001 11:50 To: javascript at LaTech.edu Subject: Re: [Javascript] Opening Intranet links with a set navigation frame David, To do this properly, you'll probably want some type of server-side logic, but it can be done from the client (just a little bit messier and not as secure). First you'll send the URL with the page name attached in the querystring, e.g. http://sitename/framepage.html?pagename=thispage.html Then in the page you can either retrieve the querystring by a nice clean server-side method, or you can parse the window.location.href and get the piece after "?pagename=" to find the page you want in the frame. From there it's just a matter of writing the necessary frameset code in the browser. There's the server-side way, depending of course on what server you're using, and then there's the client-side JavaScript method (just use document.write). Here's a little demo I whipped up to get the page name out of the URL. You have to click the link once to get the querystring value; let me know if you have any more questions. *******Sample code******** URL Variable Snatcher Click here
Top page:
Frame page:
******* End of Sample Code ******** ----- Original Message ----- From: Ciko, David To: Javascript List (E-mail) Sent: Tuesday, March 20, 2001 10:13 AM Subject: [Javascript] Opening Intranet links with a set navigation frame Let me know if this is possible... I'd like to be able to just pass in a URL and have that page open up in a frame with a set header. I do this now by setting up a separate file that sets the frames, but I like to have one script that I can pass the various URL's to. Currently, most of the intranet site links we have open in separate browser windows, but I'd like to tighten-up our navigation with a navigation frame on top of all the links. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From CANDACE.L.TRIPP at saic.com Tue Mar 20 11:37:49 2001 From: CANDACE.L.TRIPP at saic.com (Tripp, Candace L.) Date: Tue, 20 Mar 2001 12:37:49 -0500 Subject: [Javascript] cookies Message-ID: <413467B85C0DD311BD3E00A0C9E927C704C0C5D5@456exs01.saic.com> Introduction -----Original Message----- From: Tom [mailto:tom at lostitcrew.com] Sent: Tuesday, March 20, 2001 11:45 AM To: javascript at LaTech.edu Subject: [Javascript] cookies Hi, I am totally new to javascript so please excuse my ignorance. I would like to have a simple bit of javascript that puts a cookie onto the users computer when they first enter my site and to load up my index page with a flash intro in one of the frames... Then when the user re-visits the site... I'd like the javascript to check for the presence of this cookie and if it is present then to load up a welcome message in aforementioned frame. Just so that they don't have to see the intro everytime they come to the site. So a) is this possible and b) does anyone know of any good jscript and cookie sites that will help me to achieve this? Cheers tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From filipiab at atsc.army.mil Tue Mar 20 11:52:27 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Tue, 20 Mar 2001 12:52:27 -0500 Subject: [Javascript] Opening Intranet links with a set navigation fra me Message-ID: Personally, I wouldn't attempt to show someone else's work in my frameset since it would give the appearance that the pages were mine. I don't think there are many folks out there that would give permission to show their work in your frames. A link maybe but not their page. IMHO -----Original Message----- From: Ciko, David [mailto:david_ciko at merck.com] Sent: Tuesday, March 20, 2001 12:35 PM To: javascript at LaTech.edu Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Thanks for all the help... I think I've almost got it, but the code I'm using just isn't changing the URL. I know it's parsing the url, but where am I going wrong. The reason I can't use Esters suggestion is that the content is controlled by numerous different providers and I cannot modify the code they have for their various sites. ----------%< snipped %<----------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Tue Mar 20 11:54:50 2001 From: peter at brunone.com (Peter Brunone) Date: Tue, 20 Mar 2001 11:54:50 -0600 Subject: [Javascript] Opening Intranet links with a set navigation fra me References: <4B81D455596CD411A6FF00508B95A5A2015F6F04@uswsmx15.merck.com> Message-ID: <0e6401c0b166$dbfe71c0$e22d200a@jcpenney.com> document.write('') Needs to be document.write('') (you're missing a double quote to close the SRC attribute). ----- Original Message ----- From: Ciko, David To: javascript at LaTech.edu Sent: Tuesday, March 20, 2001 11:35 AM Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Thanks for all the help... I think I've almost got it, but the code I'm using just isn't changing the URL. I know it's parsing the url, but where am I going wrong. The reason I can't use Esters suggestion is that the content is controlled by numerous different providers and I cannot modify the code they have for their various sites. *****sample code***** URL Variable Snatcher Click here
*****end sample code***** -------------- next part -------------- An HTML attachment was scrubbed... URL: From david_ciko at merck.com Tue Mar 20 11:57:17 2001 From: david_ciko at merck.com (Ciko, David) Date: Tue, 20 Mar 2001 12:57:17 -0500 Subject: [Javascript] Opening Intranet links with a set navigation fra me Message-ID: <4B81D455596CD411A6FF00508B95A5A2015F6F07@uswsmx15.merck.com> Thanks all...working like a charm. As always, you folks are the best!!!! -----Original Message----- From: Peter Brunone [mailto:peter at brunone.com] Sent: Tuesday 20 March 2001 12:55 To: javascript at LaTech.edu Subject: Re: [Javascript] Opening Intranet links with a set navigation fra me document.write('') Needs to be document.write('') (you're missing a double quote to close the SRC attribute). ----- Original Message ----- From: Ciko, David To: javascript at LaTech.edu Sent: Tuesday, March 20, 2001 11:35 AM Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Thanks for all the help... I think I've almost got it, but the code I'm using just isn't changing the URL. I know it's parsing the url, but where am I going wrong. The reason I can't use Esters suggestion is that the content is controlled by numerous different providers and I cannot modify the code they have for their various sites. *****sample code***** URL Variable Snatcher Click here
*****end sample code***** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Esther.Strom at marchFIRST.com Tue Mar 20 12:04:26 2001 From: Esther.Strom at marchFIRST.com (Strom, Esther) Date: Tue, 20 Mar 2001 12:04:26 -0600 Subject: [Javascript] Opening Intranet links with a set navigation fra me Message-ID: <1A5B24FDD80B5B40B779E7FA412F50B5F61902@CHI-EXCH1.whittman-hart.com> Keep in mind that there are paid content providers. Many corporations pay for subscriptions to these services to be able to place current info and news stories on their intranets. Policies vary by provider, but many do allow paying subscribers to deliver content within the subscriber's frameset. -----Original Message----- From: Filipiak, Bob (Contractor) [mailto:filipiab at atsc.army.mil] Sent: Tuesday, March 20, 2001 11:52 AM To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Personally, I wouldn't attempt to show someone else's work in my frameset since it would give the appearance that the pages were mine. I don't think there are many folks out there that would give permission to show their work in your frames. A link maybe but not their page. IMHO -----Original Message----- From: Ciko, David [mailto:david_ciko at merck.com] Sent: Tuesday, March 20, 2001 12:35 PM To: javascript at LaTech.edu Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Thanks for all the help... I think I've almost got it, but the code I'm using just isn't changing the URL. I know it's parsing the url, but where am I going wrong. The reason I can't use Esters suggestion is that the content is controlled by numerous different providers and I cannot modify the code they have for their various sites. ----------%< snipped %<----------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Tue Mar 20 12:14:57 2001 From: peter at brunone.com (Peter Brunone) Date: Tue, 20 Mar 2001 12:14:57 -0600 Subject: [Javascript] Opening Intranet links with a set navigation frame References: Message-ID: <0e7e01c0b169$abdf6280$e22d200a@jcpenney.com> FWIW, I'd assume the rules are slightly different for intranets... ----- Original Message ----- From: Filipiak, Bob (Contractor) To: 'javascript at LaTech.edu' Sent: Tuesday, March 20, 2001 11:52 AM Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Personally, I wouldn't attempt to show someone else's work in my frameset since it would give the appearance that the pages were mine. I don't think there are many folks out there that would give permission to show their work in your frames. A link maybe but not their page. IMHO -------------- next part -------------- An HTML attachment was scrubbed... URL: From filipiab at atsc.army.mil Tue Mar 20 12:23:34 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Tue, 20 Mar 2001 13:23:34 -0500 Subject: [Javascript] Opening Intranet links with a set navigation fra me Message-ID: Another thought. I would think that those corporations would provide the page to the service rather than have the service scrape the pages. Just a thought ;-) -----Original Message----- From: Strom, Esther [mailto:Esther.Strom at marchFIRST.com] Sent: Tuesday, March 20, 2001 1:04 PM To: 'javascript at LaTech.edu' Cc: 'filipiab at atsc.army.mil' Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Keep in mind that there are paid content providers. Many corporations pay for subscriptions to these services to be able to place current info and news stories on their intranets. Policies vary by provider, but many do allow paying subscribers to deliver content within the subscriber's frameset. ------------------------- %< Snipped %<---------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From Esther.Strom at marchFIRST.com Tue Mar 20 12:36:53 2001 From: Esther.Strom at marchFIRST.com (Strom, Esther) Date: Tue, 20 Mar 2001 12:36:53 -0600 Subject: [Javascript] Opening Intranet links with a set navigation fra me Message-ID: <1A5B24FDD80B5B40B779E7FA412F50B5F61904@CHI-EXCH1.whittman-hart.com> You'd think, but that's not the case for all of them. In order to do that, they then have to provide hosting facilities for those pages, and take responsibility for problems. -----Original Message----- From: Filipiak, Bob (Contractor) [mailto: Sent: Tuesday, March 20, 2001 12:24 PM To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Another thought. I would think that those corporations would provide the page to the service rather than have the service scrape the pages. Just a thought ;-) -----Original Message----- From: Strom, Esther [mailto:Esther.Strom at marchFIRST.com] Sent: Tuesday, March 20, 2001 1:04 PM To: 'javascript at LaTech.edu' Cc: 'filipiab at atsc.army.mil' Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Keep in mind that there are paid content providers. Many corporations pay for subscriptions to these services to be able to place current info and news stories on their intranets. Policies vary by provider, but many do allow paying subscribers to deliver content within the subscriber's frameset. ------------------------- %< Snipped %<---------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From david_ciko at merck.com Tue Mar 20 13:28:21 2001 From: david_ciko at merck.com (Ciko, David) Date: Tue, 20 Mar 2001 14:28:21 -0500 Subject: [Javascript] Opening Intranet links with a set navigation fra me Message-ID: <4B81D455596CD411A6FF00508B95A5A2015F6F0B@uswsmx15.merck.com> OK...now I've got it all set to have the frameset frame the content. Lets say I want to expand the script to have a search place the results into the frameset?? Can this form be used in any way in the action or the target property of a form?? Just wondering... PS, there are no issues here with enclosing the page contents inside a frame. -----Original Message----- From: Strom, Esther [mailto:Esther.Strom at marchFIRST.com] Sent: Tuesday 20 March 2001 13:37 To: 'javascript at LaTech.edu' Cc: 'filipiab at atsc.army.mil' Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me You'd think, but that's not the case for all of them. In order to do that, they then have to provide hosting facilities for those pages, and take responsibility for problems. -----Original Message----- From: Filipiak, Bob (Contractor) [mailto: Sent: Tuesday, March 20, 2001 12:24 PM To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Another thought. I would think that those corporations would provide the page to the service rather than have the service scrape the pages. Just a thought ;-) -----Original Message----- From: Strom, Esther [mailto:Esther.Strom at marchFIRST.com] Sent: Tuesday, March 20, 2001 1:04 PM To: 'javascript at LaTech.edu' Cc: 'filipiab at atsc.army.mil' Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me Keep in mind that there are paid content providers. Many corporations pay for subscriptions to these services to be able to place current info and news stories on their intranets. Policies vary by provider, but many do allow paying subscribers to deliver content within the subscriber's frameset. ------------------------- %< Snipped %<---------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom at lostitcrew.com Tue Mar 20 13:41:12 2001 From: tom at lostitcrew.com (Tom) Date: Tue, 20 Mar 2001 19:41:12 -0000 Subject: [Javascript] cookies References: <413467B85C0DD311BD3E00A0C9E927C704C0C5D5@456exs01.saic.com> Message-ID: Thanks a lot Candace and Peter - its all totally sorted! -------------- next part -------------- An HTML attachment was scrubbed... URL: From filipiab at atsc.army.mil Tue Mar 20 13:49:37 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Tue, 20 Mar 2001 14:49:37 -0500 Subject: [Javascript] Opening Intranet links with a set navigation fra me Message-ID: If your search runs in your "Main" frame then by default the results should appear in the "Main" frame. You can use target="Main" for your results and they will show up in that frame if the frameset is loaded. If not the results will start up another copy of the browser. -----Original Message----- From: Ciko, David [mailto:david_ciko at merck.com] Sent: Tuesday, March 20, 2001 2:28 PM To: javascript at LaTech.edu Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me OK...now I've got it all set to have the frameset frame the content. Lets say I want to expand the script to have a search place the results into the frameset?? Can this form be used in any way in the action or the target property of a form?? Just wondering... PS, there are no issues here with enclosing the page contents inside a frame. -----------------------------%< Snipped %<-------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Tue Mar 20 14:01:19 2001 From: peter at brunone.com (Peter Brunone) Date: Tue, 20 Mar 2001 14:01:19 -0600 Subject: [Javascript] Opening Intranet links with a set navigation fra me References: <4B81D455596CD411A6FF00508B95A5A2015F6F0B@uswsmx15.merck.com> Message-ID: <0fea01c0b178$87fd2500$e22d200a@jcpenney.com> That's going to be a little more complicated, especially without any server-side help. Basically, you'll have to submit the form to a page that then takes the URL parameters and passes them on to the frame. If you're using the GET method, you can make it work the same way (you just need more parameters); if you're using POST, though, client scripting isn't gonna cut it. Why not just have the search page in the frameset to begin with? Then it can submit to the same frame -- no fancy work there -- and your results will come up just where you want them. ----- Original Message ----- From: Ciko, David To: javascript at LaTech.edu Sent: Tuesday, March 20, 2001 1:28 PM Subject: RE: [Javascript] Opening Intranet links with a set navigation fra me OK...now I've got it all set to have the frameset frame the content. Lets say I want to expand the script to have a search place the results into the frameset?? Can this form be used in any way in the action or the target property of a form?? Just wondering... PS, there are no issues here with enclosing the page contents inside a frame. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MChristie at avsgroup.com Tue Mar 20 15:52:47 2001 From: MChristie at avsgroup.com (Mark Christie) Date: Tue, 20 Mar 2001 15:52:47 -0600 Subject: [Javascript] Positioning within a select box Message-ID: Greetings, list... I have a list of about 30 or so languages to choose from in a select box, from Arabic to Thai. Since the list is alphabetized, when the page pops up, Arabic is the top selection. What I want to do is position the display such that English, the 9th language in the list, is the top selection. How can I do this? Regards, -Mark C. From Esther.Strom at marchFIRST.com Tue Mar 20 15:59:32 2001 From: Esther.Strom at marchFIRST.com (Strom, Esther) Date: Tue, 20 Mar 2001 15:59:32 -0600 Subject: [Javascript] Positioning within a select box Message-ID: <1A5B24FDD80B5B40B779E7FA412F50B5F61907@CHI-EXCH1.whittman-hart.com> Mark, You can make English the one that displays by adding "SELECTED" to the option tag. If your select size is 1, English will be displayed, then when the user clicks the arrow, they'll see it in the proper order. If your size is more than 1 (multiple items seen at once) then English will be highlighted, but not necessarily at the top of the list. Is this what you were trying to do? Esther -----Original Message----- From: Mark Christie [mailto:MChristie at avsgroup.com] Sent: Tuesday, March 20, 2001 3:53 PM To: javascript at LaTech.edu Subject: [Javascript] Positioning within a select box Greetings, list... I have a list of about 30 or so languages to choose from in a select box, from Arabic to Thai. Since the list is alphabetized, when the page pops up, Arabic is the top selection. What I want to do is position the display such that English, the 9th language in the list, is the top selection. How can I do this? Regards, -Mark C. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From ben at babelfish.co.uk Tue Mar 20 16:05:43 2001 From: ben at babelfish.co.uk (Ben) Date: Tue, 20 Mar 2001 22:05:43 -0000 Subject: [Javascript] Positioning within a select box In-Reply-To: Message-ID: > Greetings, list... > > I have a list of about 30 or so languages to choose from in a select box, > from Arabic to Thai. Since the list is alphabetized, when the > page pops up, > Arabic is the top selection. What I want to do is position the > display such > that English, the 9th language in the list, is the top selection. > How can I > do this? > > Regards, > -Mark C. Mark. Did you want English at the top of the list or just to be automaticly selected when the page loads? If you want it at the top of the list then put the English ... ... ----- Original Message ----- From: "Mark Christie" To: Sent: Tuesday, March 20, 2001 3:52 PM Subject: [Javascript] Positioning within a select box > Greetings, list... > > I have a list of about 30 or so languages to choose from in a select box, > from Arabic to Thai. Since the list is alphabetized, when the page pops up, > Arabic is the top selection. What I want to do is position the display such > that English, the 9th language in the list, is the top selection. How can I > do this? > > Regards, > -Mark C. > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From MChristie at avsgroup.com Tue Mar 20 16:16:05 2001 From: MChristie at avsgroup.com (Mark Christie) Date: Tue, 20 Mar 2001 16:16:05 -0600 Subject: [Javascript] Positioning within a select box Message-ID: Close, but not quite. The select size is 6, actually...and I specifically do not want it automatically selected/highlighted. Still hacking away at it...Thanx for the quick response. Regards, -Mark C. -----Original Message----- From: Strom, Esther [mailto:Esther.Strom at marchFIRST.com] Sent: Tuesday, March 20, 2001 4:00 PM To: 'javascript at LaTech.edu' Cc: 'MChristie at avsgroup.com' Subject: RE: [Javascript] Positioning within a select box Mark, You can make English the one that displays by adding "SELECTED" to the option tag. If your select size is 1, English will be displayed, then when the user clicks the arrow, they'll see it in the proper order. If your size is more than 1 (multiple items seen at once) then English will be highlighted, but not necessarily at the top of the list. Is this what you were trying to do? Esther -----Original Message----- From: Mark Christie [mailto:MChristie at avsgroup.com] Sent: Tuesday, March 20, 2001 3:53 PM To: javascript at LaTech.edu Subject: [Javascript] Positioning within a select box Greetings, list... I have a list of about 30 or so languages to choose from in a select box, from Arabic to Thai. Since the list is alphabetized, when the page pops up, Arabic is the top selection. What I want to do is position the display such that English, the 9th language in the list, is the top selection. How can I do this? Regards, -Mark C. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From MChristie at avsgroup.com Tue Mar 20 16:43:30 2001 From: MChristie at avsgroup.com (Mark Christie) Date: Tue, 20 Mar 2001 16:43:30 -0600 Subject: [Javascript] Positioning within a select box Message-ID: Thanx, Ben...Gotta preserve the order too...The app has an international audience... So far, here is my kludge: function checkBack() { var objLangSelect = document.forms.frmLanguage.iLangSelect; var iLangCount = 0; for(i=0; i < objLangSelect.length; ++i) if(objLangSelect[i].selected) ++iLangCount; if(!iLangCount) { objLangSelect.selectedIndex = 13; //positions toward the end of list objLangSelect.selectedIndex = 8; //scrolls back and positions on English objLangSelect.selectedIndex = -1; //unselects English } } It's ugly, but it works lovely when first coming to the page and nothing is selected. But if I return to the page with previous selections, using selectedIndex wipes them out. Any ideas? Regards, -Mark C. -----Original Message----- From: Ben [mailto:ben at babelfish.co.uk] Sent: Tuesday, March 20, 2001 4:06 PM To: javascript at LaTech.edu Subject: RE: [Javascript] Positioning within a select box > Greetings, list... > > I have a list of about 30 or so languages to choose from in a select box, > from Arabic to Thai. Since the list is alphabetized, when the > page pops up, > Arabic is the top selection. What I want to do is position the > display such > that English, the 9th language in the list, is the top selection. > How can I > do this? > > Regards, > -Mark C. Mark. Did you want English at the top of the list or just to be automaticly selected when the page loads? If you want it at the top of the list then put the English I recommend pre-selecting ov er re-ordering, but this can sometimes offend non-English-based visitors to the site. Hope this helps. .b _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From ben at babelfish.co.uk Tue Mar 20 17:32:12 2001 From: ben at babelfish.co.uk (Ben) Date: Tue, 20 Mar 2001 23:32:12 -0000 Subject: [Javascript] Positioning within a select box In-Reply-To: Message-ID: Sorry, I'm lost to what you're attempting! err... you *do* want it at the top? or not? sorry if I'm being really thick. .b > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of Mark Christie > Sent: 20 March 2001 22:44 > To: 'javascript at LaTech.edu' > Subject: RE: [Javascript] Positioning within a select box > > > Thanx, Ben...Gotta preserve the order too...The app has an international > audience... > > So far, here is my kludge: > > function checkBack() { > var objLangSelect = document.forms.frmLanguage.iLangSelect; > var iLangCount = 0; > > for(i=0; i < objLangSelect.length; ++i) > if(objLangSelect[i].selected) > ++iLangCount; > > if(!iLangCount) { > objLangSelect.selectedIndex = 13; > //positions toward the end of list > objLangSelect.selectedIndex = 8; > //scrolls back and positions on English > objLangSelect.selectedIndex = -1; > //unselects English > } > } > > It's ugly, but it works lovely when first coming to the page and > nothing is > selected. But if I return to the page with previous selections, using > selectedIndex wipes them out. > > Any ideas? > > Regards, > -Mark C. > > > -----Original Message----- > From: Ben [mailto:ben at babelfish.co.uk] > Sent: Tuesday, March 20, 2001 4:06 PM > To: javascript at LaTech.edu > Subject: RE: [Javascript] Positioning within a select box > > > > Greetings, list... > > > > I have a list of about 30 or so languages to choose from in a > select box, > > from Arabic to Thai. Since the list is alphabetized, when the > > page pops up, > > Arabic is the top selection. What I want to do is position the > > display such > > that English, the 9th language in the list, is the top selection. > > How can I > > do this? > > > > Regards, > > -Mark C. > > Mark. Did you want English at the top of the list or just to be > automaticly > selected when the page loads? If you want it at the top of the list then > put the English > > I recommend pre-selecting ov er re-ordering, but this can sometimes offend > non-English-based visitors to the site. > > Hope this helps. > > .b > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From jww at nlm.nih.gov Wed Mar 21 07:25:24 2001 From: jww at nlm.nih.gov (Jim Woods) Date: Wed, 21 Mar 2001 08:25:24 -0500 Subject: [Javascript] Open Window Message-ID: <3AB8ABC4.5D2397B9@nlm.nih.gov> I'm far from an expert. I have a script that pops up a new window. It says: I want to open a second pop-up from the first. It does it okay but innerWidth and innerHeight are ignored. Any help/advice greatly appreciated. Jim -- James W. Woods, Ph.D. Office of High Performance Computing and Communications Lister Hill National Center for Biomedical Communications National Library of Medicine Bethesda, MD 20894 301 435 3282 jww at nlm.nih.gov --------------------------------------------------------- What you don't know really CAN hurt you. Information's pretty thin stuff, unless mixed with experience. From filipiab at atsc.army.mil Wed Mar 21 07:39:52 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Wed, 21 Mar 2001 08:39:52 -0500 Subject: [Javascript] Open Window Message-ID: We need a little more code to try to help you like the code for the page you load into the pop up that you want to open another pop up. -----Original Message----- From: Jim Woods [mailto:jww at nlm.nih.gov] Sent: Wednesday, March 21, 2001 8:25 AM To: javascript at latech.edu Cc: Woods, Jim Subject: [Javascript] Open Window I'm far from an expert. I have a script that pops up a new window. It says: I want to open a second pop-up from the first. It does it okay but innerWidth and innerHeight are ignored. Any help/advice greatly appreciated. Jim -- James W. Woods, Ph.D. Office of High Performance Computing and Communications Lister Hill National Center for Biomedical Communications National Library of Medicine Bethesda, MD 20894 301 435 3282 jww at nlm.nih.gov --------------------------------------------------------- What you don't know really CAN hurt you. Information's pretty thin stuff, unless mixed with experience. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From wigdawei at yahoo.com Wed Mar 21 08:04:36 2001 From: wigdawei at yahoo.com (David Wiggins) Date: Wed, 21 Mar 2001 06:04:36 -0800 (PST) Subject: [Javascript] disable window settings? Message-ID: <20010321140436.66027.qmail@web10402.mail.yahoo.com> I am using the function CSOpenWindow(action), and need to know how to disable the window's maximize button when the window is open. I am trying to prevent people from opening the window beyond its set dimensions. Is their a way to allow people to minimize and close it only? In this case I would need to allow the maximize button to work only when the window has been minimized. But, if I can only have one or the other...just disabling the maximize button for the whole time is fine too. -David Wiggins __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From peter at brunone.com Wed Mar 21 09:19:47 2001 From: peter at brunone.com (Peter Brunone) Date: Wed, 21 Mar 2001 09:19:47 -0600 Subject: [Javascript] Open Window References: <3AB8ABC4.5D2397B9@nlm.nih.gov> Message-ID: <00c301c0b21a$5db7e300$e22d200a@jcpenney.com> Last time I checked, the innerWidth and innerHeight properties only referred to an existing window. Use the words "height" and "width" when executing the window.open method. ----- Original Message ----- From: "Jim Woods" To: Cc: "Woods, Jim" Sent: Wednesday, March 21, 2001 7:25 AM Subject: [Javascript] Open Window > I'm far from an expert. I have a script that pops up a new window. It > says: > > I want to open a second pop-up from the first. It does it okay but > innerWidth and innerHeight are ignored. > Any help/advice greatly appreciated. > Jim > -- > James W. Woods, Ph.D. > Office of High Performance Computing and Communications > Lister Hill National Center for Biomedical Communications > National Library of Medicine > Bethesda, MD 20894 > 301 435 3282 > jww at nlm.nih.gov > --------------------------------------------------------- > What you don't know really CAN hurt you. > Information's pretty thin stuff, unless mixed with experience. > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From steve at VirtualMechanics.com Wed Mar 21 16:00:52 2001 From: steve at VirtualMechanics.com (Steve White) Date: Wed, 21 Mar 2001 17:00:52 -0500 Subject: [Javascript] IE & NN dom references In-Reply-To: <00c301c0b21a$5db7e300$e22d200a@jcpenney.com> Message-ID: It has been awhile since I did this so maybe someone can give me a refresher. I want store references to DIV and IMG elements in a common array so that I don't have to worry if it came from NN4.x or IE. If I have a DIV like this:
something
I store the references like this: if(isNav4) { ob[1].style = document.OObj2; ob[1].geom = document.GGeo2; } else if(isIE4) { ob[1].style = OObj2.style; ob[1].geom = GGeo2; } 1. Is this the correct method to store the style reference for NN or should it be "ob[1].style = document.OObj2.style;" or something else? 2. When I want to change the width & height for the image "ob[1].geom.width = ..." works in IE but not NN. I also tried assigning the NN reference to the image as "ob[1].geom = document.OObj2.document.GGeo2;" but it did not work either. 3. Will the method for IE work for NN6 or are other modifications needed? Thanks Yours Truly Steve White www.VirtualMechanics.com www.SVGMagic.com From malcolm at kidcastle.com Wed Mar 21 18:20:33 2001 From: malcolm at kidcastle.com (Malcolm) Date: Thu, 22 Mar 2001 08:20:33 +0800 Subject: [Javascript] Controlling layers Message-ID: <9BF53671D93BD411B67000D0B78FC4B62324DA@KC-EXCHANGE> I am trying to add layered navigation menus to my site, and with help from Dreamweaver managed to get the perfect results in IE (code included at the bottom of this message). My goal is to have a mouseover image that opens a layer. This layer then remains visible until a mouseout on either the image or layer. The trouble is with NS - although the mouseover makes the layer visible, the layer becomes invisible when there is a mouseout from the image. Can anyone give me advice on how to fix this? Many thanks in advance. Malcolm malc at taiwanho.com Untitled Document -------------- next part -------------- An HTML attachment was scrubbed... URL: From andyg at ihug.co.nz Wed Mar 21 19:06:48 2001 From: andyg at ihug.co.nz (Andrew Gibson) Date: Thu, 22 Mar 2001 13:06:48 +1200 Subject: [Javascript] Controlling layers In-Reply-To: <9BF53671D93BD411B67000D0B78FC4B62324DA@KC-EXCHANGE> Message-ID: Well, personally I think you'd be better off writing the code yourself. Wouldn't somthing like this work in ns 4.7?
Div 1 content<1div> ANdrew GIbson -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Malcolm Sent: Thursday, March 22, 2001 12:21 PM To: 'javascript at LaTech.edu' Subject: [Javascript] Controlling layers I am trying to add layered navigation menus to my site, and with help from Dreamweaver managed to get the perfect results in IE (code included at the bottom of this message). My goal is to have a mouseover image that opens a layer. This layer then remains visible until a mouseout on either the image or layer. The trouble is with NS - although the mouseover makes the layer visible, the layer becomes invisible when there is a mouseout from the image. Can anyone give me advice on how to fix this? Many thanks in advance. Malcolm malc at taiwanho.com Untitled Document From gassinaumasis at hotmail.com Thu Mar 22 05:15:22 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Thu, 22 Mar 2001 11:15:22 -0000 Subject: [Javascript] IE & NN dom references Message-ID: >I want store references to DIV and IMG elements in a common array so that I >don't have to worry if it came from NN4.x or IE. If I have a DIV like this: > >
>something >
if (document.getElementById) // NN6, IE5, Opera 5 { ob[1].style = document.getElementById('OObj2').style; ob[1].geom = document.getElementById('GGeo2'); } else if (document.all) // IE4 { ob[1].style = document.all['OObj2'].style; ob[1].geom = document.all['GGeo2']; } else if (document.layers) // NN4 { ob[1].style = document.layers['OObj2']; ob[1].geom = document.layers['OObj2'].document.images['GGeo2']; } ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From steve at VirtualMechanics.com Thu Mar 22 05:27:19 2001 From: steve at VirtualMechanics.com (Steve White) Date: Thu, 22 Mar 2001 06:27:19 -0500 Subject: [Javascript] IE & NN dom references In-Reply-To: Message-ID: Thanks, much appreciated. I will give it a shot. Yours Truly Steve White www.VirtualMechanics.com www.SVGMagic.com -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Peter-Paul Koch Sent: Thursday, March 22, 2001 6:15 AM To: javascript at LaTech.edu Subject: Re: [Javascript] IE & NN dom references >I want store references to DIV and IMG elements in a common array so that I >don't have to worry if it came from NN4.x or IE. If I have a DIV like this: > >
>something >
if (document.getElementById) // NN6, IE5, Opera 5 { ob[1].style = document.getElementById('OObj2').style; ob[1].geom = document.getElementById('GGeo2'); } else if (document.all) // IE4 { ob[1].style = document.all['OObj2'].style; ob[1].geom = document.all['GGeo2']; } else if (document.layers) // NN4 { ob[1].style = document.layers['OObj2']; ob[1].geom = document.layers['OObj2'].document.images['GGeo2']; } ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From news at jobseekernews.com Thu Mar 22 07:09:30 2001 From: news at jobseekernews.com (news at jobseekernews.com) Date: Thu, 22 Mar 2001 08:09:30 -0500 Subject: [Javascript] JobSeekerNews Free Subscription Continuation Notice Message-ID: <20010322151153.C463F33887@scorpion.LaTech.edu> Dear JobSeeker, Over the past several months JobSeekerNews.com has purchased or merged with several websites that maintained career related newsletters. The email address that you are receiving this note on was among them. As a responsible e-marketer we are advising you that you are now on the JobSeekerNews.com newsletter list, and offering you the ability to opt-out of our FREE career newsletter. JobSeekerNews is a FREE bi-monthly newsletter (with occasional special editions) focused on resources, and career articles for the jobseeker. To view our index of recent articles click here: http://www.jobseekernews.com/index.cfm?tid=archives.cfm To continue receiving our FREE newsletter DO NOTHING and you will continue to be subscribed to this newsletter. If you wish to unsubscribe you will need to OPT-OUT by following the opt-out instructions from this link: http://www.jobseekernews.com (You will need the exact email address that this note came on) Again to continue receiving the FREE JobSeekerNews.com bi-monthly newsletter, do nothing and you will stay subscribed and you can opt-out at a later date. ============================================================================== Here is a sample of some of the great sites you can get information about from JobSeekerNews.com: ResumeZapper.com - E-Mail your resume to 1000's of recruiters and headhunters for as little as $49.99 http://www.resumezapper.com/index.cfm?ticker=JSNOO FlipDog - Search more jobs than any other website in the US. http://www.jobseekernews.com/links/uflip.cfm JobSleuth - Get great jobs in your e-mail every day. We search all the job sites for you every day! http://www.jobseekernews.com/links/ujs.cfm HotResumes.com - Post your resume to multiple sites at once for Free! http://www.hotresumes.com/index.cfm?tid=signup.cfm&hot=JSNOO UsJobBoard.com - Post your resume Free and Search 1000's of Jobs for Free! http://www.usjobboard.com/index.cfm?usj=JSNOO =============================================================================== Sincerely The Staff at JobSeekerNews.com (615039) From steve at VirtualMechanics.com Thu Mar 22 07:40:55 2001 From: steve at VirtualMechanics.com (Steve White) Date: Thu, 22 Mar 2001 08:40:55 -0500 Subject: [Javascript] IE & NN dom references In-Reply-To: Message-ID: This method works in IE but I am still having some trouble with NN. Specifically I cannot seem to assign a new value to the width of the image. The format I am using is:
else if(document.layers) { ob[2].style = document.layers['OObj3']; ob[2].geom = document.layers['OObj3'].document.images['GGeo4']; } ob[2].geom.width = newWidth; I assume the problem is that "ob[2].geom.width" is not the correct way to access the width in NN. Thanks Steve White www.VirtualMechanics.com www.SVGMagic.com -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Peter-Paul Koch Sent: Thursday, March 22, 2001 6:15 AM To: javascript at LaTech.edu Subject: Re: [Javascript] IE & NN dom references >I want store references to DIV and IMG elements in a common array so that I >don't have to worry if it came from NN4.x or IE. If I have a DIV like this: > >
>something >
if (document.getElementById) // NN6, IE5, Opera 5 { ob[1].style = document.getElementById('OObj2').style; ob[1].geom = document.getElementById('GGeo2'); } else if (document.all) // IE4 { ob[1].style = document.all['OObj2'].style; ob[1].geom = document.all['GGeo2']; } else if (document.layers) // NN4 { ob[1].style = document.layers['OObj2']; ob[1].geom = document.layers['OObj2'].document.images['GGeo2']; } ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From steve at VirtualMechanics.com Thu Mar 22 08:10:43 2001 From: steve at VirtualMechanics.com (Steve White) Date: Thu, 22 Mar 2001 09:10:43 -0500 Subject: [Javascript] Event Capture In-Reply-To: Message-ID: Similar problem to my other posts. I need to capture events for different Browsers. To capture a mouse move for example, can I use this method for all 3 Browser formats? How do I capture the scroll position for NN6/IE5 ? ... Thanks steve at VirtualMechanics.com www.VirtualMechanics.com www.SVGMagic.com From CANDACE.L.TRIPP at saic.com Thu Mar 22 09:42:34 2001 From: CANDACE.L.TRIPP at saic.com (Tripp, Candace L.) Date: Thu, 22 Mar 2001 10:42:34 -0500 Subject: [Javascript] JobSeekerNews Free Subscription Continuation Notice Message-ID: <413467B85C0DD311BD3E00A0C9E927C704C0C5E3@us-fc-hctg.mail.saic.com> This is my professional e-mail. I subscribed to this list for work-related information/help. I do not expect to be spammed by a developer's list. Please take care of this. -----Original Message----- From: news at jobseekernews.com [mailto:news at jobseekernews.com] Sent: Thursday, March 22, 2001 8:10 AM To: javascript at LaTech.edu Subject: [Javascript] JobSeekerNews Free Subscription Continuation Notice Dear JobSeeker, Over the past several months JobSeekerNews.com has purchased or merged with several websites that maintained career related newsletters. The email address that you are receiving this note on was among them. As a responsible e-marketer we are advising you that you are now on the JobSeekerNews.com newsletter list, and offering you the ability to opt-out of our FREE career newsletter. JobSeekerNews is a FREE bi-monthly newsletter (with occasional special editions) focused on resources, and career articles for the jobseeker. To view our index of recent articles click here: http://www.jobseekernews.com/index.cfm?tid=archives.cfm To continue receiving our FREE newsletter DO NOTHING and you will continue to be subscribed to this newsletter. If you wish to unsubscribe you will need to OPT-OUT by following the opt-out instructions from this link: http://www.jobseekernews.com (You will need the exact email address that this note came on) Again to continue receiving the FREE JobSeekerNews.com bi-monthly newsletter, do nothing and you will stay subscribed and you can opt-out at a later date. ============================================================================ == Here is a sample of some of the great sites you can get information about from JobSeekerNews.com: ResumeZapper.com - E-Mail your resume to 1000's of recruiters and headhunters for as little as $49.99 http://www.resumezapper.com/index.cfm?ticker=JSNOO FlipDog - Search more jobs than any other website in the US. http://www.jobseekernews.com/links/uflip.cfm JobSleuth - Get great jobs in your e-mail every day. We search all the job sites for you every day! http://www.jobseekernews.com/links/ujs.cfm HotResumes.com - Post your resume to multiple sites at once for Free! http://www.hotresumes.com/index.cfm?tid=signup.cfm&hot=JSNOO UsJobBoard.com - Post your resume Free and Search 1000's of Jobs for Free! http://www.usjobboard.com/index.cfm?usj=JSNOO ============================================================================ === Sincerely The Staff at JobSeekerNews.com (615039) _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From merchant at LATECH.EDU Thu Mar 22 09:49:57 2001 From: merchant at LATECH.EDU (David Merchant) Date: Thu, 22 Mar 2001 09:49:57 -0600 Subject: ADMIN: [Javascript] JobSeekerNews Free Subscription Continuation Notice In-Reply-To: <20010322151153.C463F33887@scorpion.LaTech.edu> Message-ID: <4.3.2.7.2.20010322094930.00b6fde0@vm.cc.latech.edu> Another address to toss into the kill file... TTFN, David Head, Systems Dept, Louisiana Tech University merchant at latech.edu JavaScript List Administrator (www.mountaindragon.com/javascript/) Webmaster, HTML Encyclopedia (www.mountaindragon.com/html/) Memorial Day Page: (www.usmemorialday.org/) From yili1998 at yahoo.com Fri Mar 23 01:24:19 2001 From: yili1998 at yahoo.com (Yi Li) Date: Thu, 22 Mar 2001 23:24:19 -0800 (PST) Subject: [Javascript] Frame Message-ID: <20010323072419.91134.qmail@web11607.mail.yahoo.com> Hi, all: I try to set home page with a navigator frame (top of the window), This frame contains a logo (width="117" height="59") and 5 rollover buttons (about 1/3 height of logo), I want ROW="60,*",logo and buttons need to be centered. the logo just shows part of and cut by bottom of the frame edge, buttons just right on the edge, I tried Valign="TOP", it doesn't work. Could anyone help with this? Please see attached gif. Thank you! Yi __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: frame.gif Type: image/gif Size: 2611 bytes Desc: frame.gif URL: From mrees at twii.net Fri Mar 23 05:57:09 2001 From: mrees at twii.net (Rees, Mark (TWIi London)) Date: Fri, 23 Mar 2001 11:57:09 -0000 Subject: [Javascript] Frame Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC02110B13@lonmail.twii.net> Hello Have you got this in your frame tag? marginwidth="0" marginheight="0" Mark -----Original Message----- From: Yi Li [mailto:yili1998 at yahoo.com] Sent: 23 March 2001 07:24 To: javascript at LaTech.edu Subject: [Javascript] Frame Hi, all: I try to set home page with a navigator frame (top of the window), This frame contains a logo (width="117" height="59") and 5 rollover buttons (about 1/3 height of logo), I want ROW="60,*",logo and buttons need to be centered. the logo just shows part of and cut by bottom of the frame edge, buttons just right on the edge, I tried Valign="TOP", it doesn't work. Could anyone help with this? Please see attached gif. Thank you! Yi __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From gassinaumasis at hotmail.com Fri Mar 23 06:11:56 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Fri, 23 Mar 2001 12:11:56 -0000 Subject: [Javascript] Event Capture Message-ID: >Similar problem to my other posts. I need to capture events for different >Browsers. To capture a mouse move for example, can I use this method for >all >3 Browser formats? How do I capture the scroll position for NN6/IE5 ? > > Does not work in Netscape. NN4 doesn't recognize a mouseMove in the BODY tag anyway and NN6 can't access the event object. Instead, simply do document.onmousemove = "MouseMove"; if (document.layers) document.captureEvents(Event.MOUSEMOVE); This works fine. > cmx = evt.getClientX(); > cmy = evt.getClientY(); Hmm...don't know these functions. Are they native to NN6? ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From gassinaumasis at hotmail.com Fri Mar 23 06:12:06 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Fri, 23 Mar 2001 12:12:06 -0000 Subject: [Javascript] Event Capture Message-ID: >Similar problem to my other posts. I need to capture events for different >Browsers. To capture a mouse move for example, can I use this method for >all >3 Browser formats? How do I capture the scroll position for NN6/IE5 ? > > Does not work in Netscape. NN4 doesn't recognize a mouseMove in the BODY tag anyway and NN6 can't access the event object. Instead, simply do document.onmousemove = "MouseMove"; if (document.layers) document.captureEvents(Event.MOUSEMOVE); This works fine. > cmx = evt.getClientX(); > cmy = evt.getClientY(); Hmm...don't know these functions. Are they native to NN6? ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From gassinaumasis at hotmail.com Fri Mar 23 06:15:14 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Fri, 23 Mar 2001 12:15:14 -0000 Subject: [Javascript] IE & NN dom references Message-ID: >ob[2].geom.width = newWidth; > >I assume the problem is that "ob[2].geom.width" is not the correct way to >access the width in NN. No, the problem is that you can't change the width of an image in NN4 (not sure about NN6). ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From gassinaumasis at hotmail.com Fri Mar 23 06:26:21 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Fri, 23 Mar 2001 12:26:21 -0000 Subject: [Javascript] Event Capture Message-ID: >document.onmousemove = "MouseMove"; Syntax error, should be document.onmousemove = MouseMove; ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From filipiab at atsc.army.mil Fri Mar 23 07:37:38 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Fri, 23 Mar 2001 08:37:38 -0500 Subject: [Javascript] Event Capture Message-ID: One of the best investments I've made, IMHO, is "Pure JavaScript" by Wyke, Gilliam, and Ting ISBN:0-672-31547-5 if for nothing else the Appendices that show the functions supported by various versions of Netscape, Internet Explorer, Opera, and ECMAScript support. -----Original Message----- From: Steve White [mailto:steve at VirtualMechanics.com] Sent: Thursday, March 22, 2001 9:11 AM To: javascript at LaTech.edu Subject: [Javascript] Event Capture Similar problem to my other posts. I need to capture events for different Browsers. To capture a mouse move for example, can I use this method for all 3 Browser formats? How do I capture the scroll position for NN6/IE5 ? ... Thanks steve at VirtualMechanics.com www.VirtualMechanics.com www.SVGMagic.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From yili1998 at yahoo.com Fri Mar 23 08:54:14 2001 From: yili1998 at yahoo.com (Yi Li) Date: Fri, 23 Mar 2001 06:54:14 -0800 (PST) Subject: [Javascript] Frame In-Reply-To: <76A6F0FCCA27D4119DEF00805F5700AC02110B13@lonmail.twii.net> Message-ID: <20010323145414.67635.qmail@web11604.mail.yahoo.com> Thanks Mark. Yes, I did. Here is the code, also I used table to control gifs. ------------------------------------------------------- ------------------------------------------------------- --- "Rees, Mark (TWIi London)" wrote: > Hello > > Have you got this in your frame tag? > > marginwidth="0" marginheight="0" > > Mark > > -----Original Message----- > From: Yi Li [mailto:yili1998 at yahoo.com] > Sent: 23 March 2001 07:24 > To: javascript at LaTech.edu > Subject: [Javascript] Frame > > > Hi, all: > > I try to set home page with a navigator frame (top > of > the window), > This frame contains a logo (width="117" height="59") > and 5 rollover buttons (about 1/3 height of logo), I > want ROW="60,*",logo and buttons need to be > centered. > the logo just shows part of and cut by bottom of the > frame edge, buttons just right on the edge, I tried > Valign="TOP", it doesn't work. Could anyone help > with > this? Please see attached gif. > Thank you! > > > Yi > > > > __________________________________________________ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From mrees at twii.net Fri Mar 23 09:04:41 2001 From: mrees at twii.net (Rees, Mark (TWIi London)) Date: Fri, 23 Mar 2001 15:04:41 -0000 Subject: [Javascript] Frame Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC02110B22@lonmail.twii.net> Try putting the marginheight & marginwidth attributes in the FRAME tag not the FRAMESET. If that doesn't work how about showing us the code of nav.html? Mark -----Original Message----- From: Yi Li [mailto:yili1998 at yahoo.com] Sent: 23 March 2001 14:54 To: javascript at LaTech.edu Subject: RE: [Javascript] Frame Thanks Mark. Yes, I did. Here is the code, also I used table to control gifs. ------------------------------------------------------- ------------------------------------------------------- --- "Rees, Mark (TWIi London)" wrote: > Hello > > Have you got this in your frame tag? > > marginwidth="0" marginheight="0" > > Mark > > -----Original Message----- > From: Yi Li [mailto:yili1998 at yahoo.com] > Sent: 23 March 2001 07:24 > To: javascript at LaTech.edu > Subject: [Javascript] Frame > > > Hi, all: > > I try to set home page with a navigator frame (top > of > the window), > This frame contains a logo (width="117" height="59") > and 5 rollover buttons (about 1/3 height of logo), I > want ROW="60,*",logo and buttons need to be > centered. > the logo just shows part of and cut by bottom of the > frame edge, buttons just right on the edge, I tried > Valign="TOP", it doesn't work. Could anyone help > with > this? Please see attached gif. > Thank you! > > > Yi > > > > __________________________________________________ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From bandrews at marlboro.edu Fri Mar 23 09:05:29 2001 From: bandrews at marlboro.edu (Brian Andrews) Date: Fri, 23 Mar 2001 10:05:29 -0500 Subject: [Javascript] Frame In-Reply-To: <20010323145414.67635.qmail@web11604.mail.yahoo.com> Message-ID: Try these tags From steve at VirtualMechanics.com Fri Mar 23 09:06:24 2001 From: steve at VirtualMechanics.com (Steve White) Date: Fri, 23 Mar 2001 10:06:24 -0500 Subject: [Javascript] IE & NN dom references In-Reply-To: Message-ID: But I did find a way to do it in NN if(isNav4) ob[Cobj].style.resizeTo(width, height); else { ob[Cobj].geom.width = width; ob[Cobj].geom.height = height; } -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Peter-Paul Koch Sent: Friday, March 23, 2001 7:15 AM To: javascript at LaTech.edu Subject: RE: [Javascript] IE & NN dom references >ob[2].geom.width = newWidth; > >I assume the problem is that "ob[2].geom.width" is not the correct way to >access the width in NN. No, the problem is that you can't change the width of an image in NN4 (not sure about NN6). ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From steve at VirtualMechanics.com Fri Mar 23 09:06:25 2001 From: steve at VirtualMechanics.com (Steve White) Date: Fri, 23 Mar 2001 10:06:25 -0500 Subject: [Javascript] Event Capture In-Reply-To: Message-ID: Thanks -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Peter-Paul Koch Sent: Friday, March 23, 2001 7:26 AM To: javascript at LaTech.edu Subject: Re: [Javascript] Event Capture >document.onmousemove = "MouseMove"; Syntax error, should be document.onmousemove = MouseMove; ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From steve at VirtualMechanics.com Fri Mar 23 09:06:27 2001 From: steve at VirtualMechanics.com (Steve White) Date: Fri, 23 Mar 2001 10:06:27 -0500 Subject: [Javascript] Event Capture In-Reply-To: Message-ID: RE: [Javascript] Event CaptureSounds like a good idea. I don't have a decent JavaScript reference. I'll check it out. -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Filipiak, Bob (Contractor) Sent: Friday, March 23, 2001 8:38 AM To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Event Capture One of the best investments I've made, IMHO, is "Pure JavaScript" by Wyke, Gilliam, and Ting ISBN:0-672-31547-5 if for nothing else the Appendices that show the functions supported by various versions of Netscape, Internet Explorer, Opera, and ECMAScript support. -----Original Message----- From: Steve White [mailto:steve at VirtualMechanics.com] Sent: Thursday, March 22, 2001 9:11 AM To: javascript at LaTech.edu Subject: [Javascript] Event Capture Similar problem to my other posts. I need to capture events for different Browsers. To capture a mouse move for example, can I use this method for all 3 Browser formats? How do I capture the scroll position for NN6/IE5 ? ... Thanks steve at VirtualMechanics.com www.VirtualMechanics.com www.SVGMagic.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at VirtualMechanics.com Fri Mar 23 09:11:26 2001 From: steve at VirtualMechanics.com (Steve White) Date: Fri, 23 Mar 2001 10:11:26 -0500 Subject: [Javascript] Event Capture In-Reply-To: Message-ID: > cmx = evt.getClientX(); > cmy = evt.getClientY(); >Hmm...don't know these functions. Are they native to NN6? They get the scroll position in IE4. They also seem to work in IE5. I don't have NN6 installed at the moment so I cannot test them in that. for NN I use sclx = window.pageXOffset; scly = window.pageYOffset; Yours Truly Steve White www.VirtualMechanics.com -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Peter-Paul Koch Sent: Friday, March 23, 2001 7:12 AM To: javascript at LaTech.edu Subject: Re: [Javascript] Event Capture >Similar problem to my other posts. I need to capture events for different >Browsers. To capture a mouse move for example, can I use this method for >all >3 Browser formats? How do I capture the scroll position for NN6/IE5 ? > > Does not work in Netscape. NN4 doesn't recognize a mouseMove in the BODY tag anyway and NN6 can't access the event object. Instead, simply do document.onmousemove = "MouseMove"; if (document.layers) document.captureEvents(Event.MOUSEMOVE); This works fine. > cmx = evt.getClientX(); > cmy = evt.getClientY(); Hmm...don't know these functions. Are they native to NN6? ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From jon at olive.co.uk Fri Mar 23 09:21:43 2001 From: jon at olive.co.uk (Jon Taylor) Date: Fri, 23 Mar 2001 15:21:43 +0000 Subject: [Javascript] Frame In-Reply-To: <20010323145414.67635.qmail@web11604.mail.yahoo.com> Message-ID: Not sure this was a javascript problem, anyhoo... Make sure you have the margin set in every relevant frame tag in your frameset, eg... As far as I know it doesn't have an effect in the frameset tag. Also check your body tag has margins set... If your still having trouble I/we'd need to se the html of the table your using to control layout. HTH Jon __________________________________ Jon Taylor From gassinaumasis at hotmail.com Fri Mar 23 10:54:40 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Fri, 23 Mar 2001 16:54:40 -0000 Subject: [Javascript] IE & NN dom references Message-ID: >But I did find a way to do it in NN > >if(isNav4) >ob[Cobj].style.resizeTo(width, height); >else >{ >ob[Cobj].geom.width = width; >ob[Cobj].geom.height = height; >} Interesting! I assume the .style is an error, NN4 doesn't know it. However, I just tested it and it seems that it doesn't resize the image but only the surrounding layer, so that the image is kind of clipped, not truly resized. Nonetheless an interesting discovery. Thanks. ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From CANDACE.L.TRIPP at saic.com Fri Mar 23 11:14:21 2001 From: CANDACE.L.TRIPP at saic.com (Tripp, Candace L.) Date: Fri, 23 Mar 2001 12:14:21 -0500 Subject: [Javascript] Highly OT but all should read this Message-ID: <413467B85C0DD311BD3E00A0C9E927C704C0C5EC@456exs01.saic.com> http://messages.yahoo.com/bbs?.mm=FN&action=m&board=4686968&tid=cern&sid=468 6968&mid=5780 From CANDACE.L.TRIPP at saic.com Fri Mar 23 11:18:46 2001 From: CANDACE.L.TRIPP at saic.com (Tripp, Candace L.) Date: Fri, 23 Mar 2001 12:18:46 -0500 Subject: [Javascript] Highly OT but all should read this Message-ID: <413467B85C0DD311BD3E00A0C9E927C704C0C5F3@456exs01.saic.com> Watch the line return. -----Original Message----- From: Tripp, Candace L. [mailto:CANDACE.L.TRIPP at saic.com] Sent: Friday, March 23, 2001 12:14 PM To: 'javascript at LaTech.edu' Subject: [Javascript] Highly OT but all should read this http://messages.yahoo.com/bbs?.mm=FN&action=m&board=4686968&tid=cern&sid=468 6968&mid=5780 _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From Esther.Strom at marchFIRST.com Fri Mar 23 11:27:43 2001 From: Esther.Strom at marchFIRST.com (Strom, Esther) Date: Fri, 23 Mar 2001 11:27:43 -0600 Subject: [Javascript] Highly OT but all should read this Message-ID: <1A5B24FDD80B5B40B779E7FA412F50B5F61912@CHI-EXCH1.whittman-hart.com> OK, I read the message, and while I admit it's appalling, why are you asking the JS list to read it? -----Original Message----- From: Tripp, Candace L. [mailto:CANDACE.L.TRIPP at saic.com] Sent: Friday, March 23, 2001 11:19 AM To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Highly OT but all should read this Watch the line return. -----Original Message----- From: Tripp, Candace L. [mailto:CANDACE.L.TRIPP at saic.com] Sent: Friday, March 23, 2001 12:14 PM To: 'javascript at LaTech.edu' Subject: [Javascript] Highly OT but all should read this http://messages.yahoo.com/bbs?.mm=FN&action=m&board=4686968&tid=cern&sid=468 6968&mid=5780 _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From ben at babelfish.co.uk Fri Mar 23 11:32:59 2001 From: ben at babelfish.co.uk (Ben) Date: Fri, 23 Mar 2001 17:32:59 -0000 Subject: [Javascript] Highly OT but all should read this References: <413467B85C0DD311BD3E00A0C9E927C704C0C5EC@456exs01.saic.com> Message-ID: <002101c0b3bf$596bdb20$32040a0a@idesk.plc> I read it but have no idea as to what it refers to. What is KC??? And who is the asshole running the show? Sounds like a dickhead to me. .b ----- Original Message ----- From: "Tripp, Candace L." To: Sent: Friday, March 23, 2001 5:14 PM Subject: [Javascript] Highly OT but all should read this > http://messages.yahoo.com/bbs?.mm=FN&action=m&board=4686968&tid=cern&sid=468 > 6968&mid=5780 > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From CANDACE.L.TRIPP at saic.com Fri Mar 23 11:40:31 2001 From: CANDACE.L.TRIPP at saic.com (Tripp, Candace L.) Date: Fri, 23 Mar 2001 12:40:31 -0500 Subject: [Javascript] Highly OT but all should read this Message-ID: <413467B85C0DD311BD3E00A0C9E927C704C0C5F4@456exs01.saic.com> Cerner. Medical Informatics. -----Original Message----- From: Ben [mailto:ben at babelfish.co.uk] Sent: Friday, March 23, 2001 12:33 PM To: javascript at LaTech.edu Subject: Re: [Javascript] Highly OT but all should read this I read it but have no idea as to what it refers to. What is KC??? And who is the asshole running the show? Sounds like a dickhead to me. .b ----- Original Message ----- From: "Tripp, Candace L." To: Sent: Friday, March 23, 2001 5:14 PM Subject: [Javascript] Highly OT but all should read this > http://messages.yahoo.com/bbs?.mm=FN&action=m&board=4686968&tid=cern&sid=468 > 6968&mid=5780 > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From peter at brunone.com Fri Mar 23 11:42:32 2001 From: peter at brunone.com (Peter Brunone) Date: Fri, 23 Mar 2001 11:42:32 -0600 Subject: [Javascript] Highly OT but all should read this References: <413467B85C0DD311BD3E00A0C9E927C704C0C5EC@456exs01.saic.com> Message-ID: <02cd01c0b3c0$a3874d60$e22d200a@jcpenney.com> And why exactly should we read this? Seems like all you're doing is trying to spark an off-topic discussion on a list where you repeatedly tell us how important it is only to get on-topic messages. BTW, I did read it -- it definitely has nothing to do with JavaScript -- and IMHO it would be best if nothing more were said about it here. Please note that any animosity in this letter was not my intent; I apologize in advance if any offense is taken. ----- Original Message ----- From: "Tripp, Candace L." To: Sent: Friday, March 23, 2001 11:14 AM Subject: [Javascript] Highly OT but all should read this > http://messages.yahoo.com/bbs?.mm=FN&action=m&board=4686968&tid=cern&sid=468 > 6968&mid=5780 > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From filipiab at atsc.army.mil Fri Mar 23 11:44:34 2001 From: filipiab at atsc.army.mil (Filipiak, Bob (Contractor)) Date: Fri, 23 Mar 2001 12:44:34 -0500 Subject: [Javascript] Highly OT but all should read this Message-ID: KC is probably Kansas City but you need to watch your language. -----Original Message----- From: Ben [mailto:ben at babelfish.co.uk] Sent: Friday, March 23, 2001 12:33 PM To: javascript at LaTech.edu Subject: Re: [Javascript] Highly OT but all should read this I read it but have no idea as to what it refers to. What is KC??? And who is the asshole running the show? Sounds like a dickhead to me. .b ----- Original Message ----- From: "Tripp, Candace L." To: Sent: Friday, March 23, 2001 5:14 PM Subject: [Javascript] Highly OT but all should read this > http://messages.yahoo.com/bbs?.mm=FN&action=m&board=4686968&tid=cern&sid=468 > 6968&mid=5780 > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript -------------- next part -------------- An HTML attachment was scrubbed... URL: From Esther.Strom at marchFIRST.com Fri Mar 23 11:50:51 2001 From: Esther.Strom at marchFIRST.com (Strom, Esther) Date: Fri, 23 Mar 2001 11:50:51 -0600 Subject: [Javascript] Highly OT but all should read this Message-ID: <1A5B24FDD80B5B40B779E7FA412F50B5F61914@CHI-EXCH1.whittman-hart.com> Again, why do we need to know this? I have enough to deal with in my own company! -----Original Message----- From: Tripp, Candace L. [mailto:CANDACE.L.TRIPP at saic.com] Sent: Friday, March 23, 2001 11:41 AM To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Highly OT but all should read this Cerner. Medical Informatics. -----Original Message----- From: Ben [mailto:ben at babelfish.co.uk] Sent: Friday, March 23, 2001 12:33 PM To: javascript at LaTech.edu Subject: Re: [Javascript] Highly OT but all should read this I read it but have no idea as to what it refers to. What is KC??? And who is the asshole running the show? Sounds like a dickhead to me. .b ----- Original Message ----- From: "Tripp, Candace L." To: Sent: Friday, March 23, 2001 5:14 PM Subject: [Javascript] Highly OT but all should read this > http://messages.yahoo.com/bbs?.mm=FN&action=m&board=4686968&tid=cern&sid=468 > 6968&mid=5780 > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From ben at babelfish.co.uk Fri Mar 23 11:54:04 2001 From: ben at babelfish.co.uk (Ben) Date: Fri, 23 Mar 2001 17:54:04 -0000 Subject: [Javascript] Highly OT but all should read this References: <413467B85C0DD311BD3E00A0C9E927C704C0C5F4@456exs01.saic.com> Message-ID: <004e01c0b3c2$488f6bc0$32040a0a@idesk.plc> Oh, I see. Well, suddenly everything is clear. .b ----- Original Message ----- From: "Tripp, Candace L." To: Sent: Friday, March 23, 2001 5:40 PM Subject: RE: [Javascript] Highly OT but all should read this > Cerner. Medical Informatics. > > -----Original Message----- > From: Ben [mailto:ben at babelfish.co.uk] > Sent: Friday, March 23, 2001 12:33 PM > To: javascript at LaTech.edu > Subject: Re: [Javascript] Highly OT but all should read this > > > I read it but have no idea as to what it refers to. What is KC??? And who > is the asshole running the show? Sounds like a dickhead to me. > > .b > > ----- Original Message ----- > From: "Tripp, Candace L." > To: > Sent: Friday, March 23, 2001 5:14 PM > Subject: [Javascript] Highly OT but all should read this > > > > > http://messages.yahoo.com/bbs?.mm=FN&action=m&board=4686968&tid=cern&sid=468 > > 6968&mid=5780 > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From ben at babelfish.co.uk Fri Mar 23 11:59:58 2001 From: ben at babelfish.co.uk (Ben) Date: Fri, 23 Mar 2001 17:59:58 -0000 Subject: [Javascript] Highly OT but all should read this References: Message-ID: <005c01c0b3c3$1bb89490$32040a0a@idesk.plc> Apologies for my fruity language... sometimes I forget that I'm an Englishman on an American (?) mailing list. It won't happen again. .b ----- Original Message ----- From: "Filipiak, Bob (Contractor)" To: Sent: Friday, March 23, 2001 5:44 PM Subject: RE: [Javascript] Highly OT but all should read this > KC is probably Kansas City but you need to watch your language. > > -----Original Message----- > From: Ben [mailto:ben at babelfish.co.uk] > Sent: Friday, March 23, 2001 12:33 PM > To: javascript at LaTech.edu > Subject: Re: [Javascript] Highly OT but all should read this > > > I read it but have no idea as to what it refers to. What is KC??? And who > is the asshole running the show? Sounds like a dickhead to me. > > .b > > ----- Original Message ----- > From: "Tripp, Candace L." > To: > Sent: Friday, March 23, 2001 5:14 PM > Subject: [Javascript] Highly OT but all should read this > > > > > http://messages.yahoo.com/bbs?.mm=FN&action=m&board=4686968&tid=cern&sid=468 > > 6968&mid=5780 > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From merchant at LATECH.EDU Fri Mar 23 12:06:59 2001 From: merchant at LATECH.EDU (David Merchant) Date: Fri, 23 Mar 2001 12:06:59 -0600 Subject: [Javascript] ADMIN: RE: Highly OT but all should read this In-Reply-To: <1A5B24FDD80B5B40B779E7FA412F50B5F61912@CHI-EXCH1.whittman- hart.com> Message-ID: <4.3.2.7.2.20010323115921.00c7dca0@vm.cc.latech.edu> At 11:27 AM 3/23/01 -0600, you wrote: >OK, I read the message, and while I admit it's appalling, why are you asking >the JS list to read it? My sentiments as well. Please, this is not the place for office or governmental politics, nor as a forum for any non-Javascript philosophical, ethical, moral, religious, cultural, social or economic debates / discussions. If I allow one, I would have to allow all and the list would no longer be of help to it's intended and target audience. I know sometimes when some important to ourselves issue has us riled up, that it is hard to not go off-topic on a list (been there myself!) but please refrain and find an appropriate list or forum to express any non-JavaScript issues (and thus keep the signal-to-noise ratio for the list a good one). Please, post no more responses to the "Highly OT but all should read this" email. TTFN, David Merchant Head, Systems Dept, Louisiana Tech University merchant at latech.edu JavaScript List Administrator (www.mountaindragon.com/javascript/) Webmaster, HTML Encyclopedia (www.mountaindragon.com/html/) Memorial Day Page: (www.usmemorialday.org/) From yili1998 at yahoo.com Fri Mar 23 12:44:52 2001 From: yili1998 at yahoo.com (Yi Li) Date: Fri, 23 Mar 2001 10:44:52 -0800 (PST) Subject: [Javascript] Frame In-Reply-To: <76A6F0FCCA27D4119DEF00805F5700AC02110B22@lonmail.twii.net> Message-ID: <20010323184452.48440.qmail@web11607.mail.yahoo.com> Thanks Mark: I tryed putting marginheight & marginwidth attributes in the FRAME also, still not centered( v-center). here is the nav.html. Yi ------------------------------------------------------- company page
          Home Page About us Services Clients Order Information
---------------------end------------------------------- --- "Rees, Mark (TWIi London)" wrote: > Try putting the marginheight & marginwidth > attributes in the FRAME tag not > the FRAMESET. > > If that doesn't work how about showing us the code > of nav.html? > > Mark > > -----Original Message----- > From: Yi Li [mailto:yili1998 at yahoo.com] > Sent: 23 March 2001 14:54 > To: javascript at LaTech.edu > Subject: RE: [Javascript] Frame > > > Thanks Mark. > Yes, I did. Here is the code, also I used table to > control gifs. > ------------------------------------------------------- > SCROLLING="NO" MARGINHEIGHT="0" MARGINWIDTH="0" > NORESIZE> > SCROLLING="NO"> > MARGINWIDTH=10 NORESIZE> > MARGINHEIGHT=5 MARGINWIDTH=10 NORESIZE> > MARGINWIDTH=3 NORESIZE> > > > ------------------------------------------------------- > > --- "Rees, Mark (TWIi London)" > wrote: > > Hello > > > > Have you got this in your frame tag? > > > > marginwidth="0" marginheight="0" > > > > Mark > > > > -----Original Message----- > > From: Yi Li [mailto:yili1998 at yahoo.com] > > Sent: 23 March 2001 07:24 > > To: javascript at LaTech.edu > > Subject: [Javascript] Frame > > > > > > Hi, all: > > > > I try to set home page with a navigator frame (top > > of > > the window), > > This frame contains a logo (width="117" > height="59") > > and 5 rollover buttons (about 1/3 height of logo), > I > > want ROW="60,*",logo and buttons need to be > > centered. > > the logo just shows part of and cut by bottom of > the > > frame edge, buttons just right on the edge, I > tried > > Valign="TOP", it doesn't work. Could anyone help > > with > > this? Please see attached gif. > > Thank you! > > > > > > Yi > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Get email at your own domain with Yahoo! Mail. > > http://personal.mail.yahoo.com/ > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > > > __________________________________________________ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From steve at VirtualMechanics.com Fri Mar 23 13:04:46 2001 From: steve at VirtualMechanics.com (Steve White) Date: Fri, 23 Mar 2001 14:04:46 -0500 Subject: [Javascript] IE & NN dom references In-Reply-To: Message-ID: The style is not an error, just my code syntax since it references the style attributes in either NN or IE. I posted an example of scaling at: http://www.dhtmlmagic.com/test/v2bintro.htm that works in IE and NN. You can compare the difference. As you noted, NN is just clipping (I guess scaling was a bit too difficult for them) but it will have to do. The quality in both NN and IE falls far short of SVG. If you have a player you can compare the SVG version at: http://www.dhtmlmagic.com/test/v2bintro.svg Sorry they are not intended to be a works of art, just a proof of concept. Yours Truly Steve White www.VirtualMechanics.com -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Peter-Paul Koch Sent: Friday, March 23, 2001 11:55 AM To: javascript at LaTech.edu Subject: RE: [Javascript] IE & NN dom references >But I did find a way to do it in NN > >if(isNav4) >ob[Cobj].style.resizeTo(width, height); >else >{ >ob[Cobj].geom.width = width; >ob[Cobj].geom.height = height; >} Interesting! I assume the .style is an error, NN4 doesn't know it. However, I just tested it and it seems that it doesn't resize the image but only the surrounding layer, so that the image is kind of clipped, not truly resized. Nonetheless an interesting discovery. Thanks. ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From yili1998 at yahoo.com Fri Mar 23 15:34:29 2001 From: yili1998 at yahoo.com (Yi Li) Date: Fri, 23 Mar 2001 13:34:29 -0800 (PST) Subject: [Javascript] Frame In-Reply-To: Message-ID: <20010323213429.30928.qmail@web11603.mail.yahoo.com> Thanks Brian, this doesn't work, ROW="*,*" makes the frame's height too big. --- Brian Andrews wrote: > Try these tags > > > framespacing="0" border="0"> > > MARGINHEIGHT="0" MARGINWIDTH="0" > NORESIZE SCROLLING="NO" BORDER=0 FRAMEBORDER=0 > FRAMESPACING="0"> > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From yili1998 at yahoo.com Fri Mar 23 15:34:29 2001 From: yili1998 at yahoo.com (Yi Li) Date: Fri, 23 Mar 2001 13:34:29 -0800 (PST) Subject: [Javascript] Frame In-Reply-To: Message-ID: <20010323213429.30928.qmail@web11603.mail.yahoo.com> Thanks Brian, this doesn't work, ROW="*,*" makes the frame's height too big. --- Brian Andrews wrote: > Try these tags > > > framespacing="0" border="0"> > > MARGINHEIGHT="0" MARGINWIDTH="0" > NORESIZE SCROLLING="NO" BORDER=0 FRAMEBORDER=0 > FRAMESPACING="0"> > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From yili1998 at yahoo.com Fri Mar 23 15:46:33 2001 From: yili1998 at yahoo.com (Yi Li) Date: Fri, 23 Mar 2001 13:46:33 -0800 (PST) Subject: [Javascript] Frame In-Reply-To: Message-ID: <20010323214633.40276.qmail@web11606.mail.yahoo.com> Thanks, Jon, after formatted codes, same problem stays there. Not too bad in IE, no good in NN(logo right on bottom of the frame edge), anyway, the logo is not V-centered in frame, I put marginwidth="0" marginheight="0" in this frame also. here is the code. ---------------------nav.html-------------------------- nav page
          Home Page About us Services Clients Order Information
------------------END---------------------------- --- Jon Taylor wrote: > Not sure this was a javascript problem, anyhoo... > > Make sure you have the margin set in every relevant > frame tag in your > frameset, eg... > > > SCROLLING="NO" NORESIZE> > SCROLLING="NO" marginwidth="0" marginheight="0"> > marginwidth="0" marginheight="0" > NORESIZE> > MARGINHEIGHT="5" MARGINWIDTH="10" NORESIZE> > marginwidth="0" > marginheight="0"NORESIZE> > > > > As far as I know it doesn't have an effect in the > frameset tag. > > Also check your body tag has margins set... > > marginheight="0"> > > If your still having trouble I/we'd need to se the > html of the table your > using to control layout. > > HTH > Jon > > > __________________________________ > > Jon Taylor > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From yili1998 at yahoo.com Fri Mar 23 15:46:33 2001 From: yili1998 at yahoo.com (Yi Li) Date: Fri, 23 Mar 2001 13:46:33 -0800 (PST) Subject: [Javascript] Frame In-Reply-To: Message-ID: <20010323214633.40276.qmail@web11606.mail.yahoo.com> Thanks, Jon, after formatted codes, same problem stays there. Not too bad in IE, no good in NN(logo right on bottom of the frame edge), anyway, the logo is not V-centered in frame, I put marginwidth="0" marginheight="0" in this frame also. here is the code. ---------------------nav.html-------------------------- nav page
          Home Page About us Services Clients Order Information
------------------END---------------------------- --- Jon Taylor wrote: > Not sure this was a javascript problem, anyhoo... > > Make sure you have the margin set in every relevant > frame tag in your > frameset, eg... > > > SCROLLING="NO" NORESIZE> > SCROLLING="NO" marginwidth="0" marginheight="0"> > marginwidth="0" marginheight="0" > NORESIZE> > MARGINHEIGHT="5" MARGINWIDTH="10" NORESIZE> > marginwidth="0" > marginheight="0"NORESIZE> > > > > As far as I know it doesn't have an effect in the > frameset tag. > > Also check your body tag has margins set... > > marginheight="0"> > > If your still having trouble I/we'd need to se the > html of the table your > using to control layout. > > HTH > Jon > > > __________________________________ > > Jon Taylor > > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From yili1998 at yahoo.com Fri Mar 23 23:59:54 2001 From: yili1998 at yahoo.com (Yi Li) Date: Fri, 23 Mar 2001 21:59:54 -0800 (PST) Subject: [Javascript] Frame problem resolved Message-ID: <20010324055954.70055.qmail@web11603.mail.yahoo.com> Hi, all: Thanks everyone, I just got the frame works great in both IE & NN. I 'd like to share this with everyone. Set cellspacing="0" in table, then use   to separate all gifs.(set ROW="60,*" in frame). Yi __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From andyg at ihug.co.nz Sat Mar 24 04:46:03 2001 From: andyg at ihug.co.nz (Andrew Gibson) Date: Sat, 24 Mar 2001 22:46:03 +1200 Subject: [Javascript] Passing Object Refs to Other Frames In-Reply-To: <3ABD2DCE.50C638AD@i-way.co.uk> Message-ID: How do we pass refs to other frames btw? eg, I have a navigation frame, and I want to pass a script to another frame, say to make a layer visible. on the same page I would just go: Show me How would I pass the reference to page in another frame?? Andrew > > Why open a new window and close the old one if you could open the new > page in the old window? > > If you used a frameset you could store all the data as you went along. > > Pretty sure I must be missing the point here.... > > > Rodney > > Peter Thompson wrote: > > > > I have a problem that I've been struggling to > > figure out. > > > > I'm developing a web-based document control > > system. When the user clicks the Submit button, > > my boss wants me to then prompt for all the > > approval information. I created a flowchart in > > Visio and this process turns out to be quite > > complicated. It means opening a series of > > windows to walk the user through forms which > > prompt them for info - approval names, approval > > type (Parallel vs. Serial), etc. There are about > > 6 windows that need to be opened in this sequence. > > > > As I open the next window, I want to close the > > previous. My challenge is: how to maintain a > > handle to the original document? I need to pass > > a reference to this window from window to > > window. That way, I can write data back to the > > original document during this process. > > > > I just can't figure out how to do it. If I > > create a method in window A that I call from > > window B and pass it the original window object, > > that would work - but how do I reference that > > method in window A? > > > > Obviously, I have the window.opener property to > > get the previous window reference but once I > > close the first "dialog" box, > > window.opener.window.opener.... won't work > > because I've broken that chain back to the > > original document by closing one of the windows. > > > > It would look horrible to have to open all these > > windows and leave them open until the last step. > > If I can't pass a window reference, then is there > > some way to hide an open window? I think I can > > use DHTML to change it's z-order and put it > > behind the top window, is that correct? > > > -- > Shop at ssistant Add-ons and Developer Workshops > http://www.aflyingstart.net/addons/ > STILL PLACES OPEN on Fri 27 April workshop > > Courses in April > Mon 23 : Making a Start in E-Commerce with Shop at ssistant > Tue 24 : Meeting Business Needs with the Shop at ssistant Classic system > Wed 25 : Building Better Shopping Pages with Shop at ssistant Classic > > > Booking for these Shop at ssistant Classic courses at > http://www.shopassistant.net/training/ > Or call 01256 880770 > > Rodney Myers > Based in Oxford, England > Technical Director, Shop at ssistant eCommerce Solutions > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript > From prthompson at ureach.com Sat Mar 24 10:18:31 2001 From: prthompson at ureach.com (Peter Thompson) Date: Sat, 24 Mar 2001 11:18:31 -0500 Subject: [Javascript] Challenge - Passing Object Refs to Other Windows Message-ID: <200103241618.LAA12203@www20.ureach.com> I have a problem that I've been struggling to figure out. I'm developing a web-based document control system. When the user clicks the Submit button, my boss wants me to then prompt for all the approval information. I created a flowchart in Visio and this process turns out to be quite complicated. It means opening a series of windows to walk the user through forms which prompt them for info - approval names, approval type (Parallel vs. Serial), etc. There are about 6 windows that need to be opened in this sequence. As I open the next window, I want to close the previous. My challenge is: how to maintain a handle to the original document? I need to pass a reference to this window from window to window. That way, I can write data back to the original document during this process. I just can't figure out how to do it. If I create a method in window A that I call from window B and pass it the original window object, that would work - but how do I reference that method in window A? Obviously, I have the window.opener property to get the previous window reference but once I close the first "dialog" box, window.opener.window.opener.... won't work because I've broken that chain back to the original document by closing one of the windows. It would look horrible to have to open all these windows and leave them open until the last step. If I can't pass a window reference, then is there some way to hide an open window? I think I can use DHTML to change it's z-order and put it behind the top window, is that correct? Thanks for any help! -Peter From rmyers at i-way.co.uk Sat Mar 24 17:29:18 2001 From: rmyers at i-way.co.uk (Rodney Myers) Date: Sat, 24 Mar 2001 23:29:18 +0000 Subject: [Javascript] Challenge - Passing Object Refs to Other Windows References: <200103241618.LAA12203@www20.ureach.com> Message-ID: <3ABD2DCE.50C638AD@i-way.co.uk> Why open a new window and close the old one if you could open the new page in the old window? If you used a frameset you could store all the data as you went along. Pretty sure I must be missing the point here.... Rodney Peter Thompson wrote: > > I have a problem that I've been struggling to > figure out. > > I'm developing a web-based document control > system. When the user clicks the Submit button, > my boss wants me to then prompt for all the > approval information. I created a flowchart in > Visio and this process turns out to be quite > complicated. It means opening a series of > windows to walk the user through forms which > prompt them for info - approval names, approval > type (Parallel vs. Serial), etc. There are about > 6 windows that need to be opened in this sequence. > > As I open the next window, I want to close the > previous. My challenge is: how to maintain a > handle to the original document? I need to pass > a reference to this window from window to > window. That way, I can write data back to the > original document during this process. > > I just can't figure out how to do it. If I > create a method in window A that I call from > window B and pass it the original window object, > that would work - but how do I reference that > method in window A? > > Obviously, I have the window.opener property to > get the previous window reference but once I > close the first "dialog" box, > window.opener.window.opener.... won't work > because I've broken that chain back to the > original document by closing one of the windows. > > It would look horrible to have to open all these > windows and leave them open until the last step. > If I can't pass a window reference, then is there > some way to hide an open window? I think I can > use DHTML to change it's z-order and put it > behind the top window, is that correct? -- Shop at ssistant Add-ons and Developer Workshops http://www.aflyingstart.net/addons/ STILL PLACES OPEN on Fri 27 April workshop Courses in April Mon 23 : Making a Start in E-Commerce with Shop at ssistant Tue 24 : Meeting Business Needs with the Shop at ssistant Classic system Wed 25 : Building Better Shopping Pages with Shop at ssistant Classic Booking for these Shop at ssistant Classic courses at http://www.shopassistant.net/training/ Or call 01256 880770 Rodney Myers Based in Oxford, England Technical Director, Shop at ssistant eCommerce Solutions From reubendb at goshen.edu Sat Mar 24 21:19:05 2001 From: reubendb at goshen.edu (Reuben D Budiardja) Date: Sat, 24 Mar 2001 22:19:05 -0500 Subject: [Javascript] Writing to Document after a function is executed. Message-ID: <5.0.2.1.0.20010324221538.01c1d510@mail.goshen.edu> Hello, I just joined the list. I'm a newbie in using Javascript as scripting language. So far I have been using a server side scripting language, so, my frame of thinking is a bit different, and I'm still kinda confused when using client side language such as javascript. I have the following question. I want to write to the document, after some function is executed. In that function, I want to manipulate the string I want to write. So, basically can I do something like this: This always give me an undefined error. Any help on this will be greatly appreciated. Thanks Reuben D. Budiardja From rmyers at i-way.co.uk Sun Mar 25 03:42:04 2001 From: rmyers at i-way.co.uk (Rodney Myers) Date: Sun, 25 Mar 2001 10:42:04 +0100 Subject: [Javascript] Writing to Document after a function is executed. References: <5.0.2.1.0.20010324221538.01c1d510@mail.goshen.edu> Message-ID: <3ABDBD6C.2CAC5FFD@i-way.co.uk> Reuben, Writing to the document after it has loaded client side will give very 'mixed' results. It may succeed in MSIE but in NN it will certainly overwrite the current document. Since your code is contained in that same current document that will be a problem. You can write into a form input, a frame, or (perhaps using a cross-browser compatible DHTML script) a layer. Using the MSIE DOM you can write into specific table cells (for example) using their ID. hth Rodney Reuben D Budiardja wrote: > > Hello, > I just joined the list. I'm a newbie in using Javascript as scripting > language. So far I have been using a server side scripting language, so, my > frame of thinking is a bit different, and I'm still kinda confused when > using client side language such as javascript. > > I have the following question. > I want to write to the document, after some function is executed. In > that function, I want to manipulate the string I want to write. So, > basically can I do something like this: > > > > This always give me an undefined error. Any help on this will be > greatly appreciated. > Thanks > Reuben D. Budiardja > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript -- Shop at ssistant Add-ons and Developer Workshops http://www.aflyingstart.net/addons/ STILL PLACES OPEN on Fri 27 April workshop Courses in April Mon 23 : Making a Start in E-Commerce with Shop at ssistant Tue 24 : Meeting Business Needs with the Shop at ssistant Classic system Wed 25 : Building Better Shopping Pages with Shop at ssistant Classic Booking for these Shop at ssistant Classic courses at http://www.shopassistant.net/training/ Or call 01256 880770 Rodney Myers Based in Oxford, England Technical Director, Shop at ssistant eCommerce Solutions From rmyers at i-way.co.uk Sun Mar 25 05:46:53 2001 From: rmyers at i-way.co.uk (Rodney Myers) Date: Sun, 25 Mar 2001 12:46:53 +0100 Subject: [Javascript] Passing Object Refs to Other Frames References: Message-ID: <3ABDDAAD.E916076D@i-way.co.uk> Something like Show me Rodney Andrew Gibson wrote: > > How do we pass refs to other frames btw? > > eg, I have a navigation frame, and I want to > pass a script to another frame, say to make > a layer visible. > > on the same page I would just go: > > Show me > > How would I pass the reference to page in another > frame?? > > Andrew -- Shop at ssistant Add-ons and Developer Workshops http://www.aflyingstart.net/addons/ STILL PLACES OPEN on Fri 27 April workshop Courses in April Mon 23 : Making a Start in E-Commerce with Shop at ssistant Tue 24 : Meeting Business Needs with the Shop at ssistant Classic system Wed 25 : Building Better Shopping Pages with Shop at ssistant Classic Booking for these Shop at ssistant Classic courses at http://www.shopassistant.net/training/ Or call 01256 880770 Rodney Myers Based in Oxford, England Technical Director, Shop at ssistant eCommerce Solutions From lshadoff at brazosport.cc.tx.us Sun Mar 25 09:52:58 2001 From: lshadoff at brazosport.cc.tx.us (Lewis Shadoff) Date: Sun, 25 Mar 2001 09:52:58 -0600 Subject: [Javascript] Re: Javascript digest, Vol 1 #15 - 11 msgs In-Reply-To: <20010324180108.0A3F933844@scorpion.LaTech.edu> Message-ID: <5.0.2.1.2.20010325095050.00aca900@pop3.norton.antivirus> At 12:01 PM 3/24/01, javascript-request at LaTech.edu wrote: >I need to pass a reference to this window from window to >window. That way, I can write data back to the >original document during this process. Use cookies which expire at the end of the session to store the information. Lewis A. Shadoff, PhD Brazosport College Lake Jackson, TX From gassinaumasis at hotmail.com Sun Mar 25 10:16:43 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Sun, 25 Mar 2001 16:16:43 -0000 Subject: [Javascript] Writing to Document after a function is executed. Message-ID: > If you put directly in your page it'll give an undefined error because colors[0] isn't yet defined when the browser tries to execute this bit of script (ie. directly when it has been received from the server). Solution: initialize the array directly and get rid of the onChange. Syntax error: 'writeIn' should be 'write' or 'writeln' (small l instead of capital I) ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From reubendb at goshen.edu Sun Mar 25 11:18:30 2001 From: reubendb at goshen.edu (Reuben D Budiardja) Date: Sun, 25 Mar 2001 12:18:30 -0500 Subject: [Javascript] Writing to Document after a function is executed. In-Reply-To: <3ABDBD6C.2CAC5FFD@i-way.co.uk> References: <5.0.2.1.0.20010324221538.01c1d510@mail.goshen.edu> Message-ID: <5.0.2.1.0.20010325120622.022c0ec0@mail.goshen.edu> First, thanks for the respond. I see your point (I think). But, I think it's ok if it overwrite, the current document. I tried to write into a form input, but I don't really want to do that, for aesthetic reason. What I really want is to eventually write all the contain of the array to a table using "for loop", one row for each element. The example that I give previously was not the best way to illustrate it. What I want is that everytime I type something in my text input box, and hit enter, the text will be added as one new element of the array, and at the end of the page, .document.writeln will write everything in the array into a row of the table. This idea is mainly for speed reason. Eventually, I want to submit everything into a database, using server side scripting language (such as php). But, I don't want the page to reload everytime I input something into my text box, before it can be displayed (the pitfall of server side language). That's why I'd like to use javascript. Any help on how I can do this will be much appreciated. So, a frame might be a good idea, but I'm trying to avoid it. I'm using mainly NN, so I need a cross browser compatibility. Could you point me as to how can I write into specific table cells? Thanks a lot. Reuben D. Budiardja At 10:42 AM 3/25/01 +0100, Rodney Myers wrote: >Reuben, > >Writing to the document after it has loaded client side will give very >'mixed' results. It may succeed in MSIE but in NN it will certainly >overwrite the current document. Since your code is contained in that >same current document that will be a problem. > >You can write into a form input, a frame, or (perhaps using a >cross-browser compatible DHTML script) a layer. > >Using the MSIE DOM you can write into specific table cells (for example) >using their ID. > >hth > >Rodney > >Reuben D Budiardja wrote: > > > > Hello, > > I just joined the list. I'm a newbie in using Javascript as scripting > > language. So far I have been using a server side scripting language, so, my > > frame of thinking is a bit different, and I'm still kinda confused when > > using client side language such as javascript. > > > > I have the following question. > > I want to write to the document, after some function is executed. In > > that function, I want to manipulate the string I want to write. So, > > basically can I do something like this: > > > > > > > > This always give me an undefined error. Any help on this will be > > greatly appreciated. > > Thanks > > Reuben D. Budiardja > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > http://www.LaTech.edu/mailman/listinfo/javascript > >-- >Shop at ssistant Add-ons and Developer Workshops >http://www.aflyingstart.net/addons/ >STILL PLACES OPEN on Fri 27 April workshop > >Courses in April >Mon 23 : Making a Start in E-Commerce with Shop at ssistant >Tue 24 : Meeting Business Needs with the Shop at ssistant Classic system >Wed 25 : Building Better Shopping Pages with Shop at ssistant Classic > > >Booking for these Shop at ssistant Classic courses at >http://www.shopassistant.net/training/ >Or call 01256 880770 > >Rodney Myers >Based in Oxford, England >Technical Director, Shop at ssistant eCommerce Solutions > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >http://www.LaTech.edu/mailman/listinfo/javascript From reubendb at goshen.edu Sun Mar 25 11:30:29 2001 From: reubendb at goshen.edu (Reuben D Budiardja) Date: Sun, 25 Mar 2001 12:30:29 -0500 Subject: [Javascript] Writing to Document after a function is executed. In-Reply-To: Message-ID: <5.0.2.1.0.20010325121849.022d5ec0@mail.goshen.edu> At 04:16 PM 3/25/01 +0000, Peter-Paul Koch wrote: >> > >If you put directly in your page it'll give an undefined error because >colors[0] isn't yet defined when the browser tries to execute this bit of >script (ie. directly when it has been received from the server). Solution: >initialize the array directly and get rid of the onChange. > >Syntax error: 'writeIn' should be 'write' or 'writeln' (small l instead of >capital I) Thank for the syntax correction. I explained what I really want to do with this function in the e-mail I sent just before this one (Would you please refer to that). Yes, I do want to initialize the array directly, as a global variable. Could you tell me how? Secondly, if you or anyone could point me a good resorce for learning javascript (the syntax, language structure, etc.) that would be very helpful. I'm a newbie in Javascript, but I've done a lot of server side scripting, so I know a good deal about programming. Any website? URL address? All I can find so far are javascript codes. Thanks a lot. Reuben D. Budiardja From gassinaumasis at hotmail.com Sun Mar 25 13:22:49 2001 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Sun, 25 Mar 2001 19:22:49 -0000 Subject: [Javascript] Writing to Document after a function is executed. Message-ID: >Yes, I do want to initialize the array directly, as a global variable. >Could you tell me how? This bit of script is executed as soon as it is loaded. >Secondly, if you or anyone could point me a good resorce for learning >javascript (the syntax, language structure, etc.) that would be very >helpful. I'm a newbie in Javascript, but I've done a lot of server side >scripting, so I know a good deal about programming. Any website? URL >address? All I can find so far are javascript codes. http://rummelplatz.uni-mannheim.de/~skoch/js/tutorial.htm is a good place to start (you can probably skip the first few pages). For lots of examples how to do practical things I refer to my own site: http://www.xs4all.nl/~ppk/js/ This is not a tutorial, but I give example scripts for the most common situations and explain every line. ppk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From rmyers at i-way.co.uk Sun Mar 25 14:17:50 2001 From: rmyers at i-way.co.uk (Rodney Myers) Date: Sun, 25 Mar 2001 21:17:50 +0100 Subject: [Javascript] Writing to Document after a function isexecuted. References: <5.0.2.1.0.20010324221538.01c1d510@mail.goshen.edu> <5.0.2.1.0.20010325120622.022c0ec0@mail.goshen.edu> Message-ID: <3ABE526E.71DCF8EF@i-way.co.uk> Reuben D Budiardja wrote: > I see your point (I think). But, I think it's ok if it overwrite, the > current document. > So, a frame might be a good idea, but I'm trying to avoid it. Reuben, The point of using frames is to avoid the overwriting of the script and data that is doing the writing. There need be no _visible_ frames. > I'm using > mainly NN, so I need a cross browser compatibility. Could you point me as > to how can I write into specific table cells? Well this is NOT cross browser compatible, but you could take a look at this MSIE only technique which I mentioned: TD ID Tests
 
 
 
When you change the value of the text box it writes into a cell. Hope this helps someone! Rodney -- Shop at ssistant Add-ons and Developer Workshops http://www.aflyingstart.net/addons/ STILL PLACES OPEN on Fri 27 April workshop Courses in April Mon 23 : Making a Start in E-Commerce with Shop at ssistant Tue 24 : Meeting Business Needs with the Shop at ssistant Classic system Wed 25 : Building Better Shopping Pages with Shop at ssistant Classic Booking for these Shop at ssistant Classic courses at http://www.shopassistant.net/training/ Or call 01256 880770 Rodney Myers Based in Oxford, England Technical Director, Shop at ssistant eCommerce Solutions From krite at 3dfactory.de Tue Mar 27 01:33:20 2001 From: krite at 3dfactory.de (Andreas Krite) Date: Tue, 27 Mar 2001 09:33:20 +0200 Subject: [Javascript] confusing .... Message-ID: <001a01c0b690$32cc0070$605fa8c0@dualp2> Hiya, I'm not really new to this list and hope that someone could help me finding the right way. I like to build a mail-form where you can choose via drop-down a recipient 1 and a recipient 2 - the example listed below is not working :-(( and I'm not experienced enough to find the error. Thanks in advance regards Andreas ********************************************************************
Recipient 1:
Recipient 2:
Subject:
Message:
************************************************************************************************************ From STS at inlog.fr Wed Mar 28 01:27:10 2001 From: STS at inlog.fr (=?iso-8859-1?Q?=22SORIANO=2C_St=E9phane=22?=) Date: Wed, 28 Mar 2001 09:27:10 +0200 Subject: [Javascript] Pb with NS 4.x with layer Message-ID: Hi, I have this script :
yopyop
The first select is ok, but the second dont appear normally. Someone have an idea ? Thanx for your help Stephane From ian.turner at romseyassoc.com Wed Mar 28 02:08:20 2001 From: ian.turner at romseyassoc.com (Ian Turner) Date: Wed, 28 Mar 2001 09:08:20 +0100 Subject: [Javascript] Pb with NS 4.x with layer In-Reply-To: Message-ID: try putting in after the option text. All the best Ian -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of SORIANO, St?phane Sent: 28 March 2001 08:27 To: 'javascript at LaTech.edu' Subject: [Javascript] Pb with NS 4.x with layer Hi, I have this script :
yopyop
The first select is ok, but the second dont appear normally. Someone have an idea ? Thanx for your help Stephane _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From STS at inlog.fr Wed Mar 28 02:09:26 2001 From: STS at inlog.fr (=?iso-8859-1?Q?=22SORIANO=2C_St=E9phane=22?=) Date: Wed, 28 Mar 2001 10:09:26 +0200 Subject: [Javascript] Pb with NS 4.x with layer Message-ID: the dont change anything i forgot it in my code i know Stephane -----Message d'origine----- De : Ian Turner [mailto:ian.turner at romseyassoc.com] Envoy? : mercredi 28 mars 2001 10:08 ? : javascript at LaTech.edu Objet : RE: [Javascript] Pb with NS 4.x with layer try putting in after the option text. All the best Ian -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of SORIANO, St?phane Sent: 28 March 2001 08:27 To: 'javascript at LaTech.edu' Subject: [Javascript] Pb with NS 4.x with layer Hi, I have this script :
yopyop
The first select is ok, but the second dont appear normally. Someone have an idea ? Thanx for your help Stephane _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From ian.turner at romseyassoc.com Wed Mar 28 03:25:22 2001 From: ian.turner at romseyassoc.com (Ian Turner) Date: Wed, 28 Mar 2001 10:25:22 +0100 Subject: [Javascript] Pb with NS 4.x with layer In-Reply-To: Message-ID: try placing the form statements inside the body tags. -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of SORIANO, St?phane Sent: 28 March 2001 09:09 To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Pb with NS 4.x with layer the dont change anything i forgot it in my code i know Stephane -----Message d'origine----- De : Ian Turner [mailto:ian.turner at romseyassoc.com] Envoy? : mercredi 28 mars 2001 10:08 ? : javascript at LaTech.edu Objet : RE: [Javascript] Pb with NS 4.x with layer try putting in after the option text. All the best Ian -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of SORIANO, St?phane Sent: 28 March 2001 08:27 To: 'javascript at LaTech.edu' Subject: [Javascript] Pb with NS 4.x with layer Hi, I have this script :
yopyop
The first select is ok, but the second dont appear normally. Someone have an idea ? Thanx for your help Stephane _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From STS at inlog.fr Wed Mar 28 03:26:31 2001 From: STS at inlog.fr (=?iso-8859-1?Q?=22SORIANO=2C_St=E9phane=22?=) Date: Wed, 28 Mar 2001 11:26:31 +0200 Subject: [Javascript] Pb with NS 4.x with layer Message-ID: it doesn't work too -----Message d'origine----- De : Ian Turner [mailto:ian.turner at romseyassoc.com] Envoy? : mercredi 28 mars 2001 11:25 ? : javascript at LaTech.edu Objet : RE: [Javascript] Pb with NS 4.x with layer try placing the form statements inside the body tags. -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of SORIANO, St?phane Sent: 28 March 2001 09:09 To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Pb with NS 4.x with layer the dont change anything i forgot it in my code i know Stephane -----Message d'origine----- De : Ian Turner [mailto:ian.turner at romseyassoc.com] Envoy? : mercredi 28 mars 2001 10:08 ? : javascript at LaTech.edu Objet : RE: [Javascript] Pb with NS 4.x with layer try putting in after the option text. All the best Ian -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of SORIANO, St?phane Sent: 28 March 2001 08:27 To: 'javascript at LaTech.edu' Subject: [Javascript] Pb with NS 4.x with layer Hi, I have this script :
yopyop
The first select is ok, but the second dont appear normally. Someone have an idea ? Thanx for your help Stephane _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From rmyers at i-way.co.uk Wed Mar 28 03:36:46 2001 From: rmyers at i-way.co.uk (Rodney Myers) Date: Wed, 28 Mar 2001 10:36:46 +0100 Subject: [Javascript] confusing .... References: <001a01c0b690$32cc0070$605fa8c0@dualp2> Message-ID: <3AC1B0AE.CEB7950D@i-way.co.uk> Andreas, Javascript can be really confusing! The msg() function need only be called once using the onsubmit event. The onchange handlers in each field were not required, but interestingly they passed the form object - msg(this.form) - except that you did not receive it in your version and so had to define the form object explicitly, which makes more work. As far as the reception of the form object in function msg(form) there is no big deal about calling the parameter/argument 'form', it could be called anything. function msg(Rodney) for example Generally the var name form is used simply to remind us of what it is. Compare that with the use of this.form in an input as you did (correctly defining the form object) where this.Rodney for example would NOT do, while function msg(Rodney) would be fine, though confusing since the name Rodney does nothing to remind us of what the variable represents. These links may help a bit http://www.builder.com/Authoring/MoreStupid/ss05.html http://www.winterstorm.ca/mailto.html For a slightly neater message you could use a second form This link contains a copyright script that does that and which may help. It also creates a confirmation in a new window. http://home.earthlink.net/~jeffreyfarkas/mailform.html Try this : Mail Form
Recipient 1:
Recipient 2:
Subject:
Message:
hth Rodney Andreas Krite wrote: > > Hiya, > > I'm not really new to this list and hope that someone could help me finding the right way. > I like to build a mail-form where you can choose via drop-down a recipient 1 and a recipient 2 - the example listed below is not working :-(( and I'm not experienced enough to find the error. > > Thanks in advance > > regards > Andreas > ******************************************************************** >
onSubmit="(document.mailer.action += mailtoandsubject)"> > > > > > > > > > > > > > > > > > > > > >
Recipient 1: >
Recipient 2: >
Subject:
Message:
>
>
> > > ************************************************************************************************************ > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript -- Shop at ssistant Add-ons and Developer Workshops http://www.aflyingstart.net/addons/ STILL PLACES OPEN on Fri 27 April workshop Courses in April Mon 23 : Making a Start in E-Commerce with Shop at ssistant Tue 24 : Meeting Business Needs with the Shop at ssistant Classic system Wed 25 : Building Better Shopping Pages with Shop at ssistant Classic Booking for these Shop at ssistant Classic courses at http://www.shopassistant.net/training/ Or call 01256 880770 Rodney Myers Based in Oxford, England Technical Director, Shop at ssistant eCommerce Solutions From ian.turner at romseyassoc.com Wed Mar 28 05:25:14 2001 From: ian.turner at romseyassoc.com (Ian Turner) Date: Wed, 28 Mar 2001 12:25:14 +0100 Subject: [Javascript] Pb with NS 4.x with layer In-Reply-To: Message-ID: I had a look at this and it appears that NS4 doesn't like the layer tag inside the form tag, you will need to look at either having two forms or putting the layer around the form tags too. All the best Ian -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of SORIANO, St?phane Sent: 28 March 2001 10:27 To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Pb with NS 4.x with layer it doesn't work too -----Message d'origine----- De : Ian Turner [mailto:ian.turner at romseyassoc.com] Envoy? : mercredi 28 mars 2001 11:25 ? : javascript at LaTech.edu Objet : RE: [Javascript] Pb with NS 4.x with layer try placing the form statements inside the body tags. -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of SORIANO, St?phane Sent: 28 March 2001 09:09 To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Pb with NS 4.x with layer the dont change anything i forgot it in my code i know Stephane -----Message d'origine----- De : Ian Turner [mailto:ian.turner at romseyassoc.com] Envoy? : mercredi 28 mars 2001 10:08 ? : javascript at LaTech.edu Objet : RE: [Javascript] Pb with NS 4.x with layer try putting in after the option text. All the best Ian -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of SORIANO, St?phane Sent: 28 March 2001 08:27 To: 'javascript at LaTech.edu' Subject: [Javascript] Pb with NS 4.x with layer Hi, I have this script :
yopyop
The first select is ok, but the second dont appear normally. Someone have an idea ? Thanx for your help Stephane _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From seth at calculon.northrops.com Wed Mar 28 13:40:02 2001 From: seth at calculon.northrops.com (Seth Northrop) Date: Wed, 28 Mar 2001 11:40:02 -0800 (PST) Subject: [Javascript] dynamic forms - HELP Message-ID: I'm getting desperate! :) The only thing I was to happen is to pop up a window with a form, and, have that form result in a population of a select menu. The text box will result in what's seen by the user. The value of that element will be dynamically generated by a backend script and built into the javascript. The only snag to this equation is that some variable names have [ ]'s in their names (which is a reserved character in javascript. This is what I have: In Netscape it works with ONE exception. Although the value APPEARS to be selected once it's dynamically added, if the user doesn't actually TOUCH the pull down (ie, REselect the value) it will submit the form with the value of the element that was selected BEFORE the new value was added. So, I need to either FORCE it to select the new value (and submit with that value without intervention) OR NOT have it selected so the user will think to select it manually. In IE it doesn't work AT ALL! It just dumps the above code and doesn't update the pull down OR execute the window.close(); I presume there is a javascript parse error in there.. but, IE doesn't seem to indicate that. Ugh! This one little javascript UI issue is holding back a rather huge project (nearly 50k of backend programming). Can anyone help? From nvarsou at infoserve.gr Thu Mar 29 01:08:35 2001 From: nvarsou at infoserve.gr (Varsou Nilsa) Date: Thu, 29 Mar 2001 10:08:35 +0300 Subject: [Javascript] dynamic forms - HELP Message-ID: I have done something identically, here's what I did to force the new option to be selected... MyListBox = window.document.forms[0].ListBoxName; for(var i = 0; i < MyListBox.options.length; i++) { if (MyListBox.options[i] != null) MyListBox.options[i].selected = true; } if (MyListBox.value == '') { MyListBox.options[0] = new Option("New Option 1"); MyListBox.options[0].selected = true; } -----Original Message----- From: Seth Northrop [mailto:seth at calculon.northrops.com] Sent: Wednesday, March 28, 2001 10:40 PM To: javascript at LaTech.edu Subject: [Javascript] dynamic forms - HELP I'm getting desperate! :) The only thing I was to happen is to pop up a window with a form, and, have that form result in a population of a select menu. The text box will result in what's seen by the user. The value of that element will be dynamically generated by a backend script and built into the javascript. The only snag to this equation is that some variable names have [ ]'s in their names (which is a reserved character in javascript. This is what I have: In Netscape it works with ONE exception. Although the value APPEARS to be selected once it's dynamically added, if the user doesn't actually TOUCH the pull down (ie, REselect the value) it will submit the form with the value of the element that was selected BEFORE the new value was added. So, I need to either FORCE it to select the new value (and submit with that value without intervention) OR NOT have it selected so the user will think to select it manually. In IE it doesn't work AT ALL! It just dumps the above code and doesn't update the pull down OR execute the window.close(); I presume there is a javascript parse error in there.. but, IE doesn't seem to indicate that. Ugh! This one little javascript UI issue is holding back a rather huge project (nearly 50k of backend programming). Can anyone help? _______________________________________________ Javascript mailing list Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript From alan.easton at unn.ac.uk Thu Mar 29 08:29:50 2001 From: alan.easton at unn.ac.uk (Alan Easton) Date: Thu, 29 Mar 2001 15:29:50 +0100 Subject: [Javascript] Form Reset Button Message-ID: Hello People, Is it possible to replace the Reset button of a form with an image file, but still make it clickable so it will clear the form. I've tried running an OnClick function, but can't get it to work. Thanks for any guidance, Alan Easton mailto:alan.easton at unn.ac.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 2058 bytes Desc: not available URL: From mrees at twii.net Thu Mar 29 08:32:15 2001 From: mrees at twii.net (Rees, Mark (TWIi London)) Date: Thu, 29 Mar 2001 15:32:15 +0100 Subject: [Javascript] RE: Form Reset Button Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC02110B69@lonmail.twii.net> Have a look at the