homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

JS and 2 functions...

 3:37 pm on Nov 20, 2000 (gmt 0)


I would like to request help from someone, anyone please. I am new at JS and trying to learn.

I have a new navigation scheme that I am going to implement at my site. It already is using JS for rollovers. Right now when you mouse over a hyperlink it pops up an arrow to the left of the hyperlink. I would like to, in the top left cell of the table above it, also have a image come up when the hyperlink is rolled over. The image will be suggestive text in the form of a GIF file (unless their is a better way of getting the message to appear up there using text through JS).

The test is at URL: [goldenwebjewelers.com...] This has an include file called [goldenwebjewelers.com...] It also references, an external JS file which contains:

<!-- Begin
function imgover(imgname){
imgname.src = "goldarrow.gif"
function imgout(imgname){
imgname.src = "blank.gif"
// End -->

Any help would be great. Been searching for several days, just not finding what I need. Really want to use the second function to help "market" my site.


Brian McGrath

Edited by: GWJ



 7:20 pm on Nov 20, 2000 (gmt 0)

Right now I'm getting a 404 on your test page, but I think I have the idea for what you want.

Here's a great resource [bosrup.com] called the "OverLIB" -- a library for all kinds of rollover functions. It includes text boxes of all kinds, static position, sticky to the cursor, etc. Hope it helps.


 9:12 pm on Nov 20, 2000 (gmt 0)

Thanks Tedster, I appreciate the point. He has some cool stuff.

I reread my earlier post and had to edit that before going into this one. Guess coffee in the a.m. is not enough. I'll have to add Mt. Dew also ;).

Anyway, these are the correct URLs...

Test page

Include page that I am inserting into the above [goldenwebjewelers.com...]

I was more looking to keep the existing event (the arrow) and add the suggestive sell text/GIF in the top table first cell when the mouse goes over the hyperlinks. I remember reading about using secondary images/events or something along that lines but just do not know near enough to do this one.

Any advice is appreciated but can understand as this is specific.

Thanks again,



 10:23 pm on Nov 20, 2000 (gmt 0)

Look to your sticky mail for some coding help on this kind of functionality. You can check out this page [telehealthsolutions.com]to see a related example and decide if it's what you are after.

Disclaimer: not my site!


 10:43 pm on Nov 20, 2000 (gmt 0)

Here's an alternative I've been eyeing. Take a look at this site [uksharenet.com...] -rollovers are in the "Contents" section. Though a little crowded, I think this is one of the best looking "nav aid" rollovers I've seen. The tutorial is on [javascript.internet.com...]

uksharenet is not my site


 11:08 pm on Nov 20, 2000 (gmt 0)

I've also seen this kind of nav aid done very well in Flash. I think small touches of Flash can be excellent, once the designer gets rid of the idea that they have gone to Hollywood. The animation moves a lot more comfortably to my eye.


 12:12 pm on Nov 21, 2000 (gmt 0)

AS usual thank you both very much. I have not checked out the pointers but your help is always appreciated. A virtual beer all around and a smile :).

Thanks again,


P.S. Tried the coffee and Mt Dew combo, bad after taste but I built a server in under 10 minutes.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved