boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to add OnMouseOver in calendar links?

 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
maimiti



Joined: 16 Sep 2003
Posts: 20

PostPosted: Sun Sep 19, 2004 11:38 am    Post subject: How to add OnMouseOver in calendar links? Reply with quote

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
View user's profile Send private message
shellorz



Joined: 14 Sep 2004
Posts: 12
Location: France

PostPosted: Sun Sep 19, 2004 3:47 pm    Post subject: Reply with quote

"Escape it" by replacing each non-code quote by
Code:
\'
.

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
View user's profile Send private message
maimiti



Joined: 16 Sep 2003
Posts: 20

PostPosted: Sun Sep 19, 2004 4:42 pm    Post subject: Reply with quote

Thanks :o)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group