> I'm trying to get the following code to work:
>
> bullet = new Image();
> bullet.src = "../images/bullet_black_dot.gif";
>
> function turn_on(image_number){
> document.main[image_number].src = bullet.src;
> }
>
> In my doc, I have a clear gif sitting as a spacer next to each member of a
> link list:
JavaScript requires that names begin with a letter.
Cannot tell if main is defined as an object from you code segment.
I know it's not exactly what you are looking for but I have a JS
Rollover tutorial/generator at:
http://www.usats.com/rollover/
Fill in the forms and it mails you an html document with the JS and
html parts ready to go.
I usually find it easier to start with something that works and
beat it into submission than starting from scratch.
Urb
____________________________________________________________________
--------------------------------------------------------------------
Join The NEW Web Consultants Association FORUMS and CHAT:
Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
Give the Gift of Life This Year...
Just4U Stop Smoking Support forum - helping smokers for
over three years-tell a friend: http://just4u.com/forums/
To get 500 Banner Ads for FREE
go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------