WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • jQuery »
  • Dumb Question - including jquery in a template
  • Print
Pages: [1]   Go Down

Author Topic: Dumb Question - including jquery in a template  (Read 7192 times)

Offline PurpleEdge

  • Posts: 231
  • Gender: Male
    • the northern beaches
Dumb Question - including jquery in a template
« on: May 13, 2010, 05:04:28 PM »
Sorry, this sounds like a dumb question...

I have read that jquery is included automatically with WB 2.8x - is it loaded automatically, or do I have to load it from my index.php template file?

I've got the code ...register_fronten d_modfiles('js'); ... which loads mdcr.js - what else should I have to do??
Logged

Offline BlackBird

  • Posts: 2573
Re: Dumb Question - including jquery in a template
« Reply #1 on: May 13, 2010, 05:46:42 PM »
You will have to load it with register_frontend_m odfiles('jquery')
Logged
http://wbaddons.webbird.de Don't miss this

erpe0812

  • Guest
Re: Dumb Question - including jquery in a template
« Reply #2 on: May 13, 2010, 06:07:18 PM »
or use this module instead of include folder:
http://www.websitebakers.com/pages/libs/jqueryadmin.php

rgds

erpe
Logged

Offline PurpleEdge

  • Posts: 231
  • Gender: Male
    • the northern beaches
Re: Dumb Question - including jquery in a template
« Reply #3 on: May 14, 2010, 05:31:47 AM »
Thank you both very much!

jquery admin is a very nice interface, I'll experiment a bit more with it.

For now I was just trying to get a superfish menu working properly which I've now done!

I notice that using register_frontend_m odfiles('jquery') displays some wb constants - I'm not sure that is a good thing?
Logged

Offline BlackBird

  • Posts: 2573
Re: Dumb Question - including jquery in a template
« Reply #4 on: May 14, 2010, 11:04:25 AM »
There's a ready-to-use Superfish Plugin for jQueryAdmin.

I'm sorry, but I can't help with the other issue.
Logged
http://wbaddons.webbird.de Don't miss this

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • jQuery »
  • Dumb Question - including jquery in a template
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2