hwg-basics archives | Aug 2000 | new search | results | previous | next |
javascript/links arrayby "Julie Sperhac" <jasperhac(at)netzero.net> |
|
Hi. I'm updating a church website. Basically all the pages on the site have a link to the liturgical ministers' schedule, which calls up the js function schedule(). What I want is for the function to open up the lit. min. schedule link on the bulletin page, which is updated every week. This way I won't have to update the .js file, but only the bulletin. Problem: my function isn't working...it does nothing at all. Could be that I'm doing something blatantly wrong, but I just don't see it...I'm trying to use a links array. Any suggestions? The site, btw, is www.sfx-lg.org, but as it is right now, I'm just updating the links.js file every week with the correct jpg. here's the code that won't work: function schedule(){ mywindow="bulletin.htm"; litmin=mywindow.window.document.links[11]; window8 = window.open(litmin,"newone","scrollbars,toolbar=no,location=no,directories=n o,status=no,menubar=yes,resizable=yes,width=620,height=780"); window8.focus(); } Thanks much, Julie ____________NetZero Free Internet Access and Email_________ Download Now http://www.netzero.net/download/index.html Request a CDROM 1-800-333-3633 ___________________________________________________________
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA