By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,380 Members | 1,646 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,380 IT Pros & Developers. It's quick & easy.

fast and simple question

P: n/a
I use external js wth javascript libraries for my website
slide layer and scroller
both of them use " this " inside fg
this.x = this.css.left
this.y = this.css.top
this.w = this.css.clip.width
this.h = this.css.clip.height
[cut]
When I add both of them to my page I have error
this.css is empty or is not a object [my translation :)] so I think that
there is some conflict
Can I change "this" into somthing else like in flash actionscript ?

p.s each of functions working ok alone

Barti the beginner
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Barti" <ba**@spam-usun.sonik.pl> writes:
this.x = this.css.left


do you mean
this.x = this.style.left;
?

--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2

P: n/a

Uzytkownik "Lasse Reichstein Nielsen" <lr*@hotpop.com> napisal w wiadomosci
news:of**********@hotpop.com...
"Barti" <ba**@spam-usun.sonik.pl> writes:
this.x = this.css.left


do you mean
this.x = this.style.left;

this into document.id ...
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.