1
insraq
Problems with built-in JQuery in 2.4.x
  • 2009/12/16 10:15

  • insraq

  • Quite a regular

  • Posts: 266

  • Since: 2006/1/24


I've been doing debug with themes these days and there is always script error in IE 7. I think the built-in JQuery causes the error. Is there any documents or tutorials introducing how the built-in JQuery works?

2
trabis
Re: Problems with built-in JQuery in 2.4.x
  • 2009/12/16 14:05

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


jquery is not loaded by core. It is there for modules or admin GUI to use.
You can load jquery with $xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js');


3
bjuti
Re: Problems with built-in JQuery in 2.4.x
  • 2009/12/16 18:32

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


There is one more solution, and it's damn fast. Leech jQuery from google server. It's faster and there is a chance that is already in user browser cache.
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js">script>
I had no probz. :)

4
insraq
Re: Problems with built-in JQuery in 2.4.x
  • 2009/12/17 0:10

  • insraq

  • Quite a regular

  • Posts: 266

  • Since: 2006/1/24


I'm now loading JQuery from Google CDN, somehow, I get a script error. I thought it was the conflict with the built-in JQuery, however, it turns out that that is not the reason.

Login

Who's Online

306 user(s) are online (174 user(s) are browsing Support Forums)


Members: 0


Guests: 306


more...

Donat-O-Meter

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

Latest GitHub Commits