Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2012-10-04 07:15:39
- dorka
- Member
- Registered: 2012-10-04
- Posts: 90
How to insert javascript and jQuery to txp - general instructions?
Hi, can you please explain the whole thing one more time and slowly for me! I’ve been trying to make a js run on my site for the last two days without success. I’ve tried:
1. pasting the html code with correctly working external link to js into txp editor – no result
2. shifting the place of the line calling js to diferent places in the body and head of the HTML page – no result
3. installing “spf_js” plugin and creating a copy of the js file and the jQuery into txp and link it to the document via the plugin – nop!
I’m not programmer and I rely on cut&paste precedures when it comes to functions beyond HTML and CSS, so please send me someone a working example of how to make js work in a txp page. here is the link to my js files:
http://code.jquery.com/jquery-latest.js
http://twitter.github.com/bootstrap/getting-started.html (here you download the js file).
Thanks D.
Offline
Re: How to insert javascript and jQuery to txp - general instructions?
Can you also post a url of the site you are trying to use the js on? the chances are that the solution will be a simple one.
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 2012-10-04 08:11:01
- dorka
- Member
- Registered: 2012-10-04
- Posts: 90
Re: How to insert javascript and jQuery to txp - general instructions?
Hi colak, thanks for the swift rection, I actualy fixed it by myself just few minutes ago. Zou are right about the simple solution, I hve to pay more attention to the sintax next time :-). Thanks aynway.
Offline