[thelist] easy Javascript query

ALBIE ATTIAS ALBIE at eurosimm.com
Fri Jul 20 09:46:11 CDT 2001


Hello y'all


Can someone please take a minute and lend me a hand with some Javascript? My
virtual web assistant, which can be accessed at the following URL:

http://www.eurosimm.com/helpdesk_framed.htm


has a few small problems, as follows:


- I could do with optimising my image preloading. At the moment I'm writing
out code for every single image. I know I can do this better by using a for
loop, but how should it be written?

- Pressing the enter key should submit the user input and do nothing else.
At the moment, pressing enter inappropriately (eg twice) causes duplication
of the image on the page. I'd like to stop this happening.

- In IE, there are helpful images at the side of the text box to indicate
who's talking. These don't appear in Netscape. Can I tweak my code to
include them in Netscape?


Many thanks for your help.



Albie Attias 
IT Manager 
Eurosimm specialise in Memory and Hard Drive
Solutions for Major Branded Systems
E-Mail: albie at eurosimm.com
Web :http://www.eurosimm.com
Tel : +44 (0) 1706 360000
Fax : +44 (0) 1706 620000
AOL IM : AAEUROSIMM




More information about the thelist mailing list