You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 99 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - java script error [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
j_a_d_e_d
Sergeant
Sergeant


Joined: Oct 09, 2003
Posts: 89


PostPosted: Tue Dec 09, 2003 6:22 pm Reply with quoteBack to top

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;">

_________________
Themes & BB Skins
http://www.jaded-designs.com
Rag Quilts
http://www.craftyquilt.com
Graphic Tees
http://www.cafepress.com/jadeddesigns
Paranormal Tees
http://www.cafepress.com/HauntedTees
Ghost Stories & More
http://www.hauntingtales.net
Find all posts by j_a_d_e_dView user's profileSend private messageVisit poster's website
GanjaUK
Sergeant
Sergeant


Joined: Jan 12, 2004
Posts: 82


PostPosted: Mon Feb 16, 2004 8:12 am Reply with quoteBack to top

Hey did you ever find a solution to this? I have the same problem, i want to add set homepage java in my header.html and nuke outputs the header with \ infront of every '

I tried adding it to theme.php and calling it in the header by $set_homepage but nuke again adds \ infront of every '
Find all posts by GanjaUKView user's profileSend private messageVisit poster's website
Cnote
Nuke Soldier
Nuke Soldier


Joined: Dec 07, 2003
Posts: 30


PostPosted: Mon Feb 16, 2004 8:02 pm Reply with quoteBack to top

I was successful in getting my rollovers to work. It took me a couple of days to figure it out. I started by trying to set the js in my_header.php as well as trying to add it to the theme.php file itself.

So I created a HTML (w/jscript) file and uploaded it to my includes dir then called it from the theme.php file


include ("includes/header.html");

Of course I had to remove the header portion in the theme.php file first.

Works for me.
Find all posts by CnoteView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.354 Seconds - 134 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::