The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
already posted.
http://tracker.vbulletin.com/browse/VBIV-14632 jquery is for now only used in the mobile style. in any other cases it seems it have to be included manual. |
#12
|
|||
|
|||
![]()
I see this thread is a little old, but I just solved this problem on my own installation.
The clue was to look at the mobile skin. in the "headinclude" template, add the following after the YUI stuff: Code:
<vb:if condition="$show['remotejquery']"> <script type="text/javascript" src="{vb:stylevar jquerymain}"></script> </vb:if> |
#13
|
|||
|
|||
![]()
An old thread but if you wish to go little better then do it like :
Code:
<vb:if condition="$show['remotejquery']"> <script type="text/javascript" src="{vb:stylevar jquerymain}"></script> </vb:if> <script type="text/javascript"> if (typeof jQuery === 'undefined') // Load jQuery Local { document.write('<script type="text/javascript" src="clientscript/jquery/jquery-{vb:stylevar jqueryversion}.min.js"><\/script>'); var remotejquery = false; } else // Load Rest of jquery remotely (where possible) { var remotejquery = true; } </script> |
#14
|
||||
|
||||
![]()
I think Jquery should add one time at header template.
It will work as well on all templates |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|