>>  Site Map >>  Forums >>  Addons 7x

Forum module - topics in forum:



Addons 7x - Discussions regarding all other PHP-Nuke addons. 7x



addslashes - rollover images

I'm trying to change the nav bar to one with rollover images using javascript.

I've added it, obviously, in the theme that I'm using in header.html

This file is then run throught the addslashes() function which means that my JavaScript is ending up like swapImage(\'home\')

As far as I'm aware this is leading to an Invalid Character error which ends up with the rollovers not working.

Any guidance is appreciated.

Thanks.






Do a search for "stripslashes" - not too au faix with the whole thing personally - but thats what the issue is and have seen mention of "stripslashes" on numerous occasions.






Yeah, I tried that. (I'm somewhat experience with PHP).

Problem is if I comment out the addslashes line...the page didn't appear. If I added a stripslashes I only got the blocks on the left and nothing else.

I think I may just stick to using text links instead Smile






I actually found a way to deal with rollover buttons within nuke 7.6

I haven't been able to post the code here yet due to a restriction by Sentinel but PM me with an email if you need the code. The test site will be live soon and I'll post the URL then.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS