View Single Post
  #1  
Old 01-01-2009, 10:49 PM
^SuiCyde^ ^SuiCyde^ is offline
 
Join Date: Dec 2003
Location: Colorado Springs/CincyO
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01972 seconds
  • Memory Usage 1,791KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete