Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Its about Javascript: Highlighting the activated link  RSS feed

 
Tilak Ochani Jiwansingh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends...
This problem is not about java but HTML and javascript.
My problem is that I have got Menu as html page. When i click any of the menu item , then i want to keep that menu item highlighted as bold or in diffrent color.
I did use alink property , but this is not working with Netscape browser but only with IE. And it is our projects requirement to make it run on Netscape.
If any of you have encountered this problem then please let me know the solution considering it as very urgent.
Hope you friends would come up with suggestion and solution.
Thank you
Tilak Ochani
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
this seems to be the wrong forum, there is a html/javascript forum too.
anyway: netscape (4.X) does not support dynamic changes to html properties. the only thing you can change is the source of an image and properties of Layer Objects.
so here is what you can do:
make images with the text you want to change/highlight.
make this image a link, and write an onmouseover/onmouseout eventhandler for it to swap/restore the images.

karl
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to the HTML/JavaScript forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!