0
Welcome Guest! Login
0 items Join Now

Adding custom scripts

    • ALaguna's Avatar
    • ALaguna
    • Newbie
    • Posts: 18
    • Thanks: 0

    Adding custom scripts

    Posted 13 years 3 months ago
    • Hi there!

      I have some questions with my gantry template, I've purchased here. I'm inserting some jquery in the template via this code added:
      <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
      <script src="/js/global.js" type="text/javascript"></script>

      My questions are:

      Should I add them with $gantry->addScript? If so, what can I do to use jquery in NoConflict mode?
      Last but not least, I just want this code to be loaded in some menu items, should it be possible?
    • ALaguna's Avatar
    • ALaguna
    • Newbie
    • Posts: 18
    • Thanks: 0

    Re: Adding custom scripts

    Posted 13 years 2 months ago
    • Is really THAT difficult?
  • Re: Adding custom scripts

    Posted 13 years 2 months ago

Time to create page: 0.036 seconds