The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
template won't save
Hi All,
I have created a new template and have included a couple of javascript functions, i am unable to save the template which I am guessing mean's vbulletin doesn't like something in the html I know the HTML is ok as this is the code in a .html http://bcallaughan.net/test/home.html I have found that is only fails to save when adding this portion of the javascript: $('#starlink').click(function(e) { e.preventDefault(); var data = $('#nsw').data('maphilight') || {}; data.neverOn = !data.neverOn; $('#nsw').data('maphilight', data); }); Can anyone see why this would be causing an issue within the template? |
#2
|
|||
|
|||
My guess is that something's confusing it, like the curly braces or something. Try putting <vb:literal>...</vb:literal> tags around it.
|
#3
|
|||
|
|||
Worked a treat! thank you very much
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|