If ASP is relevant then this should have been posted in an ASP newsgroup.
Note that nowhere in your question do you say ASP. I have seen thousands
(literally thousands) of questions and answered thousands. I have seen many
questions in which people are not specific. You need to specify that you are
using ASP. Don't expect people to be psychic. You need to learn to say you
are using ASP if you are.
You said "I did not recognize this earlier because I could not see the
change happening". My suggestions were intended to help you diagnose
problems by allowing you to see things like that.
> Apparently you are unfamiliar with the concept of server-side technology.
> Server-side technology is an application that runs on the web server and
[quoted text clipped - 112 lines]
>>> id and the keyword this) is no different than the second statement in
>>> the onmouseover event. What is making them different? Thanks.
Nathan is a prolific cross-poster.
Bob Lehmann
> If ASP is relevant then this should have been posted in an ASP newsgroup.
> Note that nowhere in your question do you say ASP. I have seen thousands
[quoted text clipped - 22 lines]
> >
> > <a
onclick="UnselectCategories();datCategories_ctl00_lnkCategory.className='Cat
egory_Selected';"
> > id="datCategories_ctl00_lnkCategory" class="Category_Selected"
onmouseover="categorystyle=this.className;this.className='Category_Selected'
;"
> > onmouseout="this.className=categorystyle;"
> > href="javascript:__doPostBack('datCategories$ctl00$lnkCategory','')"
[quoted text clipped - 36 lines]
> >> Also it would help to move the statements out of the event parameter and
> >> into a function. In other words instead of:
onclick="UnselectCategories();datCategories_ctl00_lnkCategory.className='Cat
egory_Selected';"
> >> Create a function such as:
> >>
[quoted text clipped - 19 lines]
> >>>
> >>> <a
onclick="UnselectCategories();datCategories_ctl00_lnkCategory.className='Cat
egory_Selected';"
> >>> id="datCategories_ctl00_lnkCategory" class="Category_Selected"
onmouseover="categorystyle=this.className;this.className='Category_Selected'
;"
> >>> onmouseout="this.className=categorystyle;"
> >>> href="javascript:__doPostBack('datCategories$ctl00$lnkCategory','')"
[quoted text clipped - 25 lines]
> >>> id and the keyword this) is no different than the second statement in
> >>> the onmouseover event. What is making them different? Thanks.