Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-01 19:05:14

caruso_g
Member
From: Catania
Registered: 2009-04-11
Posts: 88
Website

Problems with jQuery

Hi Crew,
I am having problems trying to add jQuery to my <head>.
I just inserted the snippets of code into my “head” form and, suddenly, all the body content disappeared ad the head just stop at the jQuery line of code. The code is the following:

<script src="<txp:site_url />js/jquery/jquery-1.3.2.min.js" type="text/javascript">
<script src="<txp:site_url />js/jquery/jquery.cycle.all.min.js" type="text/javascript">
<script src="<txp:site_url />js/jquery/ect.js" type="text/javascript">

What’s wrong with that? I also tried to use the uncompressed versions, to remove, first line, second line, to use the hard path, it doesn’t even work with just the ect.js file that is still empty.

Offline

#2 2009-05-01 19:35:20

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Problems with jQuery

The js scripts are not closed. Try :

<script src="<txp:site_url />js/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="<txp:site_url />js/jquery/jquery.cycle.all.min.js" type="text/javascript"></script>
<script src="<txp:site_url />js/jquery/ect.js" type="text/javascript"></script>

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2009-05-01 20:21:55

caruso_g
Member
From: Catania
Registered: 2009-04-11
Posts: 88
Website

Re: Problems with jQuery

Oh my…
I am sorry to clutter the forum with this topic, I think it is time to go sleeping… :)

Offline

Board footer

Powered by FluxBB