Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-04-12 12:28:38

sereal
Member
From: Indonesia
Registered: 2010-02-18
Posts: 55

Javascript fails to load, why ?

I just don;t understand why this happenned

It seems OK before but suddenly my site fails to load jQuery

anyone experience like this before ?

please tell me what is wrong ? It keeps fail to load even when I turned off the plugins

I use these plugins on my site:

  • aks_rss
  • glx_gravatar
  • mem_article_count
  • mem_online_users
  • rvm_maintenance
  • smd_bio
  • smd_gallery
  • smd_if
  • smd_lib
  • smd_lately
  • smd_query
  • wet_recent_comments
  • zem_contact_lang
  • zem_contact_reborn

Last edited by sereal (2010-04-12 12:45:56)


$(mydocument).notyetready(function() {});
dowebsitesneedtolookexactlythesameineverybrowser ?

Offline

#2 2010-04-12 12:45:37

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,942
Website GitHub

Re: Javascript fails to load, why ?

sereal wrote:

please tell me what is wrong ?

Eeek, with all the smd_ stuff going on it might be my fault. But to be sure, can you please check a few things.

Easiest one is to check your page validates and then use Firebug’s ‘Net’ pane to check whether it’s even attempting to load jQuery or if some path error or dangling/unclosed tag is causing it to cry. If it’s neither of those things, please post some more info. Like a link to your site if you can, your relevant page template/form or your tag trace for that page.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2010-04-12 14:14:59

sereal
Member
From: Indonesia
Registered: 2010-02-18
Posts: 55

Re: Javascript fails to load, why ?

Hi Bloke,

finally I found the problem, I do not know why this pngFix below causing trouble

but it fixed now

$(document).pngFix();

thanks Bloke

btw, what meant by this sentence ? hard for me to understand

One gribble is approximately equal to 26 mibbles, which in turn is 103 times as much satisfaction as a pet receives from nibbling kibbles.

Last edited by sereal (2010-04-12 14:31:13)


$(mydocument).notyetready(function() {});
dowebsitesneedtolookexactlythesameineverybrowser ?

Offline

Board footer

Powered by FluxBB