Logged Out
Create an Account
Login:
Password:

Forgot your password?
Bad href for 'late' link in Calendar

Bad href for 'late' link in Calendar
[Back to Index]
Thread Tags
Primary: [Support]
Secondary: None

If a member posts a description of why they're going to be late on the calendar, HTML like the following is used:
Quote
<sup class=xsmall><a href='javascript;' onMouseover="tt('<table style=\'background:yellow;color:black\' cellspacing=0 cellpadding=4><tr><td class=plain>work is teh suck...</td></tr></table>',-40,40)" onMouseout='ctt()'>(late)</a></sup>

The problem with this is that if someone clicks the "late" string (since it is an href), they get an error page. Wouldn't this be better off with "href='#'" so that clicking the link doesn't actually do anything?


[Back to Index]