Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-28 12:43:03

midmood
Member
From: Rome, Italy
Registered: 2007-07-20
Posts: 68
Website

javascript & textpattern: conflict?

Hi all,

I know this is a really generic question, but I don’t know how to start from.

I’m not a javascript programmer, but I usually search and “inject” javascripts in my textpattern driven websites.

tested javascripts sometimes don’t work in textpattern.

Is there a conflict somewhere, maybe.

Could depend on the order i insert the javascript in my cose, or similar function called by different javascript….
I don’t know how to solve this problem, I’m doing a website and jumping from a headach to another.

Do you have any, idea? Hints?
How do you insert your js in txp?

Thank you
Simone (Italy)

Offline

#2 2009-05-28 12:57:31

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

Re: javascript & textpattern: conflict?

midmood wrote:

Could depend on the order i insert the javascript in my cose, or similar function called by different javascript….
I don’t know how to solve this problem, I’m doing a website and jumping from a headach to another.

Do you have any, idea? Hints?
How do you insert your js in txp?

Hi Simone

Unless otherwise specifically specified, I normally insert javascripts in the head ie. <script type=“text/javascript” src=”/js/js_script.js”></script>
Do you have a url we can check?


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-28 13:13:55

midmood
Member
From: Rome, Italy
Registered: 2007-07-20
Posts: 68
Website

Re: javascript & textpattern: conflict?

yes

www.violetab.com

there, I use the IE7.js script in order to use position:fixed in IE6, but the result is poor.
furthermore, in the individual article page, a the end of the entry, i use a javascript to show related articles (via chh_related_articles plugin) in a dynamic tab menu…. but this seems not to work, the list showed is not different from one tab to another. (cheched the code many times)

Anyway, the problem is general
to solve the “position:fixed” issue i tried many js (tested in another “clean” environment), but they don’t work…

Thank you for your help

Offline

#4 2009-05-28 15:57:23

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: javascript & textpattern: conflict?

I can’t see any link to any ie7.js in your source code… are you sure you liked to it from the right page?


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#5 2009-05-28 16:32:46

midmood
Member
From: Rome, Italy
Registered: 2007-07-20
Posts: 68
Website

Re: javascript & textpattern: conflict?

yes… I keep trying, and at the moment the ie7.js is not linked :-)

Offline

Board footer

Powered by FluxBB