Avatar of IanTh
IanThFlag for United Kingdom of Great Britain and Northern Ireland

asked on 

modified link behaves different

I modified a link for a friends website
 src="images/left_navi_arrow.gif"
                              width=5> <a class=LeftNaviText
                              onMouseOver="JavaScript:RowOver('LeftNavi_email','#CCCCCC')"
                              onMouseOut="JavaScript:RowOver('LeftNavi_email','#FFFFFF')"
                              href="mailto:consultant@trec-associates.com">Email</a></td>
                                  </tr>
                                  <tr>
                                    <td class=LeftNaviText
                              id=LeftNavi_GeneralEnquiry><img height=10
                              src="images/left_navi_arrow.gif"
                              width=5> <a class=LeftNaviText
                              onMouseOver="JavaScript:RowOver('LeftNavi_generalenquiry','#CCCCCC')"
                              onMouseOut="JavaScript:RowOver('LeftNavi_generalenquiry','#FFFFFF')"
                              href="useful-links.html">Useful links</a></td>
                                  </tr>
                                  <tr>
                                    <td class=LeftNaviText id=LeftNavi_fullcontact><img
                              height=10
                              src="images/left_navi_arrow.gif"
                              width=5> <a class=LeftNaviText
                              onMouseOver="JavaScript:RowOver('LeftNavi_fullcontact','#CCCCCC')"
                              onMouseOut="JavaScript:RowOver('LeftNavi_fullcontact','#FFFFFF')"
                              href="contact.htm">Full Contact Details</a></td>

this was the old code
 <td class=LeftNaviText
                              id=LeftNavi_GeneralEnquiry><img height=10
                              src="images/left_navi_arrow.gif"
                              width=5> <a class=LeftNaviText
                              onMouseOver="JavaScript:RowOver('LeftNavi_GeneralEnquiry','#CCCCCC')"
                              onMouseOut="JavaScript:RowOver('LeftNavi_GeneralEnquiry','#FFFFFF')"
                              href="general_enquiry.htm">General enquiry</a></td>
                                  </tr>

I changed general enquiry to usefil links and afterwards the link behaves differently as ther general enquirly
general enquiry you click it and it works after changing to
<td class=LeftNaviText
                              id=LeftNavi_GeneralEnquiry><img height=10
                              src="images/left_navi_arrow.gif"
                              width=5> <a class=LeftNaviText
                              onMouseOver="JavaScript:RowOver('LeftNavi_GeneralEnquiry','#CCCCCC')"
                              onMouseOut="JavaScript:RowOver('LeftNavi_GeneralEnquiry','#FFFFFF')"
                              href="useful-links.html">Usefull links</a></td>
                                  </tr>

the link now after clicking goes red
I dont understand that javascript:rowover what does 'LeftNavi_GeneralEnquiry' mean I think thats my problem
Web Development

Avatar of undefined
Last Comment
IanTh
ASKER CERTIFIED SOLUTION
Avatar of karl-henrik
karl-henrik
Flag of Sweden image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

so why does it have the name leftnavi_GeneralEnquiry in it
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

I know what it was it was missing an id as I now have

<td class=LeftNaviText id=LeftNavi_UsefulLinks>
                                    <img height=10
                              src="images/left_navi_arrow.gif"
                              width=5>
                              <a class="LeftNaviText"
                              onMouseOver="JavaScript:RowOver('LeftNavi_UsefulLinks','#CCCCCC')"
                              onMouseOut="JavaScript:RowOver('LeftNavi_UsefulLinks','#FFFFFF')"
                              href="useful-links.html">Useful Links
                              </a></td>

and its working
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

missing id
Web Development
Web Development

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

77K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo