View previous topic :: View next topic |
Author |
Message |
maimiti
Joined: 16 Sep 2003 Posts: 20
|
Posted: Sun Sep 19, 2004 11:38 am Post subject: How to add OnMouseOver in calendar links? |
|
|
Is it possible to do that?
When using other php scripts I have been able to add it like this:
Code: | <A OnFocus=\"this.blur()\" OnMouseOver=\"window.status='Status text'; return true\" OnMouseOut=\"window.status=''; return true\" HREF=\"$row[6]\"> |
but when using this now I get errors the single quote (') isn't allowed. Can I get around this and if so how? |
|
Back to top |
|
 |
shellorz
Joined: 14 Sep 2004 Posts: 12 Location: France
|
Posted: Sun Sep 19, 2004 3:47 pm Post subject: |
|
|
"Escape it" by replacing each non-code quote by .
otherwise php will think it's part of its own command line _________________ Make yourself at home but DON'T touch my Porn. |
|
Back to top |
|
 |
maimiti
Joined: 16 Sep 2003 Posts: 20
|
Posted: Sun Sep 19, 2004 4:42 pm Post subject: |
|
|
Thanks :o) |
|
Back to top |
|
 |
|