Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.5
Author Message
jaded
Theme Guru



Joined: Nov 01, 2003
Posts: 1006

PostPosted: Tue Dec 09, 2003 8:22 pm Reply with quote

I am trying to do a theme with a java script rollover to create a tab effect in the nav bar. I am using a simple java script but for some reason it wont do the rollover image change. The script keeps adding a \ for every '

Do you know how i can fix this to get this script to function? Here is an example of the code error.


<a href="forums.html"
onMouseOver="changeImages(\'btn_forum\', \'themes/SR/images/btn_forum-over.jpg\'); return true;"
onMouseOut="changeImages(\'btn_forum\', \'themes/SR/images/btn_forum.jpg\'); return true;">
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Dec 10, 2003 12:56 am Reply with quote

The code that is writing that code out must be using an addslashes() function. See if that's the case. If so, either get rid of the addslashes() code or add a stripslashes() to the routine.
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.5

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©