Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 12 Aug 2011, 22:00
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Real name: Kevin
Javascript banners not working

What would cause a javascript banner to work in a basic html page, but not in vbulletin ad_location?

A thread over at vbulletin.com suggested that I add these codes around the script

<vb:literal>

js code

</vb:literal>

but the banner still is not working.
__________________
political forum
Reply With Quote
  #2  
Old 14 Aug 2011, 22:44
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
My guess would be a conflict with existing vbulletin javascript. Your browser should have a way to report the exact javascript errors- that would be a start.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #3  
Old 15 Aug 2011, 14:35
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Real name: Kevin
Originally Posted by BirdOPrey5 View Post
My guess would be a conflict with existing vbulletin javascript. Your browser should have a way to report the exact javascript errors- that would be a start.
Thank you, but we have been using javascript banners for a long time. We changed the code, and now the banners do not work.

Why would one javascript banner work in vbulletin, and not another?

Iframe banners are working, just not the new javascript banners
__________________
political forum
Reply With Quote
  #4  
Old 15 Aug 2011, 15:56
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by kevcj View Post
Thank you, but we have been using javascript banners for a long time. We changed the code, and now the banners do not work.

Why would one javascript banner work in vbulletin, and not another?

Iframe banners are working, just not the new javascript banners
It's the nature of a conflict- one little change could cause (or fix) it. What did you change that now it doesn't work?

IFRAMES don't use javascript so they would be immune to conflicts on your page.

Can't attempt to diagnose it any further without whatever error(s) the javascript engine is reporting.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
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 15:19.

Layout Options | Width: Wide Color: