![]() |
Using this code in a template - Any ideas how?
I am wanting to use this code but cant and I am not sure why it isnt working within the templates, the install instructions ask me to please this after calling the script between the <head></head> tags but when I do it displays this on the browser when it shouldnt. It is part of a Jquery script:
Code:
jQuery(document).ready(function($) { Thank you. ________ Persian Cooking |
You should ask for help at the place you got the install instructions.
|
Are you putting the code inside of 'script' tags?
|
I doubt I will get any help as theyre just Jquery coders and probably dont use vbulletin, the script works fine outside of vbulletin that's why I asked for some help on here if anyone knows how to get it to work.
RLshare: I have put the code outside of the script tags yes, is this incorerect? If so, Is it meant to be within the script tags? ________ Georgian recipes |
Anytime you put client side script in a page, it needs to be within script tags to tell the browser that it is a script to be executed and not content to be displayed.. with the exception of actually putting the script in the markup
Code:
<script type="text/javascript"> |
Thank you, I havent had much experience with jquery or JS but you learn something new every day, thanks for this RLShare, it works perfectly :)
________ MAGIC FLIGHT |
All times are GMT. The time now is 09:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|