vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   RESOLVED - Javascript Not Working In Navbar 2 template? (https://vborg.vbsupport.ru/showthread.php?t=200385)

^SuiCyde^ 01-01-2009 10:49 PM

RESOLVED - Javascript Not Working In Navbar 2 template?
 
i added a second navbar template to a site i built for a client of mine, and within it i put this code

Code:

<script type="text/javascript" language="JavaScript1.2">
BuildLayer('h','','','','250','250','','','','2','0','1px Solid #000000','1px Solid #000000','1px Solid #000000','1px Solid #000000','center','transparent','','1','1','','Filter:none(Duration=0.5)','','#777777','4','Pointer','Pointer','','100','0','#FFFFFF')
SwapDiv('wme1','','Home','blank.gif','blank.gif','0','0','arrow.gif','arrow.gif','7','7','20','80','Verdana,Arial,Helvetica,sans-serif','Verdana,Arial,Helvetica,sans-serif','8pt','8pt','normal','normal','#FFFFFF','#000000','bold','bold','none','none','#000000','#FFFFFF','blank.gif','blank.gif','0','0','0','0','1px Solid #004000','1px Solid #000000','1px Solid #004000','1px Solid #004000','1px Solid #FFFFFF','1px Solid #FFFFFF','1px Solid #FFFFFF','1px Solid #FFFFFF','middle','center','http://www.hustleurskills.com/index.html','','','_self','','','0','blank.gif','blank.gif','auto','auto','0','0','0')
FreeLayer('wme48','','5','v','0','0','1','2','1px Solid #004000','1px Solid #004000','1px Solid #004000','1px Solid #004000','#FFFFFF','','1','1','','Filter:none(Duration=0.5)','','#C0C0C0','0','100')
SwapDiv('wme47','wme1','Inicio',_,_,_,_,'blank.gif','blank.gif','0','0',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'1px Solid #FFFFFF','1px Solid #FFFFFF','1px Solid #FFFFFF','1px Solid #FFFFFF',_,_,_,_,_,_,_,_,_,_,_,_,'0',_,_,_,_,_,_,_)
InitDiv();
SwapDiv('wme2','wme1','Hustles',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'1px Solid #000000',_,_,_,_,_,_,_,_,_,'http://hustleurskills.com/forums/forumdisplay.php?f=7',_,_,_,_,_,'0',_,_,_,_,_,_,_)
FreeLayer('wme46','wme48',_,_,_,_,_,_,'1px Solid #ACA899','1px Solid #ACA899','1px Solid #ACA899','1px Solid #ACA899',_,_,_,_,_,_,_,_,_,_)
SwapDiv('wme45','wme47','Competiciones',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'1px None #FFFFFF','1px None #FFFFFF','1px None #FFFFFF','1px None #FFFFFF','1px None #FFFFFF','1px None #FFFFFF','1px None #FFFFFF','1px None #FFFFFF',_,_,'http://hustleurskills.com/forums/forumdisplay.php?f=7',_,_,_,_,_,'0',_,_,_,_,_,_,_)
InitDiv();
SwapDiv('wme8','wme2','Members',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://www.hustleurskills.com/forums/memberlist.php',_,_,_,_,_,'0',_,_,_,_,_,_,_)
FreeLayer('wme44','wme46',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_)
SwapDiv('wme43','wme45','Artistas',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://www.hustleurskills.com/forums/memberlist.php',_,_,_,_,_,'0',_,_,_,_,_,_,_)
InitDiv();
SwapDiv('wme9','wme2','News Station',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://www.hustleurskills.com/cmps_index.php',_,_,_,_,_,'0',_,_,_,_,_,_,_)
FreeLayer('wme42','wme46',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_)
SwapDiv('wme41','wme45','Noticias',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://www.hustleurskills.com/cmps_index.php',_,_,_,_,_,'0',_,_,_,_,_,_,_)
InitDiv();
SwapDiv('wme15','wme2','The Network',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://hustleurskills.ning.com',_,_,_,_,_,'0',_,_,_,_,_,_,_)
FreeLayer('wme40','wme46',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_)
SwapDiv('wme39','wme45','La Network',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://hustleurskills.ning.com',_,_,_,_,_,'0',_,_,_,_,_,_,_)
InitDiv();
SwapDiv('wme29','wme2','Music',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://www.hustleurskills.com/forums/local_links.php?catid=1',_,_,_,_,_,'0',_,_,_,_,_,_,_)
FreeLayer('wme38','wme46',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_)
SwapDiv('wme37','wme45','Musica',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,' http://www.hustleurskills.com/forums/local_links.php?catid=1',_,_,_,_,_,'0',_,_,_,_,_,_,_)
InitDiv();
SwapDiv('wme30','wme2','Movies',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://www.hustleurskills.com/forums/forumdisplay.php?f=29',_,_,_,_,_,'0',_,_,_,_,_,_,_)
FreeLayer('wme36','wme46',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_)
SwapDiv('wme35','wme45','Cine',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://www.hustleurskills.com/forums/forumdisplay.php?f=29',_,_,_,_,_,'0',_,_,_,_,_,_,_)
InitDiv();
SwapDiv('wme22','wme2','Forums',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://www.hustleurskills.com/forums/',_,_,_,_,_,'0',_,_,_,_,_,_,_)
FreeLayer('wme34','wme46',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_)
SwapDiv('wme33','wme45','Foros',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://www.hustleurskills.com/forums/',_,_,_,_,_,'0',_,_,_,_,_,_,_)
InitDiv();
SwapDiv('wme23','wme2','Get Paid',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'1px Solid #004000',_,_,_,_,_,_,_,_,'http://cashcrate.com/971830',_,_,'_blank',_,_,'0',_,_,_,_,_,_,_)
FreeLayer('wme32','wme46',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_)
SwapDiv('wme31','wme47','Get Paid 2',_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,'http://www.waoindia.com/register.php?r=therebelsin',_,_,'_blank',_,_,'0',_,_,_,_,_,_,_)
InitDiv();
Filter('True','','')
HideDiv();
</script>
<script type="text/javascript" language="JavaScript1.2" src="http://www.hustleurskills.com/um_menu.js"></script>

however the javascript menu which works fine on the main page of the site

www.hustleurskills.com

fails to work from within vbulletin, can anyone tell me why this is?

--------------- Added [DATE]1230868682[/DATE] at [TIME]1230868682[/TIME] ---------------

solved issue, i was putting the source code that goes in the head of html in the wrong spot in vbulletin, once i moved header src code to header vbulletin template everything worked nicely


All times are GMT. The time now is 11:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02268 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete