Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Sep 2010, 01:50
Twilkey's Avatar
Twilkey Twilkey is offline
 
Join Date: Oct 2006
Javascript does not want to run

I made a custom page for a friend and am trying to put an automated rotating banner image on the page. Now I have used many scripts out there and even made one up myself, but for some reason the javascript doesnt want to work on this page. It has beed a bit sense I tried using javascript in vbulletin, but I know I have, so do any of you have any idea why a custom page may not want to run javascript?

The last script I tried used this code in the header

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I even tried adding the direct link to the files and that didnt seem to work and I know they were the right links because I opened the links in a new browser window and got the code, so thats not the problem.

Also it may be good to note that this code is in a shell template, and then the code that has the div with all the images is in another template.

The images show up, but sense the javascript doesnt run they are all just stacked.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And go here to see the page.

Thanks in advance.

Last edited by Twilkey; 14 Sep 2010 at 23:02. Reason: Auto-Merged DoublePost
Reply With Quote
  #2  
Old 15 Sep 2010, 02:54
compwhizii compwhizii is offline
 
Join Date: Aug 2009
I don't see that bit linking the javascript being outputted anywhere. You could try using a template_hook in the script to add those files to the output.
Reply With Quote
  #3  
Old 15 Sep 2010, 03:12
Twilkey's Avatar
Twilkey Twilkey is offline
 
Join Date: Oct 2006
Thanks, what you said lead me to the fix. I feel like an idiot. I added that code to the master style, and forgot to revert the template in the default style.
Reply With Quote
Reply



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 11:58.

Layout Options | Width: Wide Color: