IanTh
asked on
modified link behaves different
I modified a link for a friends website
src="images/left_navi_arro w.gif"
width=5> <a class=LeftNaviText
onMouseOver="JavaScript:Ro wOver('Lef tNavi_emai l','#CCCCC C')"
onMouseOut="JavaScript:Row Over('Left Navi_email ','#FFFFFF ')"
href="mailto:consultant@tr ec-associa tes.com">E mail</a></ td>
</tr>
<tr>
<td class=LeftNaviText
id=LeftNavi_GeneralEnquiry ><img height=10
src="images/left_navi_arro w.gif"
width=5> <a class=LeftNaviText
onMouseOver="JavaScript:Ro wOver('Lef tNavi_gene ralenquiry ','#CCCCCC ')"
onMouseOut="JavaScript:Row Over('Left Navi_gener alenquiry' ,'#FFFFFF' )"
href="useful-links.html">U seful links</a></td>
</tr>
<tr>
<td class=LeftNaviText id=LeftNavi_fullcontact><i mg
height=10
src="images/left_navi_arro w.gif"
width=5> <a class=LeftNaviText
onMouseOver="JavaScript:Ro wOver('Lef tNavi_full contact',' #CCCCCC')"
onMouseOut="JavaScript:Row Over('Left Navi_fullc ontact','# 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_arro w.gif"
width=5> <a class=LeftNaviText
onMouseOver="JavaScript:Ro wOver('Lef tNavi_Gene ralEnquiry ','#CCCCCC ')"
onMouseOut="JavaScript:Row Over('Left Navi_Gener alEnquiry' ,'#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_arro w.gif"
width=5> <a class=LeftNaviText
onMouseOver="JavaScript:Ro wOver('Lef tNavi_Gene ralEnquiry ','#CCCCCC ')"
onMouseOut="JavaScript:Row Over('Left Navi_Gener alEnquiry' ,'#FFFFFF' )"
href="useful-links.html">U sefull 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
src="images/left_navi_arro
width=5> <a class=LeftNaviText
onMouseOver="JavaScript:Ro
onMouseOut="JavaScript:Row
href="mailto:consultant@tr
</tr>
<tr>
<td class=LeftNaviText
id=LeftNavi_GeneralEnquiry
src="images/left_navi_arro
width=5> <a class=LeftNaviText
onMouseOver="JavaScript:Ro
onMouseOut="JavaScript:Row
href="useful-links.html">U
</tr>
<tr>
<td class=LeftNaviText id=LeftNavi_fullcontact><i
height=10
src="images/left_navi_arro
width=5> <a class=LeftNaviText
onMouseOver="JavaScript:Ro
onMouseOut="JavaScript:Row
href="contact.htm">Full Contact Details</a></td>
this was the old code
<td class=LeftNaviText
id=LeftNavi_GeneralEnquiry
src="images/left_navi_arro
width=5> <a class=LeftNaviText
onMouseOver="JavaScript:Ro
onMouseOut="JavaScript:Row
href="general_enquiry.htm"
</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
src="images/left_navi_arro
width=5> <a class=LeftNaviText
onMouseOver="JavaScript:Ro
onMouseOut="JavaScript:Row
href="useful-links.html">U
</tr>
the link now after clicking goes red
I dont understand that javascript:rowover what does 'LeftNavi_GeneralEnquiry' mean I think thats my problem
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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_arro w.gif"
width=5>
<a class="LeftNaviText"
onMouseOver="JavaScript:Ro wOver('Lef tNavi_Usef ulLinks',' #CCCCCC')"
onMouseOut="JavaScript:Row Over('Left Navi_Usefu lLinks','# FFFFFF')"
href="useful-links.html">U seful Links
</a></td>
and its working
<td class=LeftNaviText id=LeftNavi_UsefulLinks>
<img height=10
src="images/left_navi_arro
width=5>
<a class="LeftNaviText"
onMouseOver="JavaScript:Ro
onMouseOut="JavaScript:Row
href="useful-links.html">U
</a></td>
and its working
ASKER
missing id
ASKER