fast and simple question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Barti

    fast and simple question

    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.w idth
    this.h = this.css.clip.h eight
    [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


  • Lasse Reichstein Nielsen

    #2
    Re: fast and simple question

    "Barti" <bart@spam-usun.sonik.pl> writes:
    [color=blue]
    > this.x = this.css.left[/color]

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

    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    • Barti

      #3
      Re: fast and simple question


      Uzytkownik "Lasse Reichstein Nielsen" <lrn@hotpop.com > napisal w wiadomosci
      news:of0etq07.f sf@hotpop.com.. .[color=blue]
      > "Barti" <bart@spam-usun.sonik.pl> writes:
      >[color=green]
      > > this.x = this.css.left[/color]
      >
      > do you mean
      > this.x = this.style.left ;[/color]
      this into document.id ...


      Comment

      Working...