You might want to take a look at my company home page (my 8-5 job).
http://www.iso-ne.com/
It has something similar to what you want and you are more than
welcome to "borrow" the code.
Just mouse over the left side menu bar.
At 01:15 AM 12/30/98 -0800, Jack Killpatrick wrote:
>Hi,
>
>Got a question for javascript folks:
>
>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:
>
><img name="5551212" src="../images/spacer.gif"...etc>
><a href="whatever.html" onclick="turn_on('5551212')"><br>
>
><img name="515223" src="../images/spacer.gif"...etc>
><a href="whatever.html" onclick="turn_on('515223')"><br>
>
><img name="444333" src="../images/spacer.gif"...etc>
><a href="whatever.html" onclick="turn_on('444333')"><br>
>
>The idea is that when someone clicks on one of these links, the bullet will
>"turn on" next to it. The links load a RealAudio clip, so the page itself
>doesn't reload onclick...I just want the bullet to "turn on" next to the
>link the user clicks on.
>
>I'm getting a javascript error in IE4 (only platform tested on so far):
>
> document.main[...] is not an object
>
>Any ideas where I'm going wrong? Does it have to do with using numbers as
>img names?
>
>TIA,
>Jack
>
>
>
>
>
>
>
>
>____________________________________________________________________
>--------------------------------------------------------------------
> 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
>---------------------------------------------------------------------
>
>
Matt Soffen
==============================================
Boss - "My boss says we need some eunuch programmers."
Dilbert - "I think he means UNIX and I already know UNIX."
Boss - "Well, if the company nurse comes by, tell her I said
never mind."
- Dilbert -
==============================================
____________________________________________________________________
--------------------------------------------------------------------
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
---------------------------------------------------------------------