• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

javascript help needed, please

bagaki

Senior member
i know very little about javascript, but have a basic understanding of programming. Here is my problem, i cannot seem to get this mouse over to work right. if anyone would like to look at it and see what i am missing i would be very much grateful. i want to have it setup so that when you click on the "button" it looks like it is being pressed down (that part works), but i also want a different graphic displaying the destination to appear on the mouseover.

here is the menu

the pictures that are not loading are suppose to say the destination of the button
bagaki

EDIT: i seem to have fixed the rollover, but now the mouseclick doesnt work. i appreciate any help
 
At first glance your onmouseout isn't in there, so it's not showing the original image when the mouse is gone.

edit: in Opera
 
Also you table is too narrow in mozilla, so it displays it funny.

Also I'm not sure it's onmousedown, it should be onclick. But not 100% on this part.
 
Try this page

The javascript is much more simplified, but I think it still does what you're wanting it to do(though the onMouseOver event doesn't work in Opera, not sure why). I hope I'm not helping do homework for you.

As for your code, I honestly don't understand your changeImages fuction, but then again, it's 4 a.m. and I'm really tired, so I can't really tell you why it doesn't work.

Hope this helps.
 
Back
Top