1
timgno
JQuery.js one time
  • 2011/5/14 7:40

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


it's possible for future versions of xoops enter only one call to
$GLOBALS['xoTheme']->addScript('browse.php?Frameworks/jquery/jquery.js')

because this creates conflicts if called multiple times when it's inserted within the theme or module

I suggest you call a one time general with xoops_module_header

tnx

2
nmshah
Re: JQuery.js one time
  • 2011/5/14 14:33

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


it will also be a good idea to use the jquery from the google servers rather then including it in xoops as the jquery from google would almost surely be cached in the visitors browser

Login

Who's Online

157 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits