From jem486749 at yahoo.com Tue Oct 1 01:31:51 2002 From: jem486749 at yahoo.com (jem486749 at yahoo.com) Date: 1 Oct 2002 06:31:51 -0000 Subject: [Javascript] (no subject) Message-ID: <20021001063151.7995.qmail@mailman.xlresponder.com> Click on the link below to remove yourself http://www.xlresponder.com/cgi-bin/varpro/r.cgi?id=dreammaker5&a=javascript at LaTech.edu AOL Users Remove Me From gassinaumasis at hotmail.com Tue Oct 1 05:04:40 2002 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Tue, 01 Oct 2002 10:04:40 +0000 Subject: [Javascript] check for flash? Message-ID: >Anyone know of a javascript way to check to see if flash is installed? I >would like to show a graphic in its place if its not. http://www.xs4all.nl/~ppk/js/index.html?flash.html ppk _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From gassinaumasis at hotmail.com Tue Oct 1 05:07:28 2002 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Tue, 01 Oct 2002 10:07:28 +0000 Subject: [Javascript] Help : writting to message box in iframe Message-ID: >I have a form with the following set in the page > > >
style="background-color:white;position:relative;top:-2px;"> > >
> > >On selecting an appropriate parameter, I need to append the value in the >above form field with the 'code' using Javascript. However I am having >trouble referring it. The code that I am currently looking at is > >document.all.styled_text_message.value += '\n' + code + '\n'; You're treating the iframe as if it were a form field. It isn't, it's an iframe and it has nothing to do with a form. Besides you're using document.all so your script will only work in Explorer. See http://www.xs4all.nl/~ppk/js/index.html?iframe.html for some tips on changing iframe content. ppk _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From nancybv at flyinglemon.com Tue Oct 1 06:41:21 2002 From: nancybv at flyinglemon.com (Nancy Burton-Vulovic) Date: Tue, 1 Oct 2002 07:41:21 -0400 Subject: [Javascript] check for flash? References: Message-ID: <020c01c2693f$781dcbf0$6401a8c0@Nancy> Thank you for this! I had this problem a while ago, and went to Macromedia's site, where the solution seemed to be more trouble than it was worth. bookmarked.... N ----- Original Message ----- From: "Peter-Paul Koch" To: Sent: Tuesday, October 01, 2002 6:04 AM Subject: Re: [Javascript] check for flash? > > > > >Anyone know of a javascript way to check to see if flash is installed? I > >would like to show a graphic in its place if its not. > > http://www.xs4all.nl/~ppk/js/index.html?flash.html > > ppk > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From greg at krieser.com Tue Oct 1 09:51:14 2002 From: greg at krieser.com (greg at krieser.com) Date: Tue, 01 Oct 2002 09:51:14 -0500 Subject: [Javascript] check for flash? Message-ID: <200210011451.JAA30285@ppk.siteprotect.com> Hi Tommy, I had trouble detecting flash on Macs. This appears to work for Macs too. It is just a test page, but it has all of the needed components. http://www.k2concepts.com/sc/fd2.html Greg ? The following message was sent by "Tom Wheeler" on Mon, 30 Sep 2002 17:44:34 -0700. > Anyone know of a javascript way to check to see if flash is installed? > I > would like to show a graphic in its place if its not. > > tommy > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From three11 at usa.com Tue Oct 1 10:46:43 2002 From: three11 at usa.com (three11 jeff) Date: Tue, 01 Oct 2002 10:46:43 -0500 Subject: [Javascript] java breadcrumbs Message-ID: <20021001154643.99376.qmail@mail.com> Hi, Question: In this breadcrumb javascript... https://lists.latech.edu/pipermail/javascript/2002-August/004051.html I do not want the domain name and the first 2 folders to show up in the breadcrumbs because the main folder for this site is barried under those 2 folders. if anyone can help let me know. Thanks jeff -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup From jefferis at petersonsales.net Tue Oct 1 12:58:03 2002 From: jefferis at petersonsales.net (Jefferis Peterson) Date: Tue, 01 Oct 2002 13:58:03 -0400 Subject: [Javascript] Getting image size and controlling window Message-ID: I see that an image opened in its own window returns the dimensions of the image size. Is there a way to feed that info into an onLoad behavior to set the pop up window size ? Jeff ~~~~~~~~~~~~ Jefferis Peterson, Pres. Web Design and Marketing http://www.PetersonSales.net Tel . 724-458-7169 ICQ 19112253 http://www.Slippery-Rock.com - 7,000 hits per year From pcarubbi at libero.it Tue Oct 1 14:00:03 2002 From: pcarubbi at libero.it (Pietro Carubbi) Date: Tue, 1 Oct 2002 21:00:03 +0200 Subject: [Javascript] Best browser for Linux Message-ID: <005c01c2697c$c05e1e50$64fea8c0@PIETRO> Hallo, I developed the main features of an intranet on Windows OS. Now I need to switch the contents on Linux, which will be the default OS. Does anyone know which is the best browser to be used on Linux? Actually I would like to save the results of the past efforts, where I gained an effective interface through the use of JavaScript, DHTML, Flash and so on. For instance, in order to maintain the effects of working with layers, do I have to choose Netscape, Opera, or what else? I will very much appreciate your kind help! Thank you, Bye, Pietro From jefferis at petersonsales.net Tue Oct 1 14:13:45 2002 From: jefferis at petersonsales.net (Jefferis Peterson) Date: Tue, 01 Oct 2002 15:13:45 -0400 Subject: [Javascript] Re: Getting image size and controlling window In-Reply-To: <20021001191455.94358.qmail@vpop.dmv.com> Message-ID: This isn't quite working because I think my image is a variable. Shouldn't the doc write be in the header?: > Large View of <?php echo $img; ?> > > onLoad="self.resizeTo(document.imgItemPic.width,document.imgItemPic.height+2 > 5)" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" > bgcolor="black" text="#FFFFFF"> > >
>
> On 10/1/02 3:14 PM, "Cutter (javascript list)" > wrote: YOUR CODE WAS: > > > > > > Your Title > > > > onLoad="self.resizeTo(document.imgItemPic.width,document.imgItemPic.height+2 > 5)" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> > > > > > Pay attention to the onload event ~~~~~~~~~~~~ Jefferis Peterson, Pres. Web Design and Marketing http://www.PetersonSales.net Tel . 724-458-7169 ICQ 19112253 http://www.Slippery-Rock.com - 7,000 hits per year From javascript at theblades-family.com Tue Oct 1 14:14:55 2002 From: javascript at theblades-family.com (Cutter (javascript list)) Date: Tue, 01 Oct 2002 15:14:55 -0400 Subject: [Javascript] Re: Getting image size and controlling window In-Reply-To: References: Message-ID: <20021001191455.94358.qmail@vpop.dmv.com> for my pic.html I used: Your Title Pay attention to the onload event Cutter Jefferis Peterson writes: > I see that an image opened in its own window returns the dimensions of the > image size. Is there a way to feed that info into an onLoad behavior to set > the pop up window size ? > > Jeff > ~~~~~~~~~~~~ > Jefferis Peterson, Pres. > Web Design and Marketing > http://www.PetersonSales.net > Tel . 724-458-7169 > ICQ 19112253 > > http://www.Slippery-Rock.com - 7,000 hits per year > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From hlove at u.washington.edu Tue Oct 1 14:15:41 2002 From: hlove at u.washington.edu (Harry Love) Date: Tue, 1 Oct 2002 12:15:41 -0700 Subject: [Javascript] java breadcrumbs In-Reply-To: <20021001154643.99376.qmail@mail.com> Message-ID: <000401c2697e$eef318e0$467a5f80@hsl.washington.edu> In this breadcrumb javascript... https://lists.latech.edu/pipermail/javascript/2002-August/004051.html I do not want the domain name and the first 2 folders to show up in the breadcrumbs because the main folder for this site is barried under those 2 folders. if anyone can help let me know. Thanks Jeff Jeff, The need to have a definable starting point for the breadcrumbs is on my to-do list, but unfortunately I don't have time to work on it right now. In the meantime, I can give you some hints for customizing it yourself. The first part of the script gets the URL string from the browser and splits it into segments using the backslash as a delimiter. Those segments are then stored in an array. The rest of the script is all about looping through the array segments and writing those segments to the page. I use if/else statements to find out if the segment is the last segment, the beginning segment, or somewhere in the middle. Then, according to the segment's position in the array and the customization options at the top of the script, each segment is written to the page. So, what you'll have to figure out is how to keep the first three segments of the array (array[0], array[1], array[2]) from being written to the page. You might use another if/else block and say something like (in pseudo-code): If (this is the first segment or this is the second segment or this is the third segment) { do nothing; } Else { do something; } I hope that gives you a good starting point. Harry From hassan at webtuitive.com Tue Oct 1 14:42:37 2002 From: hassan at webtuitive.com (Hassan Schroeder) Date: Tue, 01 Oct 2002 12:42:37 -0700 Subject: [Javascript] java breadcrumbs References: <000401c2697e$eef318e0$467a5f80@hsl.washington.edu> Message-ID: <3D99FAAD.1010601@webtuitive.com> Harry Love wrote: > The need to have a definable starting point for the breadcrumbs is on my > to-do list, but unfortunately I don't have time to work on it right now. > In the meantime, I can give you some hints for customizing it yourself. > > The first part of the script gets the URL string from the browser and > splits it into segments using the backslash as a delimiter. Those > segments are then stored in an array. The rest of the script is all > about looping through the array segments and writing those segments to > the page. From a very brief look at the code, wouldn't changing the '0' in the line below: for(counter=0 ; counter < linkArray.length ; counter++) :: to a positive integer less than linkarray.length take care of it? You could make it flexible with something like: var startpoint = 2; for(counter=startpoint ; counter < linkArray.length ; counter++) HTH! -- H* Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com -- creating dynamic Web sites and applications since 1994 -- From hlove at u.washington.edu Tue Oct 1 15:28:51 2002 From: hlove at u.washington.edu (Harry Love) Date: Tue, 1 Oct 2002 13:28:51 -0700 Subject: [Javascript] java breadcrumbs In-Reply-To: <3D99FAAD.1010601@webtuitive.com> Message-ID: <001201c26989$27c170e0$467a5f80@hsl.washington.edu> From a very brief look at the code, wouldn't changing the '0' in the line below: for(counter=0 ; counter < linkArray.length ; counter++) :: to a positive integer less than linkarray.length take care of it? You could make it flexible with something like: var startpoint = 2; for(counter=startpoint ; counter < linkArray.length ; counter++) HTH! -- H* Hassan Schroeder ----------------------------- hassan at webtuitive.com Yes, that works. [V8 moment] Is there also a quick workaround for customizing the text of the first link if you don't start from the domain name? Let me know and I'll make the change. Harry From jefferis at petersonsales.net Tue Oct 1 15:56:36 2002 From: jefferis at petersonsales.net (Jefferis Peterson) Date: Tue, 01 Oct 2002 16:56:36 -0400 Subject: [Javascript] Passing variable in javascript Message-ID: I'm trying to use an onload behavior to create a resized window, but when I do, I'm losing the variable passed to the page from php. Anyway to preserve the variable through javascript and pass it back to php when the window opens? > > < > Large View of <?php echo $img; ?> > > bgcolor="black" text="#FFFFFF"> > >
>
> > > ~~~~~~~~~~~~ Jefferis Peterson, Pres. Web Design and Marketing http://www.PetersonSales.net Tel . 724-458-7169 ICQ 19112253 http://www.Slippery-Rock.com - 7,000 hits per year From hassan at webtuitive.com Tue Oct 1 16:47:21 2002 From: hassan at webtuitive.com (Hassan Schroeder) Date: Tue, 01 Oct 2002 14:47:21 -0700 Subject: [Javascript] java breadcrumbs References: <001201c26989$27c170e0$467a5f80@hsl.washington.edu> Message-ID: <3D9A17E9.4020402@webtuitive.com> Harry Love wrote: > Yes, that works. [V8 moment] Is there also a quick workaround for > customizing the text of the first link if you don't start from the > domain name? Let me know and I'll make the change. These lines are ~ line# 160 // Is this segment free of periods (.)? // was: if(linkArray[counter].indexOf(".") == -1) if ( counter != startpoint ) // HS addition I'm not sure I'd assume that a value with periods in it is a host and domain name; periods are perfectly legal characters for Unix directory names, FWIW. And make sure 'var startpoint' is declared outside the main function. There may be something else this change breaks in your code, so test as extensively as possible; I only tried it on one file :-) HTH! -- H* Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com -- creating dynamic Web sites and applications since 1994 -- From hlove at u.washington.edu Tue Oct 1 19:00:13 2002 From: hlove at u.washington.edu (Harry Love) Date: Tue, 1 Oct 2002 17:00:13 -0700 Subject: [Javascript] java breadcrumbs In-Reply-To: <3D9A17E9.4020402@webtuitive.com> Message-ID: <000001c269a6$aeb28d60$467a5f80@hsl.washington.edu> I'm not sure I'd assume that a value with periods in it is a host and domain name; periods are perfectly legal characters for Unix directory names, FWIW. Good point. I'll add that to the to-do list. Thanks, Harry From alex.yap at str.com.au Tue Oct 1 19:44:17 2002 From: alex.yap at str.com.au (Alexander Yap) Date: Wed, 2 Oct 2002 10:44:17 +1000 Subject: [Javascript] Best browser for Linux In-Reply-To: <005c01c2697c$c05e1e50$64fea8c0@PIETRO> References: <005c01c2697c$c05e1e50$64fea8c0@PIETRO> Message-ID: <20021002004316.19C64308E67@LaTech.edu> Hi, On Wed, 2 Oct 2002 05:00, you wrote: > Does anyone know which is the best browser to be used on Linux? Mozilla. Comes with a Javascript debugger, really useful for development. -- Alexander Yap Melbourne, Australia From andrew at d2k.com.au Wed Oct 2 02:03:01 2002 From: andrew at d2k.com.au (Andrew Dunn) Date: Wed, 2 Oct 2002 17:03:01 +1000 Subject: [Javascript] Cursor location in a text box Message-ID: <1D0255E75622D51185DB00D0B7E3FF44203B6E@chimaera.d2k.com.au> Hi, I want to retreive the cursor location in a text box, I have looked at the createRange object but it doesn't seem to do what I want as it only gets the text that is selected. Is there a way? From andrew at d2k.com.au Wed Oct 2 02:25:04 2002 From: andrew at d2k.com.au (Andrew Dunn) Date: Wed, 2 Oct 2002 17:25:04 +1000 Subject: [Javascript] Cursor location in a text box Message-ID: <1D0255E75622D51185DB00D0B7E3FF44203B6F@chimaera.d2k.com.au> I got some further information on this problem, I have got the following info from a web site, it says there is a layerX, layerY etc properties which represent the cursor location when a keydown even occurs (which is what I want). What this doesn't tell me is what object these properties belong to, does anyone know? I've tried document and the textbox that is getting the keydown but they both return undefined, (I'm using IE 5, it doesn't need to support anything else as it is an intranet app) KeyDown Occurs when the user depresses a key. Syntax onKeyDown="handlerText" Parameters handlerText is JavaScript code or a call to a JavaScript function. Event of document, Image, Link, and Textarea objects Event properties used type indicates a KeyDown event. target indicates the object to which the event was originally sent. layerX, layerY, pageX, pageY, screenX, and screenY represent the cursor location at the time the KeyDown event occurred. which represents the ASCII value of the key pressed. To get the actual letter, number, or symbol of the pressed key, use the fromCharCode method. To set this property when the ASCII value is unknown, use the charCodeAt method. modifiers contains the list of modifier keys held down when the KeyDown event occurred. -----Original Message----- From: Andrew Dunn [mailto:andrew at d2k.com.au] Sent: Wednesday, 2 October 2002 5:03 PM To: 'javascript at LaTech.edu' Subject: [Javascript] Cursor location in a text box Hi, I want to retreive the cursor location in a text box, I have looked at the createRange object but it doesn't seem to do what I want as it only gets the text that is selected. Is there a way? _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From javascript at theblades-family.com Wed Oct 2 08:14:26 2002 From: javascript at theblades-family.com (Cutter (javascript list)) Date: Wed, 02 Oct 2002 09:14:26 -0400 Subject: [Javascript] Re: Getting image size and controlling window In-Reply-To: References: Message-ID: <20021002131427.34292.qmail@vpop.dmv.com> You may have to adjust this script a little to fit your needs. I the original implementation you will see in document.write statement that we used the window.name property to complete the image name. The calling window.open statement passes the window.name to the new page as the second argument of the function. My implementation was writing this window.open statement dynamically using ColdFusion and SQL. You don't have to use this scenario to make the below page work. It looks like you just need to remove the reference to "+ window.name +". Cutter Jefferis Peterson writes: > This isn't quite working because I think my image is a variable. Shouldn't > the doc write be in the header?: > > >> Large View of <?php echo $img; ?> > > >> > onLoad="self.resizeTo(document.imgItemPic.width,document.imgItemPic.height+2 >> 5)" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" >> bgcolor="black" text="#FFFFFF"> >> >>
>>
>> On 10/1/02 3:14 PM, "Cutter (javascript list)" >> wrote: > > YOUR CODE WAS: >> >> >> >> >> >> Your Title >> >> >> >> > onLoad="self.resizeTo(document.imgItemPic.width,document.imgItemPic.height+2 >> 5)" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> >> >> >> >> >> Pay attention to the onload event > > ~~~~~~~~~~~~ > Jefferis Peterson, Pres. > Web Design and Marketing > http://www.PetersonSales.net > Tel . 724-458-7169 > ICQ 19112253 > > http://www.Slippery-Rock.com - 7,000 hits per year > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From javascript at theblades-family.com Wed Oct 2 08:22:38 2002 From: javascript at theblades-family.com (Cutter (javascript list)) Date: Wed, 02 Oct 2002 09:22:38 -0400 Subject: [Javascript] Re: java breadcrumbs In-Reply-To: <000001c269a6$aeb28d60$467a5f80@hsl.washington.edu> References: <000001c269a6$aeb28d60$467a5f80@hsl.washington.edu> Message-ID: <20021002132238.38396.qmail@vpop.dmv.com> Harry, Your getting a lot of play out of this breadcrumbs script (which works great), why don't you post this to the Annotated Javascript list (which our illustrious list administrator also administers)? I think this would make a great script for some collaboration. (Isn't this how the HeirMenu started?) Cutter Harry Love writes: > > I'm not sure I'd assume that a value with periods in it is a host > and domain name; periods are perfectly legal characters for Unix > directory names, FWIW. > > > Good point. I'll add that to the to-do list. > > Thanks, > Harry > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From javascript at theblades-family.com Wed Oct 2 08:36:56 2002 From: javascript at theblades-family.com (Cutter (javascript list)) Date: Wed, 02 Oct 2002 09:36:56 -0400 Subject: [Javascript] Re: Best browser for Linux In-Reply-To: <005c01c2697c$c05e1e50$64fea8c0@PIETRO> References: <005c01c2697c$c05e1e50$64fea8c0@PIETRO> Message-ID: <20021002133656.45659.qmail@vpop.dmv.com> Pietro, Unfortunately, layers is strictly a feature of Netscape, and an outdated and non-compliant one at that (version 4.x and down). I find that the best browser for the Linux platform is Mozilla (http://www.mozilla.org), which is an open source project from which Netscape originally stemmed from (the Mozilla group has definately surpassed NS). It is very compliant with current W3C standards, so DHTML, JS, CSS should work fairly well. Flash support is a whole other ball of wax as there is no support for Mozilla (Flash 5 support for Netscape is available on Linux, but I wouldn't use NS on any OS in any recent incarnation). Cutter Pietro Carubbi writes: > Hallo, > > I developed the main features of an intranet on Windows OS. > > Now I need to switch the contents on Linux, which will be the default OS. > > Does anyone know which is the best browser to be used on Linux? > > Actually I would like to save the results of the past efforts, where I > gained an effective interface through the use of JavaScript, DHTML, Flash > and so on. > > For instance, in order to maintain the effects of working with layers, do I > have to choose Netscape, Opera, or what else? > > I will very much appreciate your kind help! > > Thank you, > Bye, > > Pietro > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From jefferis at petersonsales.net Wed Oct 2 11:25:09 2002 From: jefferis at petersonsales.net (Jefferis Peterson) Date: Wed, 02 Oct 2002 12:25:09 -0400 Subject: [Javascript] Creating a Popup without toolbars in Php/MySql using Javascript. - a solution Message-ID: My Goal: To create an offset, popup window of a large, variable, picture of jewelry for a site in development with a black background, no toolbars and a variable image. [To view the page now working in progress: http://www.yellow-diamonds.com/ViewALL.php - and click on large view. ] Problems: In JavaScript you can create a popup, but passing a variable image from MySql to the page turned out to be a problem. Since the record set contains a repeating table of rows of items, the "large imageURL" variable of the chosen row has to be passed to the popup page as a distinct variable. The popup could display the image, but you couldn't set the background color. Opening an existing page ["show_image.php"] with a black background with PHP via a link works, but it does not allow you to remove toolbar or set the window size or placement. And, using onLoad behaviors like a simple "self.resize" command in javascript causes variable image data to be lost to the redrawn page. Environment: an MySql database [jodenonline] with an inventory and description of jewelry. Two fields contains links to images in separate folders [thumbnails and images]. The link information is relative not absolute; i.e., thumbnails/image1.gif, images/image1.gif, etc. The record set is created by a query called "viewall" for the entire catalog sorted by item type [bracelets, rings, brooches, etc.] Solution: Opening an existing page {show_image.php} with a black background setting the parameters for the page with an "onClick" behavior. Turning the variable image $query data into a new variable called $img and passing that variable to the page. Results: a popup with a set size, no toolbar, somewhat centered on the monitor. Thanks to All for the help, and please check the pages for browser consistency. Relevant $query page and popup page code follows. Jeff ~~~~~~~~~~~~~~~~~~~~~ Query Page: ViewALL.PHP Joden World Resouces Online Catalog www.Joden.com ','','resizable=yes,width=550,height=400,toolbar= 0, left=200, top=150');return false">LargePicturesClick ~~~~~~~~~~~~~~~ PopUpPage.php [show_image.php] Large View of <?php echo $img; ?>

~~~~~~~~~~~~ Jefferis Peterson, Pres. Web Design and Marketing http://www.PetersonSales.net Tel . 724-458-7169 ICQ 19112253 http://www.Slippery-Rock.com - 7,000 hits per year From mcrank at ecastcorp.com Wed Oct 2 13:11:21 2002 From: mcrank at ecastcorp.com (Mike Crank) Date: Wed, 2 Oct 2002 14:11:21 -0400 Subject: [Javascript] Did you ever find the answer to the server threw an exception error while update a parent window drop down from child window? Message-ID: I have the same problem, do you know the resolution? Thanks in advance! From peter at brunone.com Wed Oct 2 14:12:14 2002 From: peter at brunone.com (Peter Brunone) Date: Wed, 2 Oct 2002 14:12:14 -0500 Subject: [Javascript] Did you ever find the answer to the server threw an exception error while update a parent window drop down from child window? References: Message-ID: <098e01c26a47$a73cb0f0$3995210a@pbrunonePC> I don't think I've been following that discussion, but why would the server throw an error for client-side script? Just curious... -Peter ----- Original Message ----- From: "Mike Crank" | I have the same problem, do you know the resolution? | | Thanks in advance! | From Shivabharath_Palli at NextLinx.com Thu Oct 3 09:37:15 2002 From: Shivabharath_Palli at NextLinx.com (Shivabharath Palli) Date: Thu, 3 Oct 2002 10:37:15 -0400 Subject: [Javascript] upload progress bar. Message-ID: <9932767ED2AAFD40A7E858BAB0450D42010D3690@exchange.nextlinx.com> Hi, i read this on Google.... ************* Hi all. I would like to build a file uploading front-end using
. Is it possible to use Javascript to give the progress of the upload? If the file is large then the user might stop the upload (thinking that the page has frozen, etc) without knowing the progress. Thanks in advance. David *************** i too need the same functionality. can you please mail me the sample code, if you have already implemented that. Thanks in advance Shiva From hangnga at hcmpt.vnn.vn Fri Oct 4 19:47:45 2002 From: hangnga at hcmpt.vnn.vn (hangnga) Date: Fri, 4 Oct 2002 17:47:45 -0700 Subject: [Javascript] (no subject) Message-ID: <000101c273b3$26cf5f60$5e4b460a@tranvanviet> -------------- next part -------------- An HTML attachment was scrubbed... URL: From kswilfong at hotmail.com Mon Oct 7 08:59:05 2002 From: kswilfong at hotmail.com (Karen Wilfong) Date: Mon, 7 Oct 2002 09:59:05 -0400 Subject: [Javascript] Passing a value with an image submit button Message-ID: I need to submit a form with an image that also passes a value when the image is clicked. With a submit button, it would look like this: All of the scripts I've seen work fine if you don't need to pass a value with the submit image. I can't use another hidden field, the value must be passed with the image. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From nancybv at idirect.ca Mon Oct 7 09:59:50 2002 From: nancybv at idirect.ca (Nancy Burton-Vulovic) Date: Mon, 7 Oct 2002 10:59:50 -0400 Subject: [Javascript] Passing a value with an image submit button References: Message-ID: <072f01c26e12$2f8b7310$6401a8c0@Nancy> use the Name field, rather than the value field. What you will get, because it's an image, is valueToBePassed.x=number and valueToBePassed.y=number, but you can parse for the existence of valueToBePassed. N ----- Original Message ----- From: Karen Wilfong To: javascript at LaTech.edu Sent: Monday, October 07, 2002 9:59 AM Subject: [Javascript] Passing a value with an image submit button I need to submit a form with an image that also passes a value when the image is clicked. With a submit button, it would look like this: All of the scripts I've seen work fine if you don't need to pass a value with the submit image. I can't use another hidden field, the value must be passed with the image. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ws at chello.se Mon Oct 7 10:16:37 2002 From: ws at chello.se (ws) Date: Mon, 07 Oct 2002 17:16:37 +0200 Subject: [Javascript] Obtain IP number Message-ID: <5.1.1.6.0.20021007171439.009ea540@pop.chello.se> Is there a way of, by javascript, obtaining a user's IP number and include it with the results of a web form? The user enters his name, e-mail etc into the form but I'd also like to get the IP number... Regards, L Johansson From Mark.Drozd at walgreens.com Mon Oct 7 15:11:03 2002 From: Mark.Drozd at walgreens.com (Mark.Drozd at walgreens.com) Date: Mon, 7 Oct 2002 15:11:03 -0500 Subject: [Javascript] Obtain IP number Message-ID: This applet has been helpful to me in obtaining IP addresses...even when the user is going through a Frame relay or behind a firewall. Not pure javascript but I think you will find it works much more accurately. You will have to make a small modification to pass the IP value back as a form field. Hope this helps... http://reglos.de/myaddress/MyAddress.html ws @LaTech.edu on 10/07/2002 10:16:37 AM Please respond to javascript at LaTech.edu Sent by: javascript-admin at LaTech.edu To: javascript at LaTech.edu cc: Subject: [Javascript] Obtain IP number Is there a way of, by javascript, obtaining a user's IP number and include it with the results of a web form? The user enters his name, e-mail etc into the form but I'd also like to get the IP number... Regards, L Johansson _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From Anthonywebster at venda.com Tue Oct 8 04:16:20 2002 From: Anthonywebster at venda.com (Anthony Webster) Date: Tue, 8 Oct 2002 10:16:20 +0100 Subject: [Javascript] href vs onclick Message-ID: <2BA3903C0E9C284F9AA18B2E123CF5ED1508C4@VENDAC01.uk.venda> hi, I always used to call my scripts like this: click here but have recently found this is causing problems with IE5 the workaround has been to do this: click here is this the correct way to call scripts or are both methods acceptable? just wondering if I've been doing things wrong all this time, thanks anthony From gassinaumasis at hotmail.com Tue Oct 8 05:29:41 2002 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Tue, 08 Oct 2002 10:29:41 +0000 Subject: [Javascript] href vs onclick Message-ID: >I always used to call my scripts like this: >click here > >but have recently found this is causing problems with IE5 5.0 (as opposed to 5.5)? >the workaround has been to do this: >click here > >is this the correct way to call scripts or are both methods acceptable? > >just wondering if I've been doing things wrong all this time, There's a bug in IE 5.0 that requires you to use when submitting a form through JavaScript. The onClick simply won't work. But I've never seen this bug creep up in other circumstances. In any case it's solved in IE 5.5 ppk _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From Anthonywebster at venda.com Tue Oct 8 05:32:22 2002 From: Anthonywebster at venda.com (Anthony Webster) Date: Tue, 8 Oct 2002 11:32:22 +0100 Subject: [Javascript] href vs onclick Message-ID: <2BA3903C0E9C284F9AA18B2E123CF5ED3038E5@VENDAC01.uk.venda> hi peter, yes it was in 5.0 and the link was inside a form. thanks for your help, anthony -----Original Message----- From: Peter-Paul Koch [mailto:gassinaumasis at hotmail.com] Sent: 08 October 2002 11:30 To: javascript at LaTech.edu Subject: Re: [Javascript] href vs onclick >I always used to call my scripts like this: >click here > >but have recently found this is causing problems with IE5 5.0 (as opposed to 5.5)? >the workaround has been to do this: >click here > >is this the correct way to call scripts or are both methods acceptable? > >just wondering if I've been doing things wrong all this time, There's a bug in IE 5.0 that requires you to use when submitting a form through JavaScript. The onClick simply won't work. But I've never seen this bug creep up in other circumstances. In any case it's solved in IE 5.5 ppk _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From CNafziger at sauder.com Tue Oct 8 13:35:07 2002 From: CNafziger at sauder.com (Chris Nafziger) Date: Tue, 8 Oct 2002 14:35:07 -0400 Subject: [Javascript] Delay before print??? Message-ID: <622A954DD517D411B20C00508BCF23B00BF0CE47@mail> First time I've every had to worry about printing in a pop-up window that you want to close as soon as possible. Code: window.print(); for(i=0;i<100000;i++); window.close(); With the loop in, the spool file is created and the doc prints fine. If you take the loop out, the window closes, and nothing prints. Also tried using the onAfterPrint event - same thing happens (even though the JSB says that event fires after the page is sent to the printer or spooler.. How do you guys typically handle something like this? From HSenior at twii.net Wed Oct 9 04:20:45 2002 From: HSenior at twii.net (Senior, Henry (TWIi London)) Date: Wed, 9 Oct 2002 10:20:45 +0100 Subject: [Javascript] RE: href vs onclick (Anthony Webster) Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC04338513@lon.webmail.twii.net> It's a good idea to use "return false" eg. onclick="functionName();return false" this way the browser doesn't try to go to whatever is specified in the href when the link is clicked. If the onclick calls a submit function then you have effectively asked the browser to go to the href and the action of whatever form you are submitting. -----Original Message----- From: javascript-request at LaTech.edu [mailto:javascript-request at LaTech.edu] Sent: 08 October 2002 18:01 To: javascript at LaTech.edu Subject: Javascript digest, Vol 1 #771 - 4 msgs Send Javascript mailing list submissions to javascript at LaTech.edu To subscribe or unsubscribe via the World Wide Web, visit https://lists.LaTech.edu/mailman/listinfo/javascript or, via email, send a message with subject or body 'help' to javascript-request at LaTech.edu You can reach the person managing the list at javascript-admin at LaTech.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Javascript digest..." Today's Topics: 1. Re: Obtain IP number (Mark.Drozd at walgreens.com) 2. href vs onclick (Anthony Webster) 3. Re: href vs onclick (Peter-Paul Koch) 4. RE: href vs onclick (Anthony Webster) --__--__-- Message: 1 Subject: Re: [Javascript] Obtain IP number To: javascript at LaTech.edu From: Mark.Drozd at walgreens.com Date: Mon, 7 Oct 2002 15:11:03 -0500 Reply-To: javascript at LaTech.edu This applet has been helpful to me in obtaining IP addresses...even when the user is going through a Frame relay or behind a firewall. Not pure javascript but I think you will find it works much more accurately. You will have to make a small modification to pass the IP value back as a form field. Hope this helps... http://reglos.de/myaddress/MyAddress.html ws @LaTech.edu on 10/07/2002 10:16:37 AM Please respond to javascript at LaTech.edu Sent by: javascript-admin at LaTech.edu To: javascript at LaTech.edu cc: Subject: [Javascript] Obtain IP number Is there a way of, by javascript, obtaining a user's IP number and include it with the results of a web form? The user enters his name, e-mail etc into the form but I'd also like to get the IP number... Regards, L Johansson _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript --__--__-- Message: 2 Date: Tue, 8 Oct 2002 10:16:20 +0100 From: "Anthony Webster" To: Subject: [Javascript] href vs onclick Reply-To: javascript at LaTech.edu hi, I always used to call my scripts like this: click here but have recently found this is causing problems with IE5 the workaround has been to do this: click here is this the correct way to call scripts or are both methods acceptable? just wondering if I've been doing things wrong all this time, thanks anthony --__--__-- Message: 3 From: "Peter-Paul Koch" To: javascript at LaTech.edu Subject: Re: [Javascript] href vs onclick Date: Tue, 08 Oct 2002 10:29:41 +0000 Reply-To: javascript at LaTech.edu >I always used to call my scripts like this: >click here > >but have recently found this is causing problems with IE5 5.0 (as opposed to 5.5)? >the workaround has been to do this: >click here > >is this the correct way to call scripts or are both methods acceptable? > >just wondering if I've been doing things wrong all this time, There's a bug in IE 5.0 that requires you to use when submitting a form through JavaScript. The onClick simply won't work. But I've never seen this bug creep up in other circumstances. In any case it's solved in IE 5.5 ppk _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com --__--__-- Message: 4 Subject: RE: [Javascript] href vs onclick Date: Tue, 8 Oct 2002 11:32:22 +0100 From: "Anthony Webster" To: Reply-To: javascript at LaTech.edu hi peter, yes it was in 5.0 and the link was inside a form. thanks for your help, anthony -----Original Message----- From: Peter-Paul Koch [mailto:gassinaumasis at hotmail.com] Sent: 08 October 2002 11:30 To: javascript at LaTech.edu Subject: Re: [Javascript] href vs onclick >I always used to call my scripts like this: >click here > >but have recently found this is causing problems with IE5 5.0 (as opposed to 5.5)? >the workaround has been to do this: >click here > >is this the correct way to call scripts or are both methods acceptable? > >just wondering if I've been doing things wrong all this time, There's a bug in IE 5.0 that requires you to use =20 when submitting a form through JavaScript. The onClick simply won't = work.=20 But I've never seen this bug creep up in other circumstances. In any case it's solved in IE 5.5 ppk _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript --__--__-- _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript End of Javascript Digest DISCLAIMER - The preceding e-mail message (including any attachments) contains information that may be confidential, may be protected by the attorney-client or other applicable privileges, or may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above. If you are not an intended recipient of this message, or have otherwise received it in error, please notify the sender by replying to this message and then delete all copies of it from your computer system. Any use, dissemination, distribution, or reproduction of this message by unintended recipients is not authorized and may be unlawful. The contents of this communication do not necessarily represent the views of this company. From Raymond.TANTERI at cr-mip.fr Thu Oct 10 07:35:29 2002 From: Raymond.TANTERI at cr-mip.fr (TANTERI Raymond) Date: Thu, 10 Oct 2002 14:35:29 +0200 Subject: [Javascript] =?iso-8859-1?Q?pardonnez_moi_mais_je_n=27arrive_pas_=E0_faire_?= =?iso-8859-1?Q?fonctionner_votre_script?= Message-ID: <17BC583A26CCD31193AE00508B9A429EA2D6AD@IRIS> ? l'exution de la page il ne se passe rien. merci de votre r?ponse -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndelighandi at netik.com Thu Oct 10 09:34:53 2002 From: ndelighandi at netik.com (Nousha Delighandi) Date: Thu, 10 Oct 2002 15:34:53 +0100 Subject: [Javascript] HTML textbox Message-ID: <1C6AE6854A8ED411B00200105A45F3DFD77032@exchange1.netiklon.netik.com> Hi, I need to get the position of cursor in the textarea and after wards set the cursor to the next position. Is this possible? Thank you Nousha From gassinaumasis at hotmail.com Thu Oct 10 11:52:09 2002 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Thu, 10 Oct 2002 16:52:09 +0000 Subject: [Javascript] HTML textbox Message-ID: >I need to get the position of cursor in the textarea and after wards set >the cursor to the next position. Is this possible? As far as I know this is not possible. But try and search for the Range API on both W3C and MSDN. If it is possible it's done through this Range API. ppk _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com From OfficeMgr at NetVA.com Thu Oct 10 12:47:27 2002 From: OfficeMgr at NetVA.com (OfficeMgr) Date: Thu, 10 Oct 2002 13:47:27 -0400 Subject: [Javascript] Pop up windows with secure URL's Message-ID: <002301c27085$1a8ffb00$94dbfea9@bigdaddy> I have a script that displays a link to a pop up window. The URL in the pop up is a secure site which does my third party credit card processing. Everything works well, except there is no visual cues that this is a secure site (i.e. lock icon, etc.) Is there a method of having a pop up window which displays a secure URL (https://) AND shows the secure symbol in the browser window? Thanks, Brent From Esther_Strom at hmco.com Thu Oct 10 12:54:31 2002 From: Esther_Strom at hmco.com (Esther_Strom at hmco.com) Date: Thu, 10 Oct 2002 12:54:31 -0500 Subject: [Javascript] Pop up windows with secure URL's Message-ID: Use a window.open function that passes options: function openWin2(url,winName,height,width,options){ var winHeight = parseInt(height); var winWidth = parseInt(width) + 15; //var winOptions = "location=no,toolbar=no,menubar=yes,resizable=yes" var winOptions = "location=yes,toolbar=no,menubar=yes,resizable=yes" popupWin = window.open(url,winName,'width=' + winWidth + ',height=' + winHeight +','+winOptions); } Call it like this: Click From what I've seen, this works in 4+ versions of Netscape. Not sure about IE. |------------------------------| | E S T H E R S T R O M, CLPP | | Notes Application Development| | McDougal Littell | | 909 Davis Street | | Evanston, IL 60201 USA | | w: 847.424.3209 | | e: esther_strom at hmco.com | |------------------------------| "OfficeMgr" .com> cc: Sent by: Subject: [Javascript] Pop up windows with secure URL's javascript-admin @LaTech.edu 10/10/2002 12:47 PM Please respond to javascript I have a script that displays a link to a pop up window. The URL in the pop up is a secure site which does my third party credit card processing. Everything works well, except there is no visual cues that this is a secure site (i.e. lock icon, etc.) Is there a method of having a pop up window which displays a secure URL (https://) AND shows the secure symbol in the browser window? Thanks, Brent _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From jgordon at directfile.com Thu Oct 10 14:04:22 2002 From: jgordon at directfile.com (Josiah Gordon) Date: Thu, 10 Oct 2002 12:04:22 -0700 Subject: [Javascript] OT: IE's handling of CSS body borders In-Reply-To: Message-ID: Does anyone know why IE and Netscape/Mozilla render borders on BODY elements differently with versions 6 and 7, respectively? In IE the CSS below creates the look of a screen-centered IFRAME (with the entire scrollbar inside of the border), but in Mozilla the page simply has a blue border with the default scrollbar. Is Mozilla's implementation (the "normal" way) the correct way? The CSS: border-width: 20px; border-style: solid; border-color: #6487DC; Just curious. Saw this on Microsoft's Baseline Security Analyzer (highly recommended) and thought it was a rather nice effect. --Josiah Gordon From rodney at aflyingstart.net Thu Oct 10 15:50:53 2002 From: rodney at aflyingstart.net (Rodney Myers) Date: Thu, 10 Oct 2002 21:50:53 +0100 Subject: [Javascript] Pop up windows with secure URL's References: Message-ID: <3DA5E82C.DB8A8258@aflyingstart.net> status=yes would probably go down well too! Rodney Esther_Strom at hmco.com wrote: > Use a window.open function that passes options: > > function openWin2(url,winName,height,width,options){ > var winHeight = parseInt(height); > var winWidth = parseInt(width) + 15; > //var winOptions = "location=no,toolbar=no,menubar=yes,resizable=yes" > var winOptions = "location=yes,toolbar=no,menubar=yes,resizable=yes" > popupWin = window.open(url,winName,'width=' + winWidth + ',height=' > + winHeight +','+winOptions); > } > > Call it like this: > > Click > > >From what I've seen, this works in 4+ versions of Netscape. Not sure about > IE. > |------------------------------| > | E S T H E R S T R O M, CLPP | > | Notes Application Development| > | McDougal Littell | > | 909 Davis Street | > | Evanston, IL 60201 USA | > | w: 847.424.3209 | > | e: esther_strom at hmco.com | > |------------------------------| > > > "OfficeMgr" > > .com> cc: > Sent by: Subject: [Javascript] Pop up windows with secure URL's > javascript-admin > @LaTech.edu > > > 10/10/2002 12:47 > PM > Please respond > to javascript > > > > I have a script that displays a link to a pop up window. The URL in the > pop > up is a secure site which does my third party credit card processing. > Everything works well, except there is no visual cues that this is a secure > site (i.e. lock icon, etc.) > > Is there a method of having a pop up window which displays a secure URL > (https://) AND shows the secure symbol in the browser window? > > Thanks, > Brent > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From OfficeMgr at NetVA.com Thu Oct 10 17:45:54 2002 From: OfficeMgr at NetVA.com (OfficeMgr) Date: Thu, 10 Oct 2002 18:45:54 -0400 Subject: [Javascript] Re: Pop up windows with secure URL's References: Message-ID: <004d01c270ae$ce88fde0$94dbfea9@bigdaddy> Ah, I see the problem now. I had everything right, but I always check in IE 5.0 first then in Netscape 4.08. Basically the problem is due to the location of the secure icon in IE5 vs Netscape. The icon shows in Netscape because it is in the main toolbar. It DOES NOT show in IE5 because it is located at the bottom of the window in an additional bar(?). Is there any other way of displaying security information in a pop up window in IE5? Thanks, Brent ----- Original Message ----- From: To: Cc: Sent: Thursday, October 10, 2002 1:54 PM Subject: Re: [Javascript] Pop up windows with secure URL's > > Use a window.open function that passes options: > > function openWin2(url,winName,height,width,options){ > var winHeight = parseInt(height); > var winWidth = parseInt(width) + 15; > file://var winOptions = "location=no,toolbar=no,menubar=yes,resizable=yes" > var winOptions = "location=yes,toolbar=no,menubar=yes,resizable=yes" > popupWin = window.open(url,winName,'width=' + winWidth + ',height=' > + winHeight +','+winOptions); > } > > > Call it like this: > > Click > > From what I've seen, this works in 4+ versions of Netscape. Not sure about > IE. > |------------------------------| > | E S T H E R S T R O M, CLPP | > | Notes Application Development| > | McDougal Littell | > | 909 Davis Street | > | Evanston, IL 60201 USA | > | w: 847.424.3209 | > | e: esther_strom at hmco.com | > |------------------------------| From cpedro at iol.pt Fri Oct 11 09:48:23 2002 From: cpedro at iol.pt (Carlos Pedro) Date: Fri, 11 Oct 2002 09:48:23 -0500 Subject: [Javascript] can't put info in a TextBox Message-ID: <5.1.0.14.2.20021011094814.02f76d70@mail.latech.edu> hi i want make a function more than this receive 3 values from 3 diferent textboxes and the result go to another textbox but i have a problem i only know the name of the text box after the page are build because the name of textbox are create automaticly?? is possible make a function like i want??? thaks __________ http://www.IOL.pt Todo o mundo passa por aqui! From pcarubbi at libero.it Sun Oct 13 10:46:27 2002 From: pcarubbi at libero.it (Pietro Carubbi) Date: Sun, 13 Oct 2002 17:46:27 +0200 Subject: [Javascript] iframes and target=parent Message-ID: <003f01c272cf$b16afa10$64fea8c0@PIETRO> Hallo, I would like to let users open several different pages from several links contained on one page, and these links open their pages in a space of the same first page. I have seen this feature for instance at http://www.dynamicdrive.com/dynamicindex3/dropdownview2.htm, where it is implemented through IFRAMEs. The problem is that when the user has found a new link in the page contained in the iframe, and wants to jump to the related new page, this new page still opens within the iframe, when I would like that the page accessed from the iframe will open in the _parent window. Yet, I cannot add any specification of target=parent in the external pages opened within the iframe. How can I let users view in full size the page accessed from the iframe? Pietro From to0ntown at yahoo.com Sun Oct 13 13:29:03 2002 From: to0ntown at yahoo.com (ToOn) Date: Sun, 13 Oct 2002 11:29:03 -0700 (PDT) Subject: [Javascript] rollover/cascading menu problem Message-ID: <20021013182903.38251.qmail@web20707.mail.yahoo.com> Hi Angie. I have been trying to find a script that gives me cascading menus from an image like the one at http://www.insession.com. I am also a novice Javascripter who just modifies other codes for personal use. Anyways, I would be really grateful if you can help me with this thing. I don't really need rollover images, cuz that will probably make everything much more complex. Please please help Angie :) __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com From fisher at volstate.net Sun Oct 13 18:36:40 2002 From: fisher at volstate.net (Alvin Fisher) Date: Sun, 13 Oct 2002 19:36:40 -0400 Subject: [Javascript] Alphabet buttons & code pages Message-ID: <000f01c27311$63ecd960$58108142@alvin> Hi, I am new to the group. I know a little about JavaScript, but not all that much. I have made a multi-language Christian song index. Here is the URL, so that folks can look and see what I am talking about: http://www.volstate.net/~fisher/hymnintl The top frame has alphabet buttons that show the first letters of the songs in the chosen language that are in the index. With English, for example, all the letters except X are displayed, because there are English songs that begin with every letter except X. I don't think this works in Netscape, however, because I don't know how to make the buttons disappear in Netscape. Perhaps I could use some other technique in Netscape to indicate that certain letters are not available. To include Russian, I wanted to use the same set of buttons, but just change the letter that was displayed. I tried changing the "Value" associated with the button, but this didn't work. I tried loading a different htm into the top frame, but I didn't manage. Finally, I created a set of buttons that will show only when the language chosen uses the Cyrillic alphabet. So, if you choose Russian (and perhaps in the future Bulgarian, Ukrainian or Serbian), the Roman alphabet disappears and the Cyrillic one becomes visible. But, if you choose a language like English that uses the Roman alphabet, the Cyrillic one disappears. In order to make the additional set of buttons visible I had to increase the size of the top window, which decreases the size of the bottom window. So far, it works pretty well, except that my HTML editor doesn't like my command to display Russian, which is: However, this is the only command I have discovered that makes Internet Explorer display Russian consistently. I tried using a different one I found, that included charset as part of content. HoTMetaL liked that command, but Internet Explorer did strange things with it. Would Unicode apply to my situation, and if so, how do you use it? If I want to include other alphabets later on, such as Korean, Hebrew or Arabic, and if I still can not change the display on the buttons, and still can not load a different htm into the top frame, and don't want to make the top frame any larger, is there a way to make scroll bar on the top frame programmatically scroll down to the alphabet buttons for the related language? Thanks in advance for any help. Alvin Fisher Right now, I have -------------- next part -------------- An HTML attachment was scrubbed... URL: From piaohw at neusoft.com Sun Oct 13 19:48:46 2002 From: piaohw at neusoft.com (piaohw) Date: Mon, 14 Oct 2002 08:48:46 +0800 Subject: [Javascript] how can change select's options dynamic Message-ID: <002f01c2731b$7452cd50$73d9a8c0@piaohw> hi: I want change select's options dynamic without refresh page,but I don't know how to.If the function like this can realize,if you know ,please tell me .Thanks! Steven Piao -------------- next part -------------- An HTML attachment was scrubbed... URL: From flyinglemon at flyinglemon.com Sun Oct 13 20:00:32 2002 From: flyinglemon at flyinglemon.com (Flying Lemon) Date: Sun, 13 Oct 2002 21:00:32 -0400 Subject: [Javascript] Alphabet buttons & code pages References: <000f01c27311$63ecd960$58108142@alvin> Message-ID: <00d501c2731d$19929d80$6401a8c0@Nancy> I don't know how to solve your problem except to suggest that Netscape 4x uses layers. Your code works fine in Netscape 7, by the way, except that I can't get the actual songs. And it's a very cool idea. I really like it! N ----- Original Message ----- From: Alvin Fisher To: Javascript Discussion Group Sent: Sunday, October 13, 2002 7:36 PM Subject: [Javascript] Alphabet buttons & code pages Hi, I am new to the group. I know a little about JavaScript, but not all that much. I have made a multi-language Christian song index. Here is the URL, so that folks can look and see what I am talking about: http://www.volstate.net/~fisher/hymnintl The top frame has alphabet buttons that show the first letters of the songs in the chosen language that are in the index. With English, for example, all the letters except X are displayed, because there are English songs that begin with every letter except X. I don't think this works in Netscape, however, because I don't know how to make the buttons disappear in Netscape. Perhaps I could use some other technique in Netscape to indicate that certain letters are not available. To include Russian, I wanted to use the same set of buttons, but just change the letter that was displayed. I tried changing the "Value" associated with the button, but this didn't work. I tried loading a different htm into the top frame, but I didn't manage. Finally, I created a set of buttons that will show only when the language chosen uses the Cyrillic alphabet. So, if you choose Russian (and perhaps in the future Bulgarian, Ukrainian or Serbian), the Roman alphabet disappears and the Cyrillic one becomes visible. But, if you choose a language like English that uses the Roman alphabet, the Cyrillic one disappears. In order to make the additional set of buttons visible I had to increase the size of the top window, which decreases the size of the bottom window. So far, it works pretty well, except that my HTML editor doesn't like my command to display Russian, which is: However, this is the only command I have discovered that makes Internet Explorer display Russian consistently. I tried using a different one I found, that included charset as part of content. HoTMetaL liked that command, but Internet Explorer did strange things with it. Would Unicode apply to my situation, and if so, how do you use it? If I want to include other alphabets later on, such as Korean, Hebrew or Arabic, and if I still can not change the display on the buttons, and still can not load a different htm into the top frame, and don't want to make the top frame any larger, is there a way to make scroll bar on the top frame programmatically scroll down to the alphabet buttons for the related language? Thanks in advance for any help. Alvin Fisher Right now, I have -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at d2k.com.au Mon Oct 14 00:04:02 2002 From: andrew at d2k.com.au (Andrew Dunn) Date: Mon, 14 Oct 2002 15:04:02 +1000 Subject: [Javascript] (no subject) Message-ID: <1D0255E75622D51185DB00D0B7E3FF44203BDB@chimaera.d2k.com.au> An HTML attachment was scrubbed... URL: From piaohw at neusoft.com Mon Oct 14 00:54:52 2002 From: piaohw at neusoft.com (piaohw) Date: Mon, 14 Oct 2002 13:54:52 +0800 Subject: [Javascript] how can change select's options dynamic References: <002f01c2731b$7452cd50$73d9a8c0@piaohw> <00a501c27349$1dc9da90$dfdea8c0@PCCostea> Message-ID: <00c201c27346$377cb5a0$73d9a8c0@piaohw> Thanks! But you misunderstanded the problem I meet. The originally meaning I refered is how to change the options's value nor to change which one being selected.I find the solutions of the problem. targetobj is the select object I want to change its options , the refereddata is an array to store the values I want to change to select object's options's text. for (i = 0; i < refereddata.length; i++) { var newOption = document.createElement("OPTION"); newOption.text="refereddata[i]"; newOption.value="i"; targetobj.options[i] = new Option(newOption.text,newOption.value); } targetobj.length = i; ----- Original Message ----- From: Dan Costea To: javascript at LaTech.edu Sent: Monday, October 14, 2002 2:12 PM Subject: Re: [Javascript] how can change select's options dynamic here is an example:
If you want more about HTML "select" object, look on the documentation (this is for IE): http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/select.asp ----- Original Message ----- From: piaohw To: javascript at LaTech.edu Sent: Monday, October 14, 2002 2:48 AM Subject: [Javascript] how can change select's options dynamic hi: I want change select's options dynamic without refresh page,but I don't know how to.If the function like this can realize,if you know ,please tell me .Thanks! Steven Piao -------------- next part -------------- An HTML attachment was scrubbed... URL: From costea.dan at ssi-schaefer.ro Mon Oct 14 01:12:37 2002 From: costea.dan at ssi-schaefer.ro (Dan Costea) Date: Mon, 14 Oct 2002 08:12:37 +0200 Subject: [Javascript] how can change select's options dynamic References: <002f01c2731b$7452cd50$73d9a8c0@piaohw> Message-ID: <00a501c27349$1dc9da90$dfdea8c0@PCCostea> here is an example:
If you want more about HTML "select" object, look on the documentation (this is for IE): http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/select.asp ----- Original Message ----- From: piaohw To: javascript at LaTech.edu Sent: Monday, October 14, 2002 2:48 AM Subject: [Javascript] how can change select's options dynamic hi: I want change select's options dynamic without refresh page,but I don't know how to.If the function like this can realize,if you know ,please tell me .Thanks! Steven Piao -------------- next part -------------- An HTML attachment was scrubbed... URL: From paragshahesoft at yahoo.com Mon Oct 14 06:04:18 2002 From: paragshahesoft at yahoo.com (Parag Shah) Date: Mon, 14 Oct 2002 04:04:18 -0700 (PDT) Subject: [Javascript] Print () function on Mac IE and Netscape Message-ID: <20021014110418.82035.qmail@web20417.mail.yahoo.com> Dear sir, I want to know whether print() function works in mac IE and Netscape. I want to print a page on button click. I dont have the mac OS system to test this out. So can you please guide me on this matter. or any links on www on this to get information about it. Thanks in advance. Parag. __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com From gassinaumasis at hotmail.com Mon Oct 14 06:34:13 2002 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Mon, 14 Oct 2002 11:34:13 +0000 Subject: [Javascript] Print () function on Mac IE and Netscape Message-ID: > I want to know whether print() function works >in mac IE and Netscape. In Netscape, but not in Explorer. In Explorer on Mac it is totally impossible to use JavaScript to print the page. See http://www.xs4all.nl/~ppk/js/index.html?print.html for some more information. ppk _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From fisher at volstate.net Mon Oct 14 08:03:31 2002 From: fisher at volstate.net (Alvin Fisher) Date: Mon, 14 Oct 2002 09:03:31 -0400 Subject: [Javascript] Alphabet buttons & code pages References: <000f01c27311$63ecd960$58108142@alvin> <00d501c2731d$19929d80$6401a8c0@Nancy> Message-ID: <001101c27382$19fc40e0$3a108142@alvin> Thanks for the information and compliment. I am not sure what will make it possible for you to get the songs. If you have not already tried this, click the button "Open in new window" before clicking "Go to song." If you received "File not found" you may have found a broken link. There are a few broken links right now, but most are not broken. ----- Original Message ----- From: Flying Lemon To: javascript at LaTech.edu Sent: Sunday, October 13, 2002 9:00 PM Subject: Re: [Javascript] Alphabet buttons & code pages I don't know how to solve your problem except to suggest that Netscape 4x uses layers. Your code works fine in Netscape 7, by the way, except that I can't get the actual songs. And it's a very cool idea. I really like it! N ----- Original Message ----- From: Alvin Fisher To: Javascript Discussion Group Sent: Sunday, October 13, 2002 7:36 PM Subject: [Javascript] Alphabet buttons & code pages Hi, I am new to the group. I know a little about JavaScript, but not all that much. I have made a multi-language Christian song index. Here is the URL, so that folks can look and see what I am talking about: http://www.volstate.net/~fisher/hymnintl The top frame has alphabet buttons that show the first letters of the songs in the chosen language that are in the index. With English, for example, all the letters except X are displayed, because there are English songs that begin with every letter except X. I don't think this works in Netscape, however, because I don't know how to make the buttons disappear in Netscape. Perhaps I could use some other technique in Netscape to indicate that certain letters are not available. To include Russian, I wanted to use the same set of buttons, but just change the letter that was displayed. I tried changing the "Value" associated with the button, but this didn't work. I tried loading a different htm into the top frame, but I didn't manage. Finally, I created a set of buttons that will show only when the language chosen uses the Cyrillic alphabet. So, if you choose Russian (and perhaps in the future Bulgarian, Ukrainian or Serbian), the Roman alphabet disappears and the Cyrillic one becomes visible. But, if you choose a language like English that uses the Roman alphabet, the Cyrillic one disappears. In order to make the additional set of buttons visible I had to increase the size of the top window, which decreases the size of the bottom window. So far, it works pretty well, except that my HTML editor doesn't like my command to display Russian, which is: However, this is the only command I have discovered that makes Internet Explorer display Russian consistently. I tried using a different one I found, that included charset as part of content. HoTMetaL liked that command, but Internet Explorer did strange things with it. Would Unicode apply to my situation, and if so, how do you use it? If I want to include other alphabets later on, such as Korean, Hebrew or Arabic, and if I still can not change the display on the buttons, and still can not load a different htm into the top frame, and don't want to make the top frame any larger, is there a way to make scroll bar on the top frame programmatically scroll down to the alphabet buttons for the related language? Thanks in advance for any help. Alvin Fisher Right now, I have -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ri37ck8804R at yahoo.jp Mon Oct 14 15:01:21 2002 From: Ri37ck8804R at yahoo.jp (Rick Ruben) Date: Mon, 14 Oct 2002 20:01:21 UT Subject: [Javascript] hi Message-ID: <200210141959.g9EJxE8Q046999@helius.latech.edu> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From ja.kenney at ntlworld.com Tue Oct 15 16:16:13 2002 From: ja.kenney at ntlworld.com (julia) Date: Tue, 15 Oct 2002 22:16:13 +0100 Subject: [Javascript] help Message-ID: <000801c27490$178d8b20$e7b46251@your1p37d9kihs> hi, i need a link that opens up a new window because I'm using frames and its a right sod. please help (y2kenneyncn at yahoo.co.uk) -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at jwarner.com Tue Oct 15 16:27:14 2002 From: john at jwarner.com (John) Date: Tue, 15 Oct 2002 17:27:14 -0400 Subject: [Javascript] help In-Reply-To: <000801c27490$178d8b20$e7b46251@your1p37d9kihs> Message-ID: Yahoo is that what you need? John Warner address: mailto:john at jwarner.com -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of julia Sent: Tuesday, October 15, 2002 5:16 PM To: javascript at LaTech.edu Subject: [Javascript] help hi, i need a link that opens up a new window because I'm using frames and its a right sod. please help (y2kenneyncn at yahoo.co.uk) -------------- next part -------------- An HTML attachment was scrubbed... URL: From msocarras at terra.es Tue Oct 15 16:28:06 2002 From: msocarras at terra.es (Manuel Socarras Reyes) Date: Tue, 15 Oct 2002 23:28:06 +0200 Subject: [Javascript] help References: <000801c27490$178d8b20$e7b46251@your1p37d9kihs> Message-ID: <3DAC8866.2000904@terra.es> opens page.htm in a new window if the new window needs special config (no scrollbars, width & height, etc), just call a function in the link & use window.open(URL, 'name', 'window features') opens page.htm in a new window -- Saludos, Manuel Socarr?s Reyes Barcelona. Spain julia wrote: > hi, i need a link that opens up a new window because I'm using frames > and its a right sod. > > please help > > (y2kenneyncn at yahoo.co.uk) From msocarras at terra.es Tue Oct 15 16:38:45 2002 From: msocarras at terra.es (Manuel Socarras Reyes) Date: Tue, 15 Oct 2002 23:38:45 +0200 Subject: [Javascript] moving layers in NN 6 Message-ID: <3DAC8AE5.6070300@terra.es> hi: // IE document.all.Layer1.style.pixelLeft += 10; // NN 4.x document.Layer1.x += 10; // NN6.x what about with it NN 6? i tried with offsetLeft but it seems like if it's a read only property. is there any documentation with the differences between NN 4.x & NN 6.x and/or a list of properties' use in NN 6.x? TIA, -- Saludos, Manuel Socarr?s Reyes Barcelona. Spain From kaji at umit.maine.edu Tue Oct 15 18:26:27 2002 From: kaji at umit.maine.edu (Joshua Turcotte) Date: Tue, 15 Oct 2002 19:26:27 -0400 Subject: [Javascript] perl regular expression problem? In-Reply-To: <3DAC8AE5.6070300@terra.es> References: <3DAC8AE5.6070300@terra.es> Message-ID: first off, is ANYONE on the list comfortable with regular expressions as perl uses them? if no one volunteers to field the question, I won't ask, given that this is a JAVASCRIPT medium... but i'm freakin' out up here and looking for any avenue for possible help... let me know; Well then, we'll cross that bridge when we come to it... No!, the bridge is too heavily guarded! _____________________________________________________________ J.e. Turcotte: eMAGERY Founder, Media|Creative Solutions Developer jet at emagery.com, voicemail: (207) 866-4842, www.emagery.com From greg at krieser.com Tue Oct 15 20:15:50 2002 From: greg at krieser.com (greg at krieser.com) Date: Tue, 15 Oct 2002 20:15:50 -0500 Subject: [Javascript] perl regular expression problem? Message-ID: <200210160115.UAA21256@ppk.siteprotect.com> If you have perl regular expression questions I'd recommend you join the Beginners Perl group on Yahoo [PBML]. The folks on that list KNOW regular expressions. They are always helpful. Greg ? ? The following message was sent by "Joshua Turcotte" on Tue, 15 Oct 2002 19:26:27 -0400. > first off, is ANYONE on the list comfortable with regular expressions as > perl uses them? if no one volunteers to field the question, I won't ask, > given that this is a JAVASCRIPT medium... but i'm freakin' out up here > and looking for any avenue for > possible help... > > let me know; > > > > Well then, we'll cross that bridge when we come to it... > No!, the bridge is too heavily guarded! > _____________________________________________________________ > J.e. Turcotte: eMAGERY Founder, Media|Creative Solutions Developer > jet at emagery.com, voicemail: (207) 866-4842, www.emagery.com > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From andrew at d2k.com.au Tue Oct 15 20:32:44 2002 From: andrew at d2k.com.au (Andrew Dunn) Date: Wed, 16 Oct 2002 11:32:44 +1000 Subject: [Javascript] New window Message-ID: <1D0255E75622D51185DB00D0B7E3FF44203BF6@chimaera.d2k.com.au> Hi, I can open a new window no worries. But I want to open a new window every time I click a link (Not replace the existing open window). How can I do this? Thanks. From peter at brunone.com Tue Oct 15 22:07:35 2002 From: peter at brunone.com (Peter Brunone) Date: Tue, 15 Oct 2002 22:07:35 -0500 Subject: [Javascript] New window In-Reply-To: <1D0255E75622D51185DB00D0B7E3FF44203BF6@chimaera.d2k.com.au> Message-ID: Blah The key is TARGET="_blank"; rather than being a name for the window, _blank tells the browser to open a blank window *every* time. Cheers, Peter |-----Original Message----- |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On |Behalf Of Andrew Dunn | |Hi, | |I can open a new window no worries. But I want to open a new window every |time I click a link (Not replace the existing open window). How can I do |this? | |Thanks. From peter at brunone.com Tue Oct 15 22:10:53 2002 From: peter at brunone.com (Peter Brunone) Date: Tue, 15 Oct 2002 22:10:53 -0500 Subject: [Javascript] help In-Reply-To: <3DAC8866.2000904@terra.es> Message-ID: Here is a little more detail on what parameters are available in the window.open() method. There are more, but these are examples of the basic ones you might need (note that the contents of the function should all be on one line). function openWin(pageName) { var newWin = window.open(pageName,"webFile","height=520,width=730,toolbars=no,scrollbars= yes,resizable=yes"); } Cheers, Peter |-----Original Message----- |From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On | | opens page.htm in a new window | |if the new window needs special config (no scrollbars, width & height, |etc), just call a function in the link & use window.open(URL, 'name', |'window features') | | opens page.htm in a new window | |-- |Saludos, | |Manuel Socarr?s Reyes |Barcelona. Spain | | |julia wrote: | |> hi, i need a link that opens up a new window because I'm using frames |> and its a right sod. |> |> please help |> |> (y2kenneyncn at yahoo.co.uk) | | | | | |_______________________________________________ |Javascript mailing list |Javascript at LaTech.edu |https://lists.LaTech.edu/mailman/listinfo/javascript | From javascript at theblades-family.com Wed Oct 16 08:31:50 2002 From: javascript at theblades-family.com (Cutter (javascript list)) Date: Wed, 16 Oct 2002 09:31:50 -0400 Subject: [Javascript] Re: perl regular expression problem? In-Reply-To: References: <3DAC8AE5.6070300@terra.es> Message-ID: <20021016133152.6703.qmail@vpop.dmv.com> Comfortable with it? No. Waded through it time and again? Sure. Ask anyway. If I can't help you I'm sure somebody can. There is a very wide range of experience and knowledge on this list, from the complete novice to JavaScript College Professors and Authors. Cutter Falcon Knives Joshua Turcotte writes: > first off, is ANYONE on the list comfortable with regular expressions as perl uses them? if no one volunteers to field the question, I won't ask, given that this is a JAVASCRIPT medium... but i'm freakin' out up here and looking for any avenue for > possible help... > > let me know; > > > > Well then, we'll cross that bridge when we come to it... > No!, the bridge is too heavily guarded! > _____________________________________________________________ > J.e. Turcotte: eMAGERY Founder, Media|Creative Solutions Developer > jet at emagery.com, voicemail: (207) 866-4842, www.emagery.com > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From cheryl at leo.scsl.state.sc.us Wed Oct 16 08:39:43 2002 From: cheryl at leo.scsl.state.sc.us (Cheryl Kirkpatrick) Date: Wed, 16 Oct 2002 09:39:43 -0400 Subject: [Javascript] another new window question Message-ID: <3DAD6C1F.A74ECC03@leo.scsl.state.sc.us> I have a question similar to Andrew's. I am opening a new second window using target and naming the new window. Other links will then open in the second window rather than create several new windows. My problem - the new second window is open, another link is clicked and opens in the second window. Is there a way with javascript to make the second window come to the foreground? As is now, the user has to go to the toolbar and select the window. I am afraid that some users won't realize they need to do that. Thank you! -- Cheryl Kirkpatrick Web Administrator/ Information Technology Librarian South Carolina State Library http://www.state.sc.us/scsl/ Telephone: 803.734.5831 From greg at krieser.com Wed Oct 16 08:42:40 2002 From: greg at krieser.com (greg at krieser.com) Date: Wed, 16 Oct 2002 08:42:40 -0500 Subject: [Javascript] another new window question Message-ID: <200210161342.IAA31393@ppk.siteprotect.com> Element K just had a tip on that. I've slightly modified their tip to allow passage of the site to the function. I believe popupWin.focus() is what you are looking for: function openWindow1(url) { popupWin = window.open("http://" + url, 'win', 'menubar=yes,status=no,toolbars=no,resizable=yes,scrollbars=yes,width=800,height=600') popupWin.focus() } Click Me!!! - domain1.com

Click Me!!! - domain2.com ? The following message was sent by Cheryl Kirkpatrick on Wed, 16 Oct 2002 09:39:43 -0400. > I have a question similar to Andrew's. I am opening a new second window > using target and naming the new window. Other links will then open in > the second window rather than create several new windows. > > My problem - the new second window is open, another link is clicked and > opens in the second window. Is there a way with javascript to make the > second window come to the foreground? > > As is now, the user has to go to the toolbar and select the window. I am > afraid that some users won't realize they need to do that. > > Thank you! > > -- > Cheryl Kirkpatrick > Web Administrator/ > Information Technology Librarian > South Carolina State Library > http://www.state.sc.us/scsl/ > Telephone: 803.734.5831 > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From costea.dan at ssi-schaefer.ro Wed Oct 16 09:35:04 2002 From: costea.dan at ssi-schaefer.ro (Dan Costea) Date: Wed, 16 Oct 2002 16:35:04 +0200 Subject: [Javascript] another new window question References: <3DAD6C1F.A74ECC03@leo.scsl.state.sc.us> Message-ID: <03ea01c27521$37b49fb0$dfdea8c0@PCCostea> you can use "focus" method of the window object: myWindow.focus (); ----- Original Message ----- From: "Cheryl Kirkpatrick" To: "javascript list" Sent: Wednesday, October 16, 2002 3:39 PM Subject: [Javascript] another new window question > I have a question similar to Andrew's. I am opening a new second window > using target and naming the new window. Other links will then open in > the second window rather than create several new windows. > > My problem - the new second window is open, another link is clicked and > opens in the second window. Is there a way with javascript to make the > second window come to the foreground? > > As is now, the user has to go to the toolbar and select the window. I am > afraid that some users won't realize they need to do that. > > Thank you! > > -- > Cheryl Kirkpatrick > Web Administrator/ > Information Technology Librarian > South Carolina State Library > http://www.state.sc.us/scsl/ > Telephone: 803.734.5831 > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From iztokp at amis.net Wed Oct 16 10:04:07 2002 From: iztokp at amis.net (Iztok Polanic) Date: Wed, 16 Oct 2002 17:04:07 +0200 Subject: [Javascript] delete from array Message-ID: <000501c27525$46ba7620$313612d4@flasher> Hi! I'm using pop() method to delete the last item in array. But every time I execute pop() method I get an error (Object doesn't support this method). Using: IE 5.5! IS there another way how to delete a record from an array? Bye, Iztok From iztokp at amis.net Wed Oct 16 10:29:52 2002 From: iztokp at amis.net (Iztok Polanic) Date: Wed, 16 Oct 2002 17:29:52 +0200 Subject: [Javascript] delete from array References: <000501c27525$46ba7620$313612d4@flasher> <040201c2752e$fcf4eb10$dfdea8c0@PCCostea> Message-ID: <001f01c27528$dfc0a080$313612d4@flasher> pop() works fine in NN 7.0. But how about something for IE 5.5? Lep pozdrav, Iztok ----- Original Message ----- From: "Dan Costea" To: Sent: Wednesday, October 16, 2002 6:13 PM Subject: Re: [Javascript] delete from array > You can use other methods of the array object. See: > http://www.devguru.com/Technologies/ecmascript/quickref/array.html > But if you get this error, then you should ask yourself if your object is > realy an array. > I don't think that using another method is a solution. I think you should > fix the error and use pop method. > > Good luck. > Dan. > > ----- Original Message ----- > From: "Iztok Polanic" > To: > Sent: Wednesday, October 16, 2002 5:04 PM > Subject: [Javascript] delete from array > > > > Hi! > > > > I'm using pop() method to delete the last item in array. But every time I > > execute pop() method I get an error (Object doesn't support this method). > > Using: IE 5.5! > > IS there another way how to delete a record from an array? > > > > Bye, > > > > Iztok > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From iztokp at amis.net Wed Oct 16 10:40:42 2002 From: iztokp at amis.net (Iztok Polanic) Date: Wed, 16 Oct 2002 17:40:42 +0200 Subject: [Javascript] delete from array References: <000501c27525$46ba7620$313612d4@flasher> <040201c2752e$fcf4eb10$dfdea8c0@PCCostea> Message-ID: <002701c2752a$62b54bc0$313612d4@flasher> HI! I'm using IE 5.0 not 5.5. Sorry! Lep pozdrav, Iztok ----- Original Message ----- From: "Dan Costea" To: Sent: Wednesday, October 16, 2002 6:13 PM Subject: Re: [Javascript] delete from array > You can use other methods of the array object. See: > http://www.devguru.com/Technologies/ecmascript/quickref/array.html > But if you get this error, then you should ask yourself if your object is > realy an array. > I don't think that using another method is a solution. I think you should > fix the error and use pop method. > > Good luck. > Dan. > > ----- Original Message ----- > From: "Iztok Polanic" > To: > Sent: Wednesday, October 16, 2002 5:04 PM > Subject: [Javascript] delete from array > > > > Hi! > > > > I'm using pop() method to delete the last item in array. But every time I > > execute pop() method I get an error (Object doesn't support this method). > > Using: IE 5.5! > > IS there another way how to delete a record from an array? > > > > Bye, > > > > Iztok > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From hlove at u.washington.edu Wed Oct 16 11:04:11 2002 From: hlove at u.washington.edu (Harry Love) Date: Wed, 16 Oct 2002 09:04:11 -0700 Subject: [Javascript] delete from array In-Reply-To: <002701c2752a$62b54bc0$313612d4@flasher> Message-ID: <000201c2752d$aaa9fb80$467a5f80@hsl.washington.edu> Pop() is not supported by IE, no matter the version. It is also not a part of standard ECMAScript, so its future is cloudy at best. I believe someone else on this list had a question about pop() a few months ago. Search the list archives. Regards, Harry -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu] On Behalf Of Iztok Polanic Sent: Wednesday, October 16, 2002 8:41 AM To: javascript at LaTech.edu Subject: Re: [Javascript] delete from array HI! I'm using IE 5.0 not 5.5. Sorry! Lep pozdrav, Iztok From costea.dan at ssi-schaefer.ro Wed Oct 16 11:13:39 2002 From: costea.dan at ssi-schaefer.ro (Dan Costea) Date: Wed, 16 Oct 2002 18:13:39 +0200 Subject: [Javascript] delete from array References: <000501c27525$46ba7620$313612d4@flasher> Message-ID: <040201c2752e$fcf4eb10$dfdea8c0@PCCostea> You can use other methods of the array object. See: http://www.devguru.com/Technologies/ecmascript/quickref/array.html But if you get this error, then you should ask yourself if your object is realy an array. I don't think that using another method is a solution. I think you should fix the error and use pop method. Good luck. Dan. ----- Original Message ----- From: "Iztok Polanic" To: Sent: Wednesday, October 16, 2002 5:04 PM Subject: [Javascript] delete from array > Hi! > > I'm using pop() method to delete the last item in array. But every time I > execute pop() method I get an error (Object doesn't support this method). > Using: IE 5.5! > IS there another way how to delete a record from an array? > > Bye, > > Iztok > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From hlove at u.washington.edu Wed Oct 16 11:27:44 2002 From: hlove at u.washington.edu (Harry Love) Date: Wed, 16 Oct 2002 09:27:44 -0700 Subject: [Javascript] delete from array Message-ID: <000301c27530$f4ddc5d0$467a5f80@hsl.washington.edu> Oops, My JavaScript reference is very much out of date. Pop() is supported in ECMA-262 Edition 3. Implemented in JavaScript 1.2, supported by NN3+ and IE5.5+. Sorry about that, Harry -----Original Message----- From: Harry Love [mailto:hlove at u.washington.edu] Sent: Wednesday, October 16, 2002 9:04 AM To: 'javascript at LaTech.edu' Subject: RE: [Javascript] delete from array Pop() is not supported by IE, no matter the version. It is also not a part of standard ECMAScript, so its future is cloudy at best. I believe someone else on this list had a question about pop() a few months ago. Search the list archives. Regards, Harry -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu] On Behalf Of Iztok Polanic Sent: Wednesday, October 16, 2002 8:41 AM To: javascript at LaTech.edu Subject: Re: [Javascript] delete from array HI! I'm using IE 5.0 not 5.5. Sorry! Lep pozdrav, Iztok From iztokp at amis.net Wed Oct 16 12:29:38 2002 From: iztokp at amis.net (Iztok Polanic) Date: Wed, 16 Oct 2002 19:29:38 +0200 Subject: [Javascript] delete from array References: <000301c27530$f4ddc5d0$467a5f80@hsl.washington.edu> Message-ID: <000701c27539$9a4e17b0$313612d4@flasher> Hi! I found the solution. array.length = ; Lep pozdrav, Iztok ----- Original Message ----- From: "Harry Love" To: "JavaScript" Sent: Wednesday, October 16, 2002 6:27 PM Subject: RE: [Javascript] delete from array > Oops, > My JavaScript reference is very much out of date. Pop() is supported in > ECMA-262 Edition 3. Implemented in JavaScript 1.2, supported by NN3+ > and IE5.5+. > > Sorry about that, > Harry > > -----Original Message----- > From: Harry Love [mailto:hlove at u.washington.edu] > Sent: Wednesday, October 16, 2002 9:04 AM > To: 'javascript at LaTech.edu' > Subject: RE: [Javascript] delete from array > > > Pop() is not supported by IE, no matter the version. It is also not a > part of standard ECMAScript, so its future is cloudy at best. I believe > someone else on this list had a question about pop() a few months ago. > Search the list archives. > > Regards, > Harry > > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu] > On Behalf Of Iztok Polanic > Sent: Wednesday, October 16, 2002 8:41 AM > To: javascript at LaTech.edu > Subject: Re: [Javascript] delete from array > > > HI! > > I'm using IE 5.0 not 5.5. Sorry! > > > Lep pozdrav, > > Iztok > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From edwardtisdale_1999 at yahoo.com Wed Oct 16 22:35:20 2002 From: edwardtisdale_1999 at yahoo.com (Edward Tisdale) Date: Wed, 16 Oct 2002 20:35:20 -0700 (PDT) Subject: [Javascript] delete from array In-Reply-To: <000501c27525$46ba7620$313612d4@flasher> Message-ID: <20021017033520.42702.qmail@web14804.mail.yahoo.com> I think the only way is to use a second array, size allocated dynamically, and using a loop through your original array for anything axcept for either the index of or the content of the index of what yoyu are deleting. www.edwardtisdale.com --- Iztok Polanic wrote: > Hi! > > I'm using pop() method to delete the last item in > array. But every time I > execute pop() method I get an error (Object doesn't > support this method). > Using: IE 5.5! > IS there another way how to delete a record from an > array? > > Bye, > > Iztok > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com From edwardtisdale_1999 at yahoo.com Wed Oct 16 23:08:00 2002 From: edwardtisdale_1999 at yahoo.com (Edward Tisdale) Date: Wed, 16 Oct 2002 21:08:00 -0700 (PDT) Subject: [Javascript] Re: perl regular expression problem? In-Reply-To: <20021016133152.6703.qmail@vpop.dmv.com> Message-ID: <20021017040800.76069.qmail@web14810.mail.yahoo.com> In the Perl book I have there is a whole chapter. Email me at edwardtisdale_1999 at yahoo.com and we'll help each other out. --- "Cutter (javascript list)" wrote: > Comfortable with it? No. Waded through it time and > again? Sure. Ask anyway. > If I can't help you I'm sure somebody can. There is > a very wide range of > experience and knowledge on this list, from the > complete novice to > JavaScript College Professors and Authors. > > Cutter > Falcon Knives > > Joshua Turcotte writes: > > > first off, is ANYONE on the list comfortable with > regular expressions as perl uses them? if no one > volunteers to field the question, I won't ask, given > that this is a JAVASCRIPT medium... but i'm freakin' > out up here and looking for any avenue for > > possible help... > > > > let me know; > > > > > > > > Well then, we'll cross that bridge when we come to > it... > > No!, the bridge is too heavily guarded! > > > _____________________________________________________________ > > J.e. Turcotte: eMAGERY Founder, Media|Creative > Solutions Developer > > jet at emagery.com, voicemail: (207) 866-4842, > www.emagery.com > > > > _______________________________________________ > > Javascript mailing list > > Javascript at LaTech.edu > > > https://lists.LaTech.edu/mailman/listinfo/javascript > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com From msocarras at terra.es Thu Oct 17 08:59:55 2002 From: msocarras at terra.es (Manuel Socarras Reyes) Date: Thu, 17 Oct 2002 15:59:55 +0200 Subject: [Fwd: [Javascript] moving layers in NN 6] Message-ID: <3DAEC25B.3060801@terra.es> hi: a couple of days ago i sent this question but no answer, hope now somebody can say something about it -------------------- hi: // IE document.all.Layer1.style.pixelLeft += 10; // NN 4.x document.Layer1.x += 10; // NN6.x what about with it NN 6? i tried with offsetLeft but it seems like if it's a read only property. is there any documentation with the differences between NN 4.x & NN 6.x and/or a list of properties' use in NN 6.x? TIA, -- Saludos, Manuel Socarr?s Reyes Barcelona. Spain _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript -- Saludos, Manuel Socarr?s Reyes Barcelona. Spain From msocarras at terra.es Thu Oct 17 09:00:11 2002 From: msocarras at terra.es (Manuel Socarras Reyes) Date: Thu, 17 Oct 2002 16:00:11 +0200 Subject: [Fwd: [Javascript] moving layers in NN 6] Message-ID: <3DAEC26B.4060401@terra.es> hi: a couple of days ago i sent this question but no answer, hope now somebody can say something about it -------------------- hi: // IE document.all.Layer1.style.pixelLeft += 10; // NN 4.x document.Layer1.x += 10; // NN6.x what about with it NN 6? i tried with offsetLeft but it seems like if it's a read only property. is there any documentation with the differences between NN 4.x & NN 6.x and/or a list of properties' use in NN 6.x? TIA, -- Saludos, Manuel Socarr?s Reyes Barcelona. Spain _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript -- Saludos, Manuel Socarr?s Reyes Barcelona. Spain From hlove at u.washington.edu Thu Oct 17 11:17:26 2002 From: hlove at u.washington.edu (Harry Love) Date: Thu, 17 Oct 2002 09:17:26 -0700 Subject: [Fwd: [Javascript] moving layers in NN 6] In-Reply-To: <3DAEC26B.4060401@terra.es> Message-ID: <000401c275f8$aec7e3f0$467a5f80@hsl.washington.edu> // IE document.all.Layer1.style.pixelLeft += 10; // NN 4.x document.Layer1.x += 10; // NN6.x what about with it NN 6? i tried with offsetLeft but it seems like if it's a read only property. is there any documentation with the differences between NN 4.x & NN 6.x and/or a list of properties' use in NN 6.x? Manuel, For NN6+, Mozilla, IE5.5+, try document.getElementById("idOfYourElement").offsetLeft For a list of differences, try searching Google for JavaScript browser support/differences and the DOM. Regards, Harry From LMuchacho at twii.net Thu Oct 17 11:22:14 2002 From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London)) Date: Thu, 17 Oct 2002 17:22:14 +0100 Subject: [Fwd: [Javascript] moving layers in NN 6] Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC03C5D1C3@lon.webmail.twii.net> Hi Manuel This is pretty easy to do. You must use NS6 & IE 5 and over document.getElementById('layer1').style.left += 10 Under IE 5 version you must use document.all.Layer1.style.pixelLeft += 10; and ofcourse NS4 document.Layer1.x += 10; I recommend you to build a function like this function get_obj(layerName){ var obj="" if(document.layers){//NS4 obj=document.layers[layerName]; }else if(document.getElementById){//IE 5 and over and NS6 obj=document.getElementById(layerName).style }else if(document.all && !document.getElementById){ obj=document.all[layerName].style } return obj } and just call it that way get_obj('layer').left += 10 or if you need to use more than once var myLayerObj = get_obj('layer') myLayerObj.left += 10 for some documentation or any dom documentation http://www.dhtmlcentral.com/ http://www.getelementbyid.com/ -----Original Message----- From: Manuel Socarras Reyes [mailto:msocarras at terra.es] Sent: 17 October 2002 15:00 To: javascript at LaTech.edu Subject: [Fwd: [Javascript] moving layers in NN 6] hi: a couple of days ago i sent this question but no answer, hope now somebody can say something about it -------------------- hi: // IE document.all.Layer1.style.pixelLeft += 10; // NN 4.x document.Layer1.x += 10; // NN6.x what about with it NN 6? i tried with offsetLeft but it seems like if it's a read only property. is there any documentation with the differences between NN 4.x & NN 6.x and/or a list of properties' use in NN 6.x? TIA, -- Saludos, Manuel Socarr?s Reyes Barcelona. Spain _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript -- Saludos, Manuel Socarr?s Reyes Barcelona. Spain _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript DISCLAIMER - The preceding e-mail message (including any attachments) contains information that may be confidential, may be protected by the attorney-client or other applicable privileges, or may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above. If you are not an intended recipient of this message, or have otherwise received it in error, please notify the sender by replying to this message and then delete all copies of it from your computer system. Any use, dissemination, distribution, or reproduction of this message by unintended recipients is not authorized and may be unlawful. The contents of this communication do not necessarily represent the views of this company. From TMccoy at city.newport-beach.ca.us Thu Oct 17 12:00:15 2002 From: TMccoy at city.newport-beach.ca.us (McCoy, Thomas) Date: Thu, 17 Oct 2002 10:00:15 -0700 Subject: [Javascript] Random file on page load... or at least that was the idea :( Message-ID: <69DB2122006FD511AE44009027406B242D5C93@exchange_lib.city.newport-beach.ca.us> Hello everyone! I have a script which displays a random file when the page in loaded, but sometimes it will display nothing. The "nothing" error rate is not consistent. Any ideas? Here is the script: See it in action (you'll have to keep refreshing the page to try and catch an error) at: http://www.city.newport-beach.ca.us/nbpl/greenroom/3/ I purposely made it load the same file randomly just to prove that it isn't a corrupt Flash file. Sincerely, Thomas McCoy The Supreme Javascript Lurker :0 From hlove at u.washington.edu Thu Oct 17 13:31:50 2002 From: hlove at u.washington.edu (Harry Love) Date: Thu, 17 Oct 2002 11:31:50 -0700 Subject: [Javascript] Random file on page load... or at least that was the idea :( In-Reply-To: <69DB2122006FD511AE44009027406B242D5C93@exchange_lib.city.newport-beach.ca.us> Message-ID: <000e01c2760b$758cba30$467a5f80@hsl.washington.edu> --------------------------------------- len = movies.length; today=new Date(); today=today.getTime()/10; temp_number=today%len; rnd = Math.round(temp_number); -------------------------------------- Thomas, a quick question for you: are you looking for a random number, or a number based on the time of day? If you want a random number (to pick a random file from your array), try this: // replace all of this len = movies.length; today=new Date(); today=today.getTime()/10; temp_number=today%len; rnd = Math.round(temp_number); // with this one line rnd = (Math.floor(Math.random() * movies.length)); Regards, Harry From TMccoy at city.newport-beach.ca.us Thu Oct 17 13:38:51 2002 From: TMccoy at city.newport-beach.ca.us (McCoy, Thomas) Date: Thu, 17 Oct 2002 11:38:51 -0700 Subject: [Javascript] Random file on page load... or at least that was the idea :( Message-ID: <69DB2122006FD511AE44009027406B242D5C95@exchange_lib.city.newport-beach.ca.us> Thanks Harry! The "random number" was exactly what I was looking for. Am I correct in saying that the other code was randomly selecting a movie based on the date and time? (Sorry to be a bother, but I'm trying to learn as I go here) Sincerely, Thomas McCoy -----Original Message----- Thomas, a quick question for you: are you looking for a random number, or a number based on the time of day? If you want a random number (to pick a random file from your array), try this: // replace all of this len = movies.length; today=new Date(); today=today.getTime()/10; temp_number=today%len; rnd = Math.round(temp_number); // with this one line rnd = (Math.floor(Math.random() * movies.length)); From hlove at u.washington.edu Thu Oct 17 14:09:11 2002 From: hlove at u.washington.edu (Harry Love) Date: Thu, 17 Oct 2002 12:09:11 -0700 Subject: [Javascript] Random file on page load... or at least that was the idea :( In-Reply-To: <69DB2122006FD511AE44009027406B242D5C95@exchange_lib.city.newport-beach.ca.us> Message-ID: <001201c27610$ad5d1c70$467a5f80@hsl.washington.edu> From my understanding, the original code works like this: Len = movies.length; // len = length of your array (number of array items) Today = new Date(); // Creates a new date object, stored in the "today" variable Today = today.getTime()/10; // Get the number of milliseconds that have elapsed since 01/01/1970, then divide by 10, store in "today" Temp_number = today%len; // Divide today by len, take the remainder, store in the "temp_number" variable Rnd = Math.round(temp_number); // Round temp_number to the nearest whole number, store in the "rnd" variable So, the rnd variable is loosely based on the date. Perhaps the original author had a reason for approaching it this way. However, for random numbers, the Math.random() method is the most direct. Harry -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu] On Behalf Of McCoy, Thomas Sent: Thursday, October 17, 2002 11:39 AM To: 'javascript at LaTech.edu' Subject: RE: [Javascript] Random file on page load... or at least that was the idea :( Thanks Harry! The "random number" was exactly what I was looking for. Am I correct in saying that the other code was randomly selecting a movie based on the date and time? (Sorry to be a bother, but I'm trying to learn as I go here) Sincerely, Thomas McCoy -----Original Message----- Thomas, a quick question for you: are you looking for a random number, or a number based on the time of day? If you want a random number (to pick a random file from your array), try this: // replace all of this len = movies.length; today=new Date(); today=today.getTime()/10; temp_number=today%len; rnd = Math.round(temp_number); // with this one line rnd = (Math.floor(Math.random() * movies.length)); _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From reubendb at innovativethought.com Thu Oct 17 15:51:39 2002 From: reubendb at innovativethought.com (Reuben D. Budiardja) Date: Thu, 17 Oct 2002 16:51:39 -0400 Subject: [Javascript] Background color in
in Netscape 4.7x Message-ID: <200210171651.39259.reubendb@innovativethought.com> Hi, Sorry if this is a bit off topic. I need help in figuring out how to put a good bacground color for a
section so that it renders correctly in Netscape 4.7. Just putting, eg.
Makes netscape only renders the background when there is text on the foreground. To know what I mean, here are 2 screenshoots. The first one is taken with netscape 4.7. The second one the result I want, which is rendered correctly by Mozilla / Netscape 7. Any help is greatly appreciated. http://arcturus.phys.utk.edu/webdevel/netscape4.png http://arcturus.phys.utk.edu/webdevel/mozilla.png I actually use css on the page on screenshoot, but the result is the same in Netscape 4. The
gaves me the same bad rendering in NS4. I can of course not using CSS if that really helps, since the page is generated dynamically from the server-side anyway. Thanks. Reuben D. Budiardja From hlove at u.washington.edu Thu Oct 17 16:54:43 2002 From: hlove at u.washington.edu (Harry Love) Date: Thu, 17 Oct 2002 14:54:43 -0700 Subject: [Javascript] Background color in
in Netscape 4.7x In-Reply-To: <200210171651.39259.reubendb@innovativethought.com> Message-ID: <000001c27627$cd042c00$467a5f80@hsl.washington.edu> Hi, Sorry if this is a bit off topic. I need help in figuring out how to put a good bacground color for a
section so that it renders correctly in Netscape 4.7. Just putting, eg.
See this page: http://www.mako4css.com/cssbg.htm Harry From LMuchacho at twii.net Fri Oct 18 03:35:19 2002 From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London)) Date: Fri, 18 Oct 2002 09:35:19 +0100 Subject: [Javascript] Background color in
in Netscape 4.7x Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC03C5D1C4@lon.webmail.twii.net> Hi Reuben The only thing you need to do for putting a background-color to a div in NS4 is:
but I don't recommend you to use inline style with NS4 too much (buggy) if you like to use an image on the background as
use the same layer in front and this will work fine Laurent -----Original Message----- From: Reuben D. Budiardja [mailto:reubendb at innovativethought.com] Sent: 17 October 2002 21:52 To: javascript at LaTech.edu Subject: [Javascript] Background color in
in Netscape 4.7x Hi, Sorry if this is a bit off topic. I need help in figuring out how to put a good bacground color for a
section so that it renders correctly in Netscape 4.7. Just putting, eg.
Makes netscape only renders the background when there is text on the foreground. To know what I mean, here are 2 screenshoots. The first one is taken with netscape 4.7. The second one the result I want, which is rendered correctly by Mozilla / Netscape 7. Any help is greatly appreciated. http://arcturus.phys.utk.edu/webdevel/netscape4.png http://arcturus.phys.utk.edu/webdevel/mozilla.png I actually use css on the page on screenshoot, but the result is the same in Netscape 4. The
gaves me the same bad rendering in NS4. I can of course not using CSS if that really helps, since the page is generated dynamically from the server-side anyway. Thanks. Reuben D. Budiardja _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript DISCLAIMER - The preceding e-mail message (including any attachments) contains information that may be confidential, may be protected by the attorney-client or other applicable privileges, or may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above. If you are not an intended recipient of this message, or have otherwise received it in error, please notify the sender by replying to this message and then delete all copies of it from your computer system. Any use, dissemination, distribution, or reproduction of this message by unintended recipients is not authorized and may be unlawful. The contents of this communication do not necessarily represent the views of this company. From dartchick60545 at yahoo.com Fri Oct 18 07:27:06 2002 From: dartchick60545 at yahoo.com (robin anderson) Date: Fri, 18 Oct 2002 05:27:06 -0700 (PDT) Subject: [Javascript] java sript problems Message-ID: <20021018122706.69605.qmail@web13104.mail.yahoo.com> i was wondering if i get a java script error when trying to play games it says corrupt or miss installed java script could you please tell me how to fix this problem thank you robin --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From javascript at theblades-family.com Fri Oct 18 07:54:59 2002 From: javascript at theblades-family.com (Cutter (javascript list)) Date: Fri, 18 Oct 2002 08:54:59 -0400 Subject: [Javascript] Re: Background color in
in Netscape 4.7x In-Reply-To: <200210171651.39259.reubendb@innovativethought.com> References: <200210171651.39259.reubendb@innovativethought.com> Message-ID: <20021018125459.81020.qmail@vpop.dmv.com> Reuben, Is the div empty? Is it a layer behind the menu? Have you tried applying an id to the div then defining the div's style's in your stylesheet (including width, height, bgc, etc.)? Cutter Falcon Knives Reuben D. Budiardja writes: > Hi, > Sorry if this is a bit off topic. I need help in figuring out how to put a > good bacground color for a
section so that it renders correctly in > Netscape 4.7. Just putting, eg. >
> > Makes netscape only renders the background when there is text on the > foreground. To know what I mean, here are 2 screenshoots. The first one is > taken with netscape 4.7. The second one the result I want, which is rendered > correctly by Mozilla / Netscape 7. Any help is greatly appreciated. > > http://arcturus.phys.utk.edu/webdevel/netscape4.png > http://arcturus.phys.utk.edu/webdevel/mozilla.png > > I actually use css on the page on screenshoot, but the result is the same in > Netscape 4. The
gaves me the same bad > rendering in NS4. I can of course not using CSS if that really helps, since > the page is generated dynamically from the server-side anyway. > > > Thanks. > Reuben D. Budiardja > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From Mark.Drozd at walgreens.com Fri Oct 18 09:09:15 2002 From: Mark.Drozd at walgreens.com (Mark.Drozd at walgreens.com) Date: Fri, 18 Oct 2002 09:09:15 -0500 Subject: [Javascript] Netscape 4.7 Message-ID: Is anyone familiar with running applets on Mac computers running Netscape 4.7? (yet another 4.7 issue) It seems All other versions of Netscape run the applet successfully on the Mac and PC as well is IE versions run the applet correctly on the Mac and PC. Why would Netscape 4.7 cause this problem?? Here is my code..

Page Name

Loading...

The applet I am trying to run is located here and is called MyAddress.class... http://reglos.de/myaddress/MyAddress.html Both the applet and HTML code are copied into the same directory located on my server. Again, only Netscape 4.7 running on a Mac is unable to run the applet. The error says... "Netscapes Network Connection was Refused by the Server". There are no security restrictions on this. This error is misleading. Netscape 4.7 for the PC runs it fine Thanks everyone! From Esther_Strom at hmco.com Fri Oct 18 09:18:54 2002 From: Esther_Strom at hmco.com (Esther_Strom at hmco.com) Date: Fri, 18 Oct 2002 09:18:54 -0500 Subject: [Javascript] Netscape 4.7 Message-ID: I have a Mac running 4.7, and I tried going to the URL listed below. The applet doesn't run correctly even from the demo page - I doubt it's your code that is causing the problem. I am a Domino developer, and a lot of Domino forms have applets as the default action bars. We had to rewrite all of the code behind those in javascript and HTML because a large portion of our userbase is Mac, NS4.7, and those applets don't display either. I think it's just a problem with NS4.7 on the Mac. |------------------------------| | E S T H E R S T R O M, CLPP | | Notes Application Development| | McDougal Littell | | 909 Davis Street | | Evanston, IL 60201 USA | | w: 847.424.3209 | | e: esther_strom at hmco.com | |------------------------------| Mark.Drozd at walgr eens.com To: javascript at latech.edu Sent by: cc: javascript-admin Subject: [Javascript] Netscape 4.7 @LaTech.edu 10/18/2002 09:09 AM Please respond to javascript Is anyone familiar with running applets on Mac computers running Netscape 4.7? (yet another 4.7 issue) It seems All other versions of Netscape run the applet successfully on the Mac and PC as well is IE versions run the applet correctly on the Mac and PC. Why would Netscape 4.7 cause this problem?? Here is my code..

Page Name

Loading...

The applet I am trying to run is located here and is called MyAddress.class... http://reglos.de/myaddress/MyAddress.html Both the applet and HTML code are copied into the same directory located on my server. Again, only Netscape 4.7 running on a Mac is unable to run the applet. The error says... "Netscapes Network Connection was Refused by the Server". There are no security restrictions on this. This error is misleading. Netscape 4.7 for the PC runs it fine Thanks everyone! _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From reubendb at innovativethought.com Fri Oct 18 09:37:52 2002 From: reubendb at innovativethought.com (Reuben D. Budiardja) Date: Fri, 18 Oct 2002 10:37:52 -0400 Subject: [Javascript] Background color in
in Netscape 4.7x In-Reply-To: <76A6F0FCCA27D4119DEF00805F5700AC03C5D1C4@lon.webmail.twii.net> References: <76A6F0FCCA27D4119DEF00805F5700AC03C5D1C4@lon.webmail.twii.net> Message-ID: <200210181037.52147.reubendb@innovativethought.com> On Friday October 18 2002 04:35 am, Muchacho, Laurent (TWIi London) wrote: > Hi Reuben > > The only thing you need to do for putting a background-color to a div in > NS4 is: > >
> > but I don't recommend you to use inline style with NS4 too much (buggy) > > if you like to use an image on the background as > >
> > use the same layer in front and this will work fine > > Laurent Thanks a lot, this is what I need. Another quick question, if I put this in CSS: A:hover {background: #003366; text-decoration: none; display:block} the layer changes size and put an extra space under the link I am hovering on (I belive hover only works for IE > 5 and NS > 6 or Mozilla > 1.0.0). Why does this happen? You can look here: http://arcturus.phys.utk.edu/webdevel/js_menu/menuparser2.php Thanks a lot. Reuben D. Budiardja > > > > -----Original Message----- > From: Reuben D. Budiardja [mailto:reubendb at innovativethought.com] > Sent: 17 October 2002 21:52 > To: javascript at LaTech.edu > Subject: [Javascript] Background color in
in Netscape 4.7x > > > Hi, > Sorry if this is a bit off topic. I need help in figuring out how to put a > good bacground color for a
section so that it renders correctly in > Netscape 4.7. Just putting, eg. >
> > Makes netscape only renders the background when there is text on the > foreground. To know what I mean, here are 2 screenshoots. The first one is > taken with netscape 4.7. The second one the result I want, which is > rendered > > correctly by Mozilla / Netscape 7. Any help is greatly appreciated. > > http://arcturus.phys.utk.edu/webdevel/netscape4.png > http://arcturus.phys.utk.edu/webdevel/mozilla.png > > I actually use css on the page on screenshoot, but the result is the same > in > > Netscape 4. The
gaves me the same bad > rendering in NS4. I can of course not using CSS if that really helps, since > the page is generated dynamically from the server-side anyway. > > > Thanks. > Reuben D. Budiardja > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > > > DISCLAIMER - The preceding e-mail message (including any attachments) > contains information that may be confidential, may be protected by the > attorney-client or other applicable privileges, or may constitute > non-public information. It is intended to be conveyed only to the > designated recipient(s) named above. If you are not an intended recipient > of this message, or have otherwise received it in error, please notify the > sender by replying to this message and then delete all copies of it from > your computer system. Any use, dissemination, distribution, or > reproduction of this message by unintended recipients is not authorized and > may be unlawful. The contents of this communication do not necessarily > represent the views of this company. > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From mokles.rahman at ontariopork.on.ca Fri Oct 18 11:58:46 2002 From: mokles.rahman at ontariopork.on.ca (Rahman, Moklesur) Date: Fri, 18 Oct 2002 12:58:46 -0400 Subject: [Javascript] New Window opening help? Message-ID: Hi, Help wanted for the follwoing: I am opening several new Windows using JavaScript with different addresses that is dynamically generated. the addresses looks like: DispPackerStatement.asp?StatementId=hfjd36423684823 With the Statementd being different in different windows. The Javascript can open the window with different addresses. The new windows show Crystal reports that is generated using Stored Procedure. My Problem is that after the windows are opened, they all have the same content. But if I Refresh them, they will have correct content. Anybody knows how to make the windows show correct content without Refreshing them? Another question is: Can I program the browser using Javascript to wait for few minutes before opening a new window? Thanks, -Mokles The script is like: for i = 0 to UBound ( aryStatementId ) strAddress = "DispPackerStatement.asp?StatementId=" & trim( aryStatementId(i)) %> <% Next %> -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Fri Oct 18 12:20:15 2002 From: peter at brunone.com (Peter Brunone) Date: Fri, 18 Oct 2002 12:20:15 -0500 Subject: [Javascript] New Window opening help? References: Message-ID: <001e01c276ca$a01b4bd0$3995210a@pbrunonePC> You can override browser caching like that by adding a random parameter in the URL. That is, instead of just DispPackerStatement.asp?StatementId=hfjd36423684823 , you could call DispPackerStatement.asp?StatementId=hfjd36423684823×tamp=1223213 , where timestamp is just the current time in seconds or something else that changes. For a timing script, you can use the setTimeout function in conjunction with your own function (anybody else having flashbacks?), like this: Cheers, Peter ----- Original Message ----- From: Rahman, Moklesur To: 'javascript at LaTech.edu' Sent: Friday, October 18, 2002 11:58 AM Subject: [Javascript] New Window opening help? Hi, Help wanted for the follwoing: I am opening several new Windows using JavaScript with different addresses that is dynamically generated. the addresses looks like: DispPackerStatement.asp?StatementId=hfjd36423684823 With the Statementd being different in different windows. The Javascript can open the window with different addresses. The new windows show Crystal reports that is generated using Stored Procedure. My Problem is that after the windows are opened, they all have the same content. But if I Refresh them, they will have correct content. Anybody knows how to make the windows show correct content without Refreshing them? Another question is: Can I program the browser using Javascript to wait for few minutes before opening a new window? Thanks, -Mokles The script is like: for i = 0 to UBound ( aryStatementId ) strAddress = "DispPackerStatement.asp?StatementId=" & trim( aryStatementId(i)) %> <% Next %> From Mark.Drozd at walgreens.com Fri Oct 18 17:34:38 2002 From: Mark.Drozd at walgreens.com (Mark.Drozd at walgreens.com) Date: Fri, 18 Oct 2002 17:34:38 -0500 Subject: [Javascript] Netscape 4.7 Message-ID: Thank You Esther! Esther_Strom at hmco.com@LaTech.edu on 10/18/2002 09:18:54 AM Please respond to javascript at LaTech.edu Sent by: javascript-admin at LaTech.edu To: javascript at LaTech.edu cc: Subject: Re: [Javascript] Netscape 4.7 I have a Mac running 4.7, and I tried going to the URL listed below. The applet doesn't run correctly even from the demo page - I doubt it's your code that is causing the problem. I am a Domino developer, and a lot of Domino forms have applets as the default action bars. We had to rewrite all of the code behind those in javascript and HTML because a large portion of our userbase is Mac, NS4.7, and those applets don't display either. I think it's just a problem with NS4.7 on the Mac. |------------------------------| | E S T H E R S T R O M, CLPP | | Notes Application Development| | McDougal Littell | | 909 Davis Street | | Evanston, IL 60201 USA | | w: 847.424.3209 | | e: esther_strom at hmco.com | |------------------------------| Mark.Drozd at walgr eens.com To: javascript at latech.edu Sent by: cc: javascript-admin Subject: [Javascript] Netscape 4.7 @LaTech.edu 10/18/2002 09:09 AM Please respond to javascript Is anyone familiar with running applets on Mac computers running Netscape 4.7? (yet another 4.7 issue) It seems All other versions of Netscape run the applet successfully on the Mac and PC as well is IE versions run the applet correctly on the Mac and PC. Why would Netscape 4.7 cause this problem?? Here is my code..

Page Name

Loading...

The applet I am trying to run is located here and is called MyAddress.class... http://reglos.de/myaddress/MyAddress.html Both the applet and HTML code are copied into the same directory located on my server. Again, only Netscape 4.7 running on a Mac is unable to run the applet. The error says... "Netscapes Network Connection was Refused by the Server". There are no security restrictions on this. This error is misleading. Netscape 4.7 for the PC runs it fine Thanks everyone! _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript From tsimmons at employmentlawadvisors.com Fri Oct 18 17:51:20 2002 From: tsimmons at employmentlawadvisors.com (William T. Simmons) Date: Fri, 18 Oct 2002 17:51:20 -0500 Subject: [Javascript] Netscape 4.7 References: Message-ID: <002101c276f8$e0c29250$0000a398@sndmgr122> FWIW, some applets seem to do OK in NS 4.7 on the Mac, such as the applet used for the navigation pane functionality in my online Texas Payday Law book: www.employmentlawadvisors.com/laws/tplweb/txpdlaw.html It's about 164K, so it takes a while to load, but it does what it's supposed to do, which is to operate Contents, Index, and Search tabs and provide links to topics located using those features. Tommy Simmons Employment Law Advisory Network www.employmentlawadvisors.com ----- Original Message ----- From: To: Sent: Friday, October 18, 2002 5:34 PM Subject: Re: [Javascript] Netscape 4.7 > > Thank You Esther! > > Esther_Strom at hmco.com@LaTech.edu on 10/18/2002 09:18:54 AM > > Please respond to javascript at LaTech.edu > > Sent by: javascript-admin at LaTech.edu > > To: javascript at LaTech.edu > cc: > > Subject: Re: [Javascript] Netscape 4.7 > > I have a Mac running 4.7, and I tried going to the URL listed below. The > applet doesn't run correctly even from the demo page - I doubt it's your > code that is causing the problem. > > I am a Domino developer, and a lot of Domino forms have applets as the > default action bars. We had to rewrite all of the code behind those in > javascript and HTML because a large portion of our userbase is Mac, NS4.7, > and those applets don't display either. I think it's just a problem with > NS4.7 on the Mac. > |------------------------------| > | E S T H E R S T R O M, CLPP | > | Notes Application Development| > | McDougal Littell | > | 909 Davis Street | > | Evanston, IL 60201 USA | > | w: 847.424.3209 | > | e: esther_strom at hmco.com | > |------------------------------| > > > Mark.Drozd at walgr > eens.com To: > javascript at latech.edu > Sent by: cc: > javascript-admin Subject: [Javascript] > Netscape 4.7 > @LaTech.edu > > > 10/18/2002 09:09 > AM > Please respond > to javascript > > > Is anyone familiar with running applets on Mac computers running Netscape > 4.7? (yet another 4.7 issue) > > It seems All other versions of Netscape run the applet successfully on the > Mac and PC as well is IE versions run the applet correctly on the Mac and > PC. Why would Netscape 4.7 cause this problem?? > > > Here is my code.. > > > > > > > > >
> ='100%'> > > > > >

face='verdana,arial,helvetica' size='4'>Page > Name

WIDTH='48' HEIGHT='40'> >
>

Loading...

> > > > > The applet I am trying to run is located here and is called > MyAddress.class... http://reglos.de/myaddress/MyAddress.html > > Both the applet and HTML code are copied into the same directory located on > my server. Again, only Netscape 4.7 running on a Mac is unable to run the > applet. The error says... "Netscapes Network Connection was Refused by the > Server". There are no security restrictions on this. This error is > misleading. > > Netscape 4.7 for the PC runs it fine > > Thanks everyone! From sujimon at SoftHome.net Sat Oct 19 12:36:18 2002 From: sujimon at SoftHome.net (Sujimon) Date: Sat, 19 Oct 2002 21:36:18 +0400 Subject: [Javascript] from address using mailto Message-ID: <004b01c27796$25c28520$1a22a5d9@suji> Hi, Does anyone know how to add a non-default from address to a mailto command using javascript. Thanks / Suji -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at brunone.com Sat Oct 19 21:52:03 2002 From: peter at brunone.com (Peter Brunone) Date: Sat, 19 Oct 2002 21:52:03 -0500 Subject: [Javascript] from address using mailto In-Reply-To: <004b01c27796$25c28520$1a22a5d9@suji> Message-ID: Suji, In order to do this, you would need access to the mail client API, which (I would venture to say) is rarely if ever going to be accessible from browser script. In other words, if you want an alternate From: address, you'll need to create a form that mails the message from the server. Cheers, Peter -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of Sujimon Sent: Saturday, October 19, 2002 12:36 PM To: javascript at LaTech.edu Subject: [Javascript] from address using mailto Hi, Does anyone know how to add a non-default from address to a mailto command using javascript. Thanks / Suji -------------- next part -------------- An HTML attachment was scrubbed... URL: From andyg at ihug.co.nz Sun Oct 20 01:57:20 2002 From: andyg at ihug.co.nz (Andrew Gibson) Date: Sun, 20 Oct 2002 19:57:20 +1300 Subject: [Javascript] Div content editable References: Message-ID: <002701c27805$effe8680$c4e7adcb@k1n8i8> I have a div which is contenteditable But when the user hits enter, it creates a new

, resulting in the cursor dropping 2 lines but I just want it to drop a single line! How can I have it so the enter button only creates, I presume, a
so the cursor just drops a single line? Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From edwardtisdale_1999 at yahoo.com Sun Oct 20 12:44:40 2002 From: edwardtisdale_1999 at yahoo.com (Edward Tisdale) Date: Sun, 20 Oct 2002 10:44:40 -0700 (PDT) Subject: [Javascript] books Message-ID: <20021020174440.57515.qmail@web14802.mail.yahoo.com> I have been using the same "JAVASCRIPT:The Definitive Guide" and a book on DHTML for a long time. Is there such a thing as a FIRST ever javascript book (such as for CPP this would be the one by Stroustrup)? __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ From pulivancs at pulivan.e.telefonica.net Sun Oct 20 19:42:32 2002 From: pulivancs at pulivan.e.telefonica.net (pulivan) Date: Mon, 21 Oct 2002 02:42:32 +0200 Subject: [Javascript] Buscas amigos..... Message-ID: <1844714-220021012104232908@MORFEO> Publicidad Centro de Encuentro Social Nueva forma de conocerse y relacionarse, asociaci?n gratuita, Pe?as, grupos, chicos, chicas, homosexuales(Gay y Lesbianas) Manda un mensaje al 5868, Palabra clave encuentros con tu nombre, Correo electr?nico La mejor relaci?n, la mejor sorpresa, te espero Te relaciono con qui?n desees... Chicos, chicas, homosexuales(Gay y Lesbianas) Manda un mensaje al 5868, Palabra clave Hola con tu nombre y tu deseo Deseas saber que te depara el d?a de hoy Cons?ltanos y te mandamos lo que las cartas dicen Env?a un mensaje con la palabra clave?Hoy? al 5868 Este mensaje ha sido obtenido de un lugar p?blico, caso que no desea este tipo de publicidad, nos mande un correo con la palabra REMOVE Coste del mensaje 0.9 Euros From fisher at volstate.net Sun Oct 20 21:22:17 2002 From: fisher at volstate.net (Alvin Fisher) Date: Sun, 20 Oct 2002 22:22:17 -0400 Subject: [Javascript] Buscas amigos..... References: <1844714-220021012104232908@MORFEO> Message-ID: <002501c278a8$ae099e60$2f108142@alvin> Que tiene esto que ver con la programacion? In English, What does this have to do with programming? Alvin ----- Original Message ----- From: "pulivan" To: "javascript at latech.edu" Sent: Sunday, October 20, 2002 8:42 PM Subject: [Javascript] Buscas amigos..... > Publicidad > > > Centro de Encuentro Social > Nueva forma de conocerse y relacionarse, asociaci?n gratuita, > Pe?as, grupos, chicos, chicas, homosexuales(Gay y Lesbianas) > Manda un mensaje al 5868, Palabra clave encuentros > con tu nombre, Correo electr?nico > > La mejor relaci?n, la mejor sorpresa, te espero > Te relaciono con qui?n desees... > Chicos, chicas, homosexuales(Gay y Lesbianas) > Manda un mensaje al 5868, Palabra clave Hola > con tu nombre y tu deseo > > Deseas saber que te depara el d?a de hoy > Cons?ltanos y te mandamos lo que las cartas dicen > Env?a un mensaje con la palabra clave"Hoy" al 5868 > > Este mensaje ha sido obtenido de un lugar p?blico, caso que no desea este tipo de publicidad, nos mande un correo con la palabra REMOVE > Coste del mensaje 0.9 Euros > > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From tobias.barlind at infostruct.se Mon Oct 21 05:26:58 2002 From: tobias.barlind at infostruct.se (Tobias Barlind) Date: Mon, 21 Oct 2002 12:26:58 +0200 Subject: [Javascript] Number validation with digit grouping Message-ID: Does anyone have a good snippet that validates a string of numbers that has digit grouping? I.e "12,200.50" isNaN returns true on this. And I can't just simply remove all "," because I have to deal with different languages having different decimal signs like "," instead of "." :) //B From costea.dan at ssi-schaefer.ro Mon Oct 21 06:48:12 2002 From: costea.dan at ssi-schaefer.ro (Dan Costea) Date: Mon, 21 Oct 2002 13:48:12 +0200 Subject: [Javascript] Number validation with digit grouping References: Message-ID: <005301c278f7$bc9e9580$7cdea8c0@PCCostea> I wrote a function for you: function floatTest (sNr) { var reFloatF1 = /^((\d+(\.\d*)?)|((\d*\.)?\d+))$/; // format 1 var reFloatF2 = /^((\d+(\,\d*)?)|((\d*\,)?\d+))$/; // format 2 return (reFloatF1.test (sNr) || reFloatF2.test (sNr)); } This should solve your problem. Dan. ----- Original Message ----- From: "Tobias Barlind" To: Sent: Monday, October 21, 2002 12:26 PM Subject: [Javascript] Number validation with digit grouping > Does anyone have a good snippet that validates a string of numbers that > has digit grouping? > > I.e "12,200.50" > > isNaN returns true on this. > > And I can't just simply remove all "," because I have to deal with > different languages having different decimal signs like "," instead of > "." :) > > //B > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript From alastair at alastairmoore.co.uk Mon Oct 21 07:54:32 2002 From: alastair at alastairmoore.co.uk (Alastair Moore) Date: Mon, 21 Oct 2002 13:54:32 +0100 Subject: [Javascript] getting form fields by name References: Message-ID: <01a901c27901$054c4d50$40c0a8c0@vitalintranet2.co.uk> Hi all, I have a form such as below - Culture Vultures jo Bill Alf Sporty Types Luke Party Animals No friends in this category Others No friends in this category What I'm trying to do is check if all the "culture_chk" checkboxes have been checked and if so check the culture_all check box. Should a user unclick one of the culture_chk checkboxes, the culture_all checkbox will not be checked. Does anyone have any suggestions how this can be done? Thanks! Welly From ws at chello.se Mon Oct 21 08:53:37 2002 From: ws at chello.se (ws) Date: Mon, 21 Oct 2002 15:53:37 +0200 Subject: [Javascript] Only visible in Internet Explorer Message-ID: <5.1.1.6.0.20021021155150.009f08c0@pop.chello.se> Hi there, How do I make the link "invisible" in other browsers than Internet Explorer? Bookmark Regards, Lars Johansson From peter at brunone.com Mon Oct 21 09:41:26 2002 From: peter at brunone.com (Peter Brunone) Date: Mon, 21 Oct 2002 09:41:26 -0500 Subject: [Javascript] Buscas amigos..... References: <1844714-220021012104232908@MORFEO> <002501c278a8$ae099e60$2f108142@alvin> Message-ID: <021b01c2790f$efdcf1e0$3995210a@pbrunonePC> Esto es lo que se llama "spam" :-) No es solicitado nunca, y creo que David ya ha terminado este direccion de email. The key parts of this are most likely understandable in English as well. Don't let this put you off using the LaTech Javascript list; I'm sure David has already taken care of it. -Peter ----- Original Message ----- From: "Alvin Fisher" | Que tiene esto que ver con la programacion? In English, What does this have | to do with programming? | Alvin | | ----- Original Message ----- | From: "pulivan" | | > Publicidad | > | > | > Centro de Encuentro Social | > Nueva forma de conocerse y relacionarse, asociaci?n gratuita, | > Pe?as, grupos, chicos, chicas, homosexuales(Gay y Lesbianas) | > Manda un mensaje al 5868, Palabra clave encuentros | > con tu nombre, Correo electr?nico | > | > La mejor relaci?n, la mejor sorpresa, te espero | > Te relaciono con qui?n desees... | > Chicos, chicas, homosexuales(Gay y Lesbianas) | > Manda un mensaje al 5868, Palabra clave Hola | > con tu nombre y tu deseo | > | > Deseas saber que te depara el d?a de hoy | > Cons?ltanos y te mandamos lo que las cartas dicen | > Env?a un mensaje con la palabra clave"Hoy" al 5868 | > | > Este mensaje ha sido obtenido de un lugar p?blico, caso que no desea este | tipo de publicidad, nos mande un correo con la palabra REMOVE | > Coste del mensaje 0.9 Euros | > From reubendb at innovativethought.com Mon Oct 21 11:27:28 2002 From: reubendb at innovativethought.com (Reuben D. Budiardja) Date: Mon, 21 Oct 2002 12:27:28 -0400 Subject: [Javascript] Enumerate through element in NS 6/7 Message-ID: <200210211227.28769.reubendb@innovativethought.com> Hello all, In NS4, I can accessing element using document.getElementById(element) From LMuchacho at twii.net Mon Oct 21 11:28:02 2002 From: LMuchacho at twii.net (Muchacho, Laurent (TWIi London)) Date: Mon, 21 Oct 2002 17:28:02 +0100 Subject: [Javascript] Enumerate through element in NS 6/7 Message-ID: <76A6F0FCCA27D4119DEF00805F5700AC03C5D1CA@lon.webmail.twii.net> did you try ? -----Original Message----- From: Reuben D. Budiardja [mailto:reubendb at innovativethought.com] Sent: 21 October 2002 17:27 To: javascript at LaTech.edu Subject: [Javascript] Enumerate through element in NS 6/7 Hello all, In NS4, I can accessing element using document.getElementById(element) _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript DISCLAIMER - The preceding e-mail message (including any attachments) contains information that may be confidential, may be protected by the attorney-client or other applicable privileges, or may constitute non-public information. It is intended to be conveyed only to the designated recipient(s) named above. If you are not an intended recipient of this message, or have otherwise received it in error, please notify the sender by replying to this message and then delete all copies of it from your computer system. Any use, dissemination, distribution, or reproduction of this message by unintended recipients is not authorized and may be unlawful. The contents of this communication do not necessarily represent the views of this company. From reubendb at innovativethought.com Mon Oct 21 11:31:51 2002 From: reubendb at innovativethought.com (Reuben D. Budiardja) Date: Mon, 21 Oct 2002 12:31:51 -0400 Subject: [Javascript] Enumerate through element in NS 6/7 Message-ID: <200210211227.28769.reubendb@innovativethought.com> Sory.. the last message got sent by mistake. Anyway, here is the complete message. Hello all, In NS4, I can accessing layer element (eg
) using document.layers[index] where index is integer. This is useful if we want to go through all layers using loop for example. Similarly, in IE: document.all[element] But I think, the spec recommended by W3C is to get element using: document.getElementById(element_name) This works in Mozilla, NS 6/7, and IE > 5.5 I think. The former does not work in Mozilla, NS 6/7. So how can I iterate through element using the similar way with document.layers[index] for those newer browser? I looked through Mozilla doc for example, but didn't find anything that I want. Anyone knows about this? Thanks a lot. Reuben D. Budiardja From merchant at LATECH.EDU Mon Oct 21 11:42:13 2002 From: merchant at LATECH.EDU (David Merchant) Date: Mon, 21 Oct 2002 11:42:13 -0500 Subject: [Javascript] Buscas amigos..... In-Reply-To: <021b01c2790f$efdcf1e0$3995210a@pbrunonePC> References: <1844714-220021012104232908@MORFEO> <002501c278a8$ae099e60$2f108142@alvin> Message-ID: <5.1.0.14.2.20021021112912.02e33940@mail.latech.edu> > The key parts of this are most likely understandable in English as well. >Don't let this put you off using the LaTech Javascript list; I'm sure David >has already taken care of it. Yes, don't let this put you off using the list. The spammer's address has been added to the block list. So far most spam gets bounced to me without ever reaching the list, but occasionally, one will get through. TTFN, David Merchant Director of Integrated Technology Project LIFE Office Louisiana Tech University projectlife.latech.edu c3.latech.edu catalyst.latech.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From hassan at webtuitive.com Mon Oct 21 12:38:36 2002 From: hassan at webtuitive.com (Hassan Schroeder) Date: Mon, 21 Oct 2002 10:38:36 -0700 Subject: [Javascript] Enumerate through element in NS 6/7 References: <200210211227.28769.reubendb@innovativethought.com> Message-ID: <3DB43B9C.1020102@webtuitive.com> Reuben D. Budiardja wrote: > In NS4, I can accessing layer element (eg
) using > document.layers[index] > This works in Mozilla, NS 6/7, and IE > 5.5 I think. The former does not work > in Mozilla, NS 6/7. So how can I iterate through element using the similar > way with document.layers[index] for those newer browser? You can build an equivalent array using something like var allDivs = document.getElementsByTagName("div"); HTH! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com --- --- --- dream. code. --- From msocarras at terra.es Mon Oct 21 15:29:00 2002 From: msocarras at terra.es (Manuel Socarras Reyes) Date: Mon, 21 Oct 2002 22:29:00 +0200 Subject: [Fwd: [Javascript] moving layers in NN 6] References: <000401c275f8$aec7e3f0$467a5f80@hsl.washington.edu> Message-ID: <3DB4638C.1000406@terra.es> Harry Love wrote: > ... > Manuel, > For NN6+, Mozilla, IE5.5+, try > document.getElementById("idOfYourElement").offsetLeft i tried it but the layer doesn't move! document.getElementById("Layer1").offsetLeft -= 10; even though alert(document.getElementById("Layer1").offsetLeft); returns the correct layer's initial position ============================ Muchacho, Laurent wrote: >Hi Manuel > >This is pretty easy to do. >You must use >NS6 & IE 5 and over >document.getElementById('layer1').style.left += 10 > this doesn't works neither, logically i think because alert(document.getElementById("Layer1").style.left); returns: 50px (like in IE where you have to use pixelLeft instead) W'98 - NN 6.1 MacOS 9.2.2 - NN 6.2.1 & NN 7.0 any idea? i'm really lost! -- Saludos, Manuel Socarr?s Reyes Barcelona. Spain From msocarras at terra.es Mon Oct 21 16:08:52 2002 From: msocarras at terra.es (Manuel Socarras Reyes) Date: Mon, 21 Oct 2002 23:08:52 +0200 Subject: [Fwd: [Javascript] moving layers in NN 6] References: <000401c275f8$aec7e3f0$467a5f80@hsl.washington.edu> <3DB4638C.1000406@terra.es> Message-ID: <3DB46CE4.3080700@terra.es> besides, i forgot to mention, any comand after document.getElementById("idOfYourElement").offsetLeft doesn't execute (alert, location.href, ...) ??? -- Saludos, Manuel Socarr?s Reyes Barcelona. Spain Manuel Socarras Reyes wrote: > Harry Love wrote: > >> ... >> Manuel, >> For NN6+, Mozilla, IE5.5+, try >> document.getElementById("idOfYourElement").offsetLeft > > > i tried it but the layer doesn't move! > > document.getElementById("Layer1").offsetLeft -= 10; > > even though > > alert(document.getElementById("Layer1").offsetLeft); > > returns the correct layer's initial position > > ============================ > > Muchacho, Laurent wrote: > >> Hi Manuel >> This is pretty easy to do. >> You must use >> NS6 & IE 5 and over document.getElementById('layer1').style.left += >> 10 >> > this doesn't works neither, logically i think because > > alert(document.getElementById("Layer1").style.left); > > returns: 50px (like in IE where you have to use pixelLeft instead) > > > W'98 - NN 6.1 > MacOS 9.2.2 - NN 6.2.1 & NN 7.0 > > any idea? i'm really lost! > From hlove at u.washington.edu Mon Oct 21 23:58:12 2002 From: hlove at u.washington.edu (Harry Love) Date: Mon, 21 Oct 2002 21:58:12 -0700 (PDT) Subject: [Fwd: [Javascript] moving layers in NN 6] In-Reply-To: <3db4638c.1000406@terra.es> Message-ID: Manuel, Can you post a sample of your code with the problematic element? Or better yet, a URL? Harry > Harry Love wrote: > > > ... > > Manuel, > > For NN6+, Mozilla, IE5.5+, try > > document.getElementById("idOfYourElement").offsetLeft > > i tried it but the layer doesn't move! > > document.getElementById("Layer1").offsetLeft -= 10; > > even though > > alert(document.getElementById("Layer1").offsetLeft); > > returns the correct layer's initial position > From Danik at thomtech.co.nz Tue Oct 22 00:31:32 2002 From: Danik at thomtech.co.nz (Danik Sygrove) Date: Tue, 22 Oct 2002 18:31:32 +1300 Subject: [Javascript] Multicolored text in textarea Message-ID: Hi, I have a webpage which displays the contents of an HTML file in a Textarea. I'd like to display everything within the HTML tags as a different color to the other text. Is this possible? Any ideas? Thanks a lot, Danik From sujimon at SoftHome.net Tue Oct 22 03:25:49 2002 From: sujimon at SoftHome.net (Sujimon) Date: Tue, 22 Oct 2002 12:25:49 +0400 Subject: [Javascript] mailto text box for subject Message-ID: <002601c279a4$bbb9ab20$a814a5d9@suji> Hi , Iam trying to create mailto form with a text area to write the subject but problrm is that the text box is a recognising the line feeds. Its just dumping all text in one line without any line feeds. Pls help . window.location.href="mailto:" + LAdd +"?body=" + TxtBody.value; Thanks / Suji -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno.lanciau at cnes.fr Tue Oct 22 04:15:13 2002 From: bruno.lanciau at cnes.fr (Felix) Date: Tue, 22 Oct 2002 11:15:13 +0200 Subject: [Javascript] mailto text box for subject References: <002601c279a4$bbb9ab20$a814a5d9@suji> Message-ID: <200210220912.g9M9CLB07960@cnes.fr> look at this to change linefeed by
A+ F?lix bruno.lanciau at cnes.fr ----- Original Message ----- From: Sujimon To: javascript at latech.edu Sent: Tuesday, October 22, 2002 10:25 AM Subject: [Javascript] mailto text box for subject Hi , Iam trying to create mailto form with a text area to write the subject but problrm is that the text box is a recognising the line feeds. Its just dumping all text in one line without any line feeds. Pls help . window.location.href="mailto:" + LAdd +"?body=" + TxtBody.value; Thanks / Suji -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From reubendb at innovativethought.com Tue Oct 22 09:01:37 2002 From: reubendb at innovativethought.com (Reuben D. Budiardja) Date: Tue, 22 Oct 2002 10:01:37 -0400 Subject: [Javascript] onMouseOver event handler on
in NS4 Message-ID: <200210221001.37145.reubendb@innovativethought.com> Hello, Does anyone know if NS4 support onMouseOver event handler for
, eg: Eg, something like this does not work in NS4, while it works in NS6/7 a,d IE.
If NS4 does not support it, is there any known tricks / workaround? Thanks. Reuben D. Budiardja From olivier.marie at ulysse.u-bordeaux.fr Tue Oct 22 09:19:20 2002 From: olivier.marie at ulysse.u-bordeaux.fr (Olivier Marie) Date: Tue, 22 Oct 2002 16:19:20 +0200 Subject: [Javascript] How to go to the end of my page ? Message-ID: <016b01c279d6$067728f0$389dd293@hercule> Hello everybody I would like to scroll down my long page generated from php (this page is in a frame). So i put a anchor at the end : And in some case ( according to php results) I write a javascript command at the end of my html body to ask browser to scroll down : It works fine with netscape 4.7 and 6, explorer 5 and 6 (pc) but it doesn't work with Explorer 5.2 Mac. Is there any way to make it working on it ? Thanks for answers Olivier From olivier.marie at ulysse.u-bordeaux.fr Tue Oct 22 09:40:08 2002 From: olivier.marie at ulysse.u-bordeaux.fr (Olivier Marie) Date: Tue, 22 Oct 2002 16:40:08 +0200 Subject: [Javascript] How to go to the end of my page ? Message-ID: <020a01c279d8$ee07a350$389dd293@hercule> (Sorry if this post has been posted twice : I'm not sure it has been sent correctly) Hello everybody I would like to scroll down my long page generated from php (this page is in a frame). So i put a anchor at the end : And in some case ( according to php results) I write a javascript command at the end of my html body to ask browser to scroll down : It works fine with netscape 4.7 and 6, explorer 5 and 6 (pc) but it doesn't work with Explorer 5.2 Mac. Is there any way to make it working on it ? Thanks for answers Olivier From greg at krieser.com Tue Oct 22 09:59:08 2002 From: greg at krieser.com (greg at krieser.com) Date: Tue, 22 Oct 2002 09:59:08 -0500 Subject: [Javascript] getting form fields by name Message-ID: <200210221459.JAA04474@ppk.siteprotect.com> Here is a great resource for you to do what you are trying to do: http://www.xs4all.nl/~ppk/js/ Select Forms, the Introduction to forms. Scroll down to the check box area. Greg The following message was sent by "Alastair Moore" on Mon, 21 Oct 2002 13:54:32 +0100. > Hi all, > > I have a form such as below - > >
> onClick="checkBoxes(this.form, this.checked, this.value)">Culture Vultures > jo > Bill > Alf > onClick="checkBoxes(this.form, this.checked, this.value)">Sporty Types > Luke > onClick="checkBoxes(this.form, this.checked, this.value)" disabled>Party > Animals > No friends in this category > onClick="checkBoxes(this.form, this.checked, this.value)" disabled>Others > No friends in this category >
> > What I'm trying to do is check if all the "culture_chk" checkboxes have > been > checked and if so check the culture_all check box. Should a user unclick > one > of the culture_chk checkboxes, the culture_all checkbox will not be checked. > Does anyone have any suggestions how this can be done? > > Thanks! > > Welly > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From gassinaumasis at hotmail.com Tue Oct 22 10:09:38 2002 From: gassinaumasis at hotmail.com (Peter-Paul Koch) Date: Tue, 22 Oct 2002 15:09:38 +0000 Subject: [Javascript] onMouseOver event handler on
in NS4 Message-ID: >Does anyone know if NS4 support onMouseOver event handler for
, eg: >Eg, something like this does not work in NS4, while it works in NS6/7 a,d >IE. > >
> >If NS4 does not support it, is there any known tricks / workaround? You must make it a layer by giving it position: absolute (or maybe relative works, too). I don't think the HTML syntax is going to work here, though, I think you should do document.layers['test'].document.onmouseover = function () {alert('test')} See www.xs4all.nl/~ppk/js/index.html?events_tradmod.html for this way of event registration. All in all making this work in NN4 is a pretty difficult job, though it shouldn't be impossible. ppk _________________________________________________________________ Get a speedy connection with MSN Broadband.? Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp From Car1357ol at stiffyproductions.net Tue Oct 22 15:01:28 2002 From: Car1357ol at stiffyproductions.net (Carol S) Date: Tue, 22 Oct 2002 20:01:28 UT Subject: [Javascript] hi Message-ID: <20021022220210.625D757C5B@uber6.geektech.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From CGardner at JohnBurnham.com Tue Oct 22 16:51:51 2002 From: CGardner at JohnBurnham.com (Craig Gardner) Date: Tue, 22 Oct 2002 14:51:51 -0700 Subject: [Javascript] Multicolored text in textarea Message-ID: <67B06D59C5D2614B8DFF46A8AF4D6E46E439F7@Exchange> How about CSS? Text outside is one color Text Inside is another color Something like that. | -----Original Message----- | From: Danik Sygrove [mailto:Danik at thomtech.co.nz] | Sent: Tuesday, October 22, 2002 2:54 PM | To: 'javascript at LaTech.edu' | Subject: [Javascript] Multicolored text in textarea | | | > Hi, I have a webpage which displays the contents of an HTML | file in a | > Textarea. I'd like to display everything within the HTML tags as a | > different color to the other text. Is this possible? Any ideas? | > | > Thanks a lot, | > Danik | _______________________________________________ | Javascript mailing list | Javascript at LaTech.edu | https://lists.LaTech.edu/mailman/listinfo/jav| ascript | ====================================== Confidentiality Notice: The information contained in this electronic document is considered a confidential and/or privileged communication between John Burnham Insurance Services and the addressee(s). If the recipient(s) of this email communication is not the addressee(s), such recipient(s) is strictly prohibited from photocopying, distributing or otherwise using this email or its contents and/or attachment(s) in any way. If you received this message in error, please contact the sender listed above by any contact means listed. Thank you! From Danik at thomtech.co.nz Tue Oct 22 16:53:57 2002 From: Danik at thomtech.co.nz (Danik Sygrove) Date: Wed, 23 Oct 2002 10:53:57 +1300 Subject: [Javascript] Multicolored text in textarea Message-ID: > Hi, I have a webpage which displays the contents of an HTML file in a > Textarea. I'd like to display everything within the HTML tags as a > different color to the other text. Is this possible? Any ideas? > > Thanks a lot, > Danik From alex.yap at str.com.au Tue Oct 22 19:58:46 2002 From: alex.yap at str.com.au (Alexander Yap) Date: Wed, 23 Oct 2002 10:58:46 +1000 Subject: [Javascript] Convert Web page to GIF/JPG image? Message-ID: <20021023005756.1006E308AC3@LaTech.edu> Hi all, Does any one know whether it is possible to automatically convert a Web page to GIF/JPG image using Javascript? I'm not talking about using a screen-capture tool, because I have a Web page that is displayed inside a frame (with scrollbars) and screen capture will not get everything. I'm thinking about clicking a button that calls a Javascript function that converts the entire Web page to an image. The user is then prompted to save it to harddisk. Any ideas? Thanks in advance. -- Alexander Yap Melbourne, Australia From tsimmons at employmentlawadvisors.com Tue Oct 22 20:31:03 2002 From: tsimmons at employmentlawadvisors.com (William T. Simmons) Date: Tue, 22 Oct 2002 20:31:03 -0500 Subject: [Javascript] Convert Web page to GIF/JPG image? References: <20021023005756.1006E308AC3@LaTech.edu> Message-ID: <012601c27a33$da3d5ad0$0000a398@sndmgr122> Alexander, There is no method within JavaScript to do such a thing. It's a cool-sounding idea, though. Tommy Simmons Employment Law Advisory Network www.employmentlawadvisors.com ----- Original Message ----- From: "Alexander Yap" To: Sent: Tuesday, October 22, 2002 7:58 PM Subject: [Javascript] Convert Web page to GIF/JPG image? > Hi all, > > Does any one know whether it is possible to automatically convert a Web page to GIF/JPG image using Javascript? I'm not talking about using a screen-capture tool, because I have a Web page that is displayed inside a frame (with scrollbars) and screen capture will not get everything. I'm thinking about clicking a button that calls a Javascript function that converts the entire Web page to an image. The user is then prompted to save it to harddisk. > > Any ideas? > > Thanks in advance. > -- > Alexander Yap > Melbourne, Australia From trojani2000 at hotmail.com Wed Oct 23 09:45:05 2002 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Wed, 23 Oct 2002 14:45:05 +0000 Subject: [Javascript] Only visible in Internet Explorer Message-ID: There are several ways to hide an element in any browser, but diifferent browsers got different syntax to hide or view elements, so this way you could go crazy determining and telling to the specific browser how to hide an element 'if this=that', but if we presume that you're question is standing up-side-down, the solution to the problem becomes very simple: ....somewhere in the body....
...can add some explicit style and position to this div in .... This way, only the IE versions of Browsers will show the "Bookmark" link. Regards ------------------------------------------------------- >From: ws >Reply-To: javascript at LaTech.edu >To: javascript at latech.edu >Subject: [Javascript] Only visible in Internet Explorer >Date: Mon, 21 Oct 2002 15:53:37 +0200 > >Hi there, > >How do I make the link "invisible" in other browsers than Internet >Explorer? > >href="javascript:window.external.AddFavorite('http://www.urlgoeshere.com', >'Example bookmark link')"> >Bookmark > >Regards, >Lars Johansson > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From Subscriber_Services78061 at yahoo.com Wed Oct 23 10:34:38 2002 From: Subscriber_Services78061 at yahoo.com (WALL STREET BULLETIN…..47346) Date: Wed, 23 Oct 2002 10:34:38 -0500 Subject: [Javascript] NEW STOCK PICK: PRCT - LAST PICK UP 233%, NNCO............................................................................................................................................................................................... jtwah Message-ID: <20021023153249.14A59308D96@LaTech.edu> An HTML attachment was scrubbed... URL: From merchant at LATECH.EDU Wed Oct 23 11:15:05 2002 From: merchant at LATECH.EDU (David Merchant) Date: Wed, 23 Oct 2002 11:15:05 -0500 Subject: [Javascript] NEW STOCK PICK: PRCT In-Reply-To: <20021023153249.14A59308D96@LaTech.edu> Message-ID: <5.1.0.14.2.20021023111308.03bc5ec0@mail.latech.edu> These last two spam posts have been added to the blocked addresses file. Sorry for the surge of spam getting through, it's a constant battle to keep up... TTFN, David JavaScript List Administrator Director of Integrated Technology Project LIFE Office Louisiana Tech University projectlife.latech.edu c3.latech.edu catalyst.latech.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From hassan at webtuitive.com Wed Oct 23 11:23:44 2002 From: hassan at webtuitive.com (Hassan Schroeder) Date: Wed, 23 Oct 2002 09:23:44 -0700 Subject: [Javascript] Only visible in Internet Explorer References: <5.1.1.6.0.20021021155150.009f08c0@pop.chello.se> Message-ID: <3DB6CD10.3080808@webtuitive.com> ws wrote: > Hi there, > > How do I make the link "invisible" in other browsers than Internet > Explorer? Actually, you don't even need JavaScript; IE recognizes what are called "conditional comments" -- for example, Non-IE browsers will treat this as a standard HTML coment, but IE will display it. HTH! -- Hassan Schroeder ----------------------------- hassan at webtuitive.com Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com --- --- --- dream. code. --- From john at jwarner.com Wed Oct 23 11:36:24 2002 From: john at jwarner.com (John) Date: Wed, 23 Oct 2002 12:36:24 -0400 Subject: [Javascript] NEW STOCK PICK: PRCT In-Reply-To: <5.1.0.14.2.20021023111308.03bc5ec0@mail.latech.edu> Message-ID: I'm impressed that this doesn't happen more often. Thank you for your efforts in this regard! John Warner address: mailto:john at jwarner.com -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of David Merchant Sent: Wednesday, October 23, 2002 12:15 PM To: javascript at LaTech.edu Subject: Re: [Javascript] NEW STOCK PICK: PRCT These last two spam posts have been added to the blocked addresses file. Sorry for the surge of spam getting through, it's a constant battle to keep up... TTFN, David JavaScript List Administrator -------------- next part -------------- An HTML attachment was scrubbed... URL: From fisher at volstate.net Wed Oct 23 20:32:02 2002 From: fisher at volstate.net (Alvin Fisher) Date: Wed, 23 Oct 2002 21:32:02 -0400 Subject: [Javascript] NEW STOCK PICK: PRCT References: <5.1.0.14.2.20021023111308.03bc5ec0@mail.latech.edu> Message-ID: <008c01c27afd$28049a20$2a108142@alvin> Thanks for your diligence, Dave. Alvin ----- Original Message ----- From: David Merchant To: javascript at LaTech.edu Sent: Wednesday, October 23, 2002 12:15 PM Subject: Re: [Javascript] NEW STOCK PICK: PRCT These last two spam posts have been added to the blocked addresses file. Sorry for the surge of spam getting through, it's a constant battle to keep up... TTFN, David JavaScript List Administrator Director of Integrated Technology Project LIFE Office Louisiana Tech University projectlife.latech.edu c3.latech.edu catalyst.latech.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From hannum at ohio.edu Thu Oct 24 07:19:08 2002 From: hannum at ohio.edu (David Hannum) Date: Thu, 24 Oct 2002 08:19:08 -0400 Subject: [Javascript] NS Table BGCOLOR & DHTML Message-ID: <012301c27b57$8d6c2040$bd08eb84@HERCULESE> I have an application where I have a navagation block that is "included" in every page. This block has a nested table with select boxes and the tables have background colors. It works fine in every page except the home page where the background colors show up only until the DTHML headline fader kicks in. I figure it has somehthing to do with the layers generated by the headline fader, but I don't know how to control it. Does anybody have an ideas where I can start looking? JS/DHTML is not my strong point - but I'm working at it! 8-) Thanks, Dave =============================== David R. Hannum Web Analyst/Programmer Ohio University Computer Services Administrative Systems (740) 597-2524 "If your wife is having fun, and you're not . . . You're still having a lot more fun than if you're having fun, and she's not!" (Red Green) From trojani2000 at hotmail.com Thu Oct 24 14:59:47 2002 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Thu, 24 Oct 2002 19:59:47 +0000 Subject: [Javascript] NS Table BGCOLOR & DHTML Message-ID: Try refreshing the table (fi), re-declaring table possition at the and of the fader. Regards >From: "David Hannum" >Reply-To: javascript at LaTech.edu >To: "JavaScript at LaTech" >Subject: [Javascript] NS Table BGCOLOR & DHTML >Date: Thu, 24 Oct 2002 08:19:08 -0400 > >I have an application where I have a navagation block that is "included" in >every page. This block has a nested table with select boxes and the tables >have background colors. It works fine in every page except the home page >where the background colors show up only until the DTHML headline fader >kicks in. I figure it has somehthing to do with the layers generated by >the >headline fader, but I don't know how to control it. Does anybody have an >ideas where I can start looking? JS/DHTML is not my strong point - but I'm >working at it! 8-) > >Thanks, >Dave > > >=============================== >David R. Hannum >Web Analyst/Programmer >Ohio University Computer Services >Administrative Systems >(740) 597-2524 > >"If your wife is having fun, and you're not . . . >You're still having a lot more fun than if >you're having fun, and she's not!" (Red Green) > >_______________________________________________ >Javascript mailing list >Javascript at LaTech.edu >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Surf the Web without missing calls!?Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp From trojani2000 at hotmail.com Thu Oct 24 15:10:24 2002 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Thu, 24 Oct 2002 20:10:24 +0000 Subject: [Javascript] How to go to the end of my page ? Message-ID: An HTML attachment was scrubbed... URL: From hannum at ohio.edu Thu Oct 24 16:41:17 2002 From: hannum at ohio.edu (David Hannum (Ohio University)) Date: Thu, 24 Oct 2002 17:41:17 -0400 Subject: [Javascript] NS Table BGCOLOR & DHTML References: Message-ID: <005401c27ba6$17fed740$cb4d6f0a@HERCULESE> OK, that sounds great. But HOW do I do that. Remember, I said DHTML is not my strong point. 8-) Dave ----- Original Message ----- From: "BEKIM BACAJ" To: Sent: Thursday, October 24, 2002 3:59 PM Subject: Re: [Javascript] NS Table BGCOLOR & DHTML > > > Try refreshing the table (fi), re-declaring table possition at the and of > the fader. > Regards > > > > >From: "David Hannum" > >Reply-To: javascript at LaTech.edu > >To: "JavaScript at LaTech" > >Subject: [Javascript] NS Table BGCOLOR & DHTML > >Date: Thu, 24 Oct 2002 08:19:08 -0400 > > > >I have an application where I have a navagation block that is "included" in > >every page. This block has a nested table with select boxes and the tables > >have background colors. It works fine in every page except the home page > >where the background colors show up only until the DTHML headline fader > >kicks in. I figure it has somehthing to do with the layers generated by > >the > >headline fader, but I don't know how to control it. Does anybody have an > >ideas where I can start looking? JS/DHTML is not my strong point - but I'm > >working at it! 8-) > > > >Thanks, > >Dave > > > > > >=============================== > >David R. Hannum > >Web Analyst/Programmer > >Ohio University Computer Services > >Administrative Systems > >(740) 597-2524 > > > >"If your wife is having fun, and you're not . . . > >You're still having a lot more fun than if > >you're having fun, and she's not!" (Red Green) > > > >_______________________________________________ > >Javascript mailing list > >Javascript at LaTech.edu > >https://lists.LaTech.edu/mailman/listinfo/javascript > > > _________________________________________________________________ > Surf the Web without missing calls! Get MSN Broadband. > http://resourcecenter.msn.com/access/plans/freeactivation.asp > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript > From trojani2000 at hotmail.com Thu Oct 24 16:56:58 2002 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Thu, 24 Oct 2002 21:56:58 +0000 Subject: [Javascript] NS Table BGCOLOR & DHTML Message-ID: An HTML attachment was scrubbed... URL: From merchant at LATECH.EDU Fri Oct 25 15:01:17 2002 From: merchant at LATECH.EDU (David Merchant) Date: Fri, 25 Oct 2002 15:01:17 -0500 Subject: [Javascript] NEW STOCK PICK: PRCT In-Reply-To: <008c01c27afd$28049a20$2a108142@alvin> References: <5.1.0.14.2.20021023111308.03bc5ec0@mail.latech.edu> Message-ID: <5.1.0.14.2.20021025145756.02b31ec0@mail.latech.edu> At 09:32 PM 10/23/2002 -0400, you wrote: >Thanks for your diligence, Dave. It's just my job as list admin, but thanks anyway for the complimentary comments from list members both on and off list! TTFN, David Director of Integrated Technology Project LIFE Office Louisiana Tech University Carson Taylor Hall, Rm. 120 PO Box 3179 Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu c3.latech.edu catalyst.latech.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From gschafer at robandger.com Sun Oct 27 20:15:21 2002 From: gschafer at robandger.com (Gerald Schafer) Date: Sun, 27 Oct 2002 18:15:21 -0800 Subject: [Javascript] acrobt plugin Message-ID: Hello Victor I stumbled onto your post at https://lists.latech.edu/pipermail/javascript/2002-July/003853.html I wonder, did you ever resolve this issue? I am facing a similar problem now Thank you, Gerald Schafer --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.401 / Virus Database: 226 - Release Date: 10/9/2002 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hszheng991 at hotmail.com Mon Oct 28 00:37:56 2002 From: hszheng991 at hotmail.com (hszheng991) Date: Mon, 28 Oct 2002 00:37:56 -0600 (CST) Subject: [Javascript] ÖÐСÐÍÍøÕ¾Ê×Ñ¡¿Õ¼ä£¡ Message-ID: <20021028063756.27A21308AAD@LaTech.edu> ???????????????? ??????????????????????????????????30????30?????????????????????????? ?????????????????????????????????????????????????????????????????? 1??200M????HTML??????+ ??????????????????150??/?? 2??60M????+60M???????? + ????ASP??CGI + ??????????????????236??/?? 3??200MP????+200M???????? + ????ASP??CGI??ACCESS + ??????????????????336??/?? ??????????????????????--?????????????????? ??http://www.88dns.com/??????????. ?????????????????????????????????????????????????????????????????????????????? ???????????????? ??????100M??????????(??????????????????????????????????????)?? ????????????????????????????????????????????????????????????????24???????????? ???????????????????????????????????????????????????????????????? ???????????????????????????????????????????????????????? ????E-mail:??zwb at logindns.com ??QQ??40327558????????0592-8667174???????????? ????!???? ????????????????????????????????????????????!!! ?????????????????????????????????????????????????????? ?????????????????????????????????????????????????????????????????????? --------------------------------------------------------------- ????????????,??????????????????(http://www.21cmm.com) ??CMM????(http://www.21cmm.com)???????????????? From merchant at LATECH.EDU Mon Oct 28 11:00:10 2002 From: merchant at LATECH.EDU (David Merchant) Date: Mon, 28 Oct 2002 11:00:10 -0600 Subject: [Javascript] JavaScript List Unsubscirbe, Subscribe & Posting Info. Message-ID: <5.1.0.14.2.20021028105953.02a9ac00@mail.latech.edu> There are two sets of instructions, first for those who joined the list directly and second for those who joined the list via egroups (at present I cannot manually unsubscribe anyone who joined via Yahoo Groups or eGroups). 1. If you wish to subscribe or unsubscribe, visit https://lists.LaTech.edu/mailman/listinfo/javascript or send a message with the word `help' in it to the request address, javascript-request at LaTech.edu, for further instructions. To post to the list, send your posts to javascript at latech.edu 2. For those who subscribed to the Javascript list via Yahoo Groups (formally eGroups), here is how to unsubscribe: To unsubscribe via email: From your email program, send a blank message to: javascript-unsubscribe at yahoogroups.com To unsubscribe via the Web: * Sign in to Yahoo! Groups and go to the My Groups page. * Click on the Edit Message Settings link at the top of the page. * Look for the group you wish to unsubscribe from, and select Unsubscribe from the pull-down list on the right. * Click Update to save your changes. The group will no longer be listed on the My Groups page, and you will no longer receive messages. Note: If you own a group, you must first give up your ownership in the Members section of your group before you can unsubscribe on the My Groups page. *** I CANNOT manually unsubscribe you if you subscribed to the list via eGroups or Yahoo Groups. *** I have complained _repeatedly_ about this to the folks at Yahoo Groups, but to no avail. I can only manually unsubscribe those who joined via https://lists.LaTech.edu/mailman/listinfo/javascript. TTFN, David Director of Integrated Technology Project LIFE Office Louisiana Tech University Carson Taylor Hall, Rm. 120 PO Box 3179 Ruston, LA 71272 Tel: (318) 257-4772 Fax: (318) 257-3852 projectlife.latech.edu c3.latech.edu catalyst.latech.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From piaohw at neusoft.com Tue Oct 29 00:52:36 2002 From: piaohw at neusoft.com (piaohw) Date: Tue, 29 Oct 2002 14:52:36 +0800 Subject: [Javascript] Date Mask Message-ID: <002401c27f17$c435c9f0$73d9a8c0@neusoftSteven> Hi? Is there a way to put some form of 'Input Mask' on a date field on my web page. As they type I want the following mask to be applied YYYY-MM-DD hh:mm:ss so they cannot type any different. Find the validation of values after keyup. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From Murugan.Selvaraj at geind.ge.com Tue Oct 29 09:48:33 2002 From: Murugan.Selvaraj at geind.ge.com (Selvaraj, Murugan (Indsys)) Date: Tue, 29 Oct 2002 21:18:33 +0530 Subject: [Javascript] set the value to the file filed dynamically in IE Message-ID: <05C613689F01D611AC820002A54177C003345A3F@GIAHYDMSX2.SGE.INDSYS.GE.COM> Hi All Here with i am describing the problem with file filed,. Requirement: 1. Have a parent page with click hyper link and the file filed 2. Hide the file filed as well as the browse button in the parent window. 3. When the button is cliked , the pop up page (window.open) should be opend with the file filed and browse button and submit button . 4. In the pop up page user can select the file from the local machine and click on button. Action to be performed between two page: when the user selects the file from the location machine in the pop up window, close the window and redirect to the parent window and place the name of the file selected by the user in file filed (This will be hide) in the parent window.the multipart request will be passed from the parent to nect page to check in a file. Problem: I read the document that the IE 4/5 can't set the value to the file fileld as the file filed is read only in IE I have written the below code
Click here to check in a file
Can any one help me or suggest me? Thanks Murugan "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system." From MSPEED65 at aol.com Tue Oct 29 16:21:55 2002 From: MSPEED65 at aol.com (MSPEED65 at aol.com) Date: Tue, 29 Oct 2002 17:21:55 EST Subject: [Javascript] Javascript Print Function Message-ID: Hello, I was looking for something exactly what you were looking for. I saw your post on the web. I am looking for a script that will bypass that print window that comes up to ask if you want to cancel or ok with printing the page. Please let me know if you found a solution. Thanks very much. [Javascript] Print window Rafael Hern?ndez javascript at LaTech.edu Fri, 9 Aug 2002 08:54:42 +0200 Previous message: [Javascript] Disable controls Next message: [Javascript] strange things in javascript world Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi! Somebody knows how disable the printer dialog window when i send the command window.print. Sorry for my english. ____________________________________________________________ D A T A D E C ebussines solutions / Oracle solutions Rafael Hernandez Lluch rhernandez at datadec.es C/Sureres, n? 1,planta 1? tel :+ 34- 902 48 10 48 46014 Valencia, Spain fax:+ 34- 96- 350 05 55 www.datadec.es ____________________________________________________________ Previous message: [Javascript] Disable controls Next message: [Javascript] strange things in javascript world Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From walter at torres.ws Tue Oct 29 16:57:32 2002 From: walter at torres.ws (Walter Torres) Date: Tue, 29 Oct 2002 16:57:32 -0600 Subject: [Javascript] Javascript Print Function In-Reply-To: Message-ID: <001701c27f9e$9055d620$643f170a@eloyaltyco.com> Search the archive here. I gave *an* answer last year. Walter -----Original Message----- From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On Behalf Of MSPEED65 at aol.com Sent: Tuesday, October 29, 2002 4:22 PM To: javascript at LaTech.edu Subject: [Javascript] Javascript Print Function Hello, I was looking for something exactly what you were looking for. I saw your post on the web. I am looking for a script that will bypass that print window that comes up to ask if you want to cancel or ok with printing the page. Please let me know if you found a solution. Thanks very much. [Javascript] Print window Rafael Hern?ndez javascript at LaTech.edu Fri, 9 Aug 2002 08:54:42 +0200 Previous message: [Javascript] Disable controls Next message: [Javascript] strange things in javascript world Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi! Somebody knows how disable the printer dialog window when i send the command window.print. Sorry for my english. ____________________________________________________________ D A T A D E C ebussines solutions / Oracle solutions Rafael Hernandez Lluch rhernandez at datadec.es C/Sureres, n? 1,planta 1? tel :+ 34- 902 48 10 48 46014 Valencia, Spain fax:+ 34- 96- 350 05 55 www.datadec.es ____________________________________________________________ Previous message: [Javascript] Disable controls Next message: [Javascript] strange things in javascript world Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastian.lahajnar at pris-inz.si Wed Oct 30 03:50:41 2002 From: sebastian.lahajnar at pris-inz.si (sebastian) Date: Wed, 30 Oct 2002 10:50:41 +0100 Subject: [Javascript] window closing Message-ID: Hi. On my page I'm using JavaScript to open a new window (let's say win1) just before I submit a page. win1=window.open .... document.xxx.submit() How to close this window when the user actualy navigates to the next page. I tried to use win1.close() on onUnload ewent but because the two statements are not in the same function en error occur ( win1 is not an object...) I'm using this page to upload a file to the server using a Dundas upload component and I want a message to be displayed (new window) while a file is uploading. Thanks, Sebastian From trojani2000 at hotmail.com Wed Oct 30 10:18:44 2002 From: trojani2000 at hotmail.com (BEKIM BACAJ) Date: Wed, 30 Oct 2002 16:18:44 +0000 Subject: [Javascript] window closing Message-ID: An HTML attachment was scrubbed... URL: From lshadoff at brazosport.cc.tx.us Wed Oct 30 12:13:11 2002 From: lshadoff at brazosport.cc.tx.us (Lewis Shadoff) Date: Wed, 30 Oct 2002 12:13:11 -0600 Subject: [Javascript] Re: Javascript digest, Vol 1 #794 - 4 msgs In-Reply-To: <20021030180102.B0259308AAE@LaTech.edu> Message-ID: <5.1.1.6.0.20021030120942.012c0540@pop3.brazosport.cc.tx.us> Sebastian, You can declare global variables in JavaScript. Just put a declaration statement at the root level (outside all functions) like this, for example: win1 = ""; When win1 is then modified in a function it is available globally. At 12:01 PM 10/30/2002, Sebastian wrote: >I tried to use win1.close() on onUnload ewent but because the two statements >are not in the same function en error occur ( win1 is not an object...) Lew Lewis A. Shadoff, Ph.D. Brazosport College Lake Jackson, TX From Jeanine.Meyer at purchase.edu Thu Oct 31 13:20:20 2002 From: Jeanine.Meyer at purchase.edu (Meyer, Jeanine) Date: Thu, 31 Oct 2002 14:20:20 -0500 Subject: [Javascript] help with asp/javascript date problem Message-ID: hello, I have found you all in various forums. I am having a problem with setting the expiration for cookies using asp and JavaSCript. I think it is a datatype conversion issue. Here is the code: var dtNow=new Date(); //get now var dtLater=new Date(dtNow.getTime()+5 * 60000); // add your 5 minutes var later=dtLater.toLocaleString(); //convert to Local time Response.Cookies("currentclientname") = sname; Response.Cookies("currentclientname").expires = later; Any suggestions will be appreciated. thanks, Jeanine From TrippCL at state.gov Thu Oct 31 14:31:47 2002 From: TrippCL at state.gov (Tripp, Candace L) Date: Thu, 31 Oct 2002 15:31:47 -0500 Subject: [Javascript] OT: styles Message-ID: <31EAD63EF127D311A7C500E0290A222D018B3724@imsioopssntsd.irm.state.gov> How do I color my scroll bars using styles? TIA -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 1412 bytes Desc: not available URL: