[thelist] Nice interface needs a little .js help.

Warbasse Design - Info info at warbassedesign.com
Wed May 19 01:38:25 CDT 2004

Hello fellow evolters,

I have created an interface for a web chat show that needs a little
javascript help.  I using a mouse-on, mouse-off, swapout javascript to run
the interface navigation.  The problem I am running into is that I need to
swap out two windows instead of one.  I believe I need an "else statement"
in my javascript, but, need assistance.

Please see GUI at http://www.warbassedesign.com/pcchat/interface_scroll.htm
In the HEAD this is the current javascript code.

 function chgImg(imgField,newImg) {
  if (document.images) {
   document[imgField].src= eval(newImg + ".src")
It is written to handle one swap out field... I need two swap out fields.
In the body these two snippets represent each window.  I know the NAME=
cannot be the same for both.
Left Window <IMG SRC="images/dial_home.jpg" NAME="textField">
Right Window <IMG SRC="images/ltl_panel.jpg" NAME="textField">

I am very close. Please let me know if you can help push me over the finish

Very Best,
Philip Warbasse

More information about the thelist mailing list