Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Oct 2011, 23:06
n00bl3t n00bl3t is offline
 
Join Date: Dec 2008
Java?

Hey guys; I am not too familiar in/around this area and forgive me if this has been asked before.

Basically I try to turn my site into the general feeling of special/fun events that come around once a year; halloween/christmas and so on. I found this neat javascript of floating ghosts and want to add it to my forums. The problem is; how?

I tried creating a .js file with the script inside and I placed it in the clientscript folder but that doesn't work. Don't really know how to activate it; any help?

Thanks!
Reply With Quote
  #2  
Old 16 Oct 2011, 23:10
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You should be able to do what the instructions say - copy and paste it above <body>. To put something above the <body> tag in every vb page, just put it in the headinclude template.
Reply With Quote
  #3  
Old 16 Oct 2011, 23:18
n00bl3t n00bl3t is offline
 
Join Date: Dec 2008
Well yeah; the instructions say to put it in the HTML but I don't have a HTML file...or at least I don't see? I tried putting it in my HEADER template but doesn't work and just tried headinclude and didn't work.

??
Reply With Quote
  #4  
Old 16 Oct 2011, 23:29
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
oops - the instructions say "just above </body>", that's at the end. Although I'm not sure it will make a difference. In any case, you could try putting it at the end of the footer template.

Edit: I tried adding this to the end of the footer template and it works, but you also need to download the ghost images from that site and then upload them to your forum directory (the instructions are above the code box on that page you linked to). If you didn't do that, that may have been your problem - using an IE browser you get red 'x's floating around, but on other browsers you might just not see anything.

Also, instead of putting it in your footer you could put it at the end (before the </body> tag) of one page template like FORUMHOME or something, otherwise ghosts are on every page and it could get kind of annoying. But that's up to you.

Last edited by kh99; 17 Oct 2011 at 03:36.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML, TXT, JAVA Integrator 2.0 Automatically display any HTML, TXT or JAVA file in vB Erwin vBulletin 2.x Full Releases 102 11 Oct 2005 15:55



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:35.

Layout Options | Width: Wide Color: