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
le="color: #000000"><?php $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