www.webdeveloper.com
Results 1 to 5 of 5

Thread: help with css @script rule

  1. #1
    Join Date
    May 2006
    Posts
    135

    help with css @script rule

    does this apply to i.e 6?

  2. #2
    Join Date
    Jul 2005
    Location
    USA
    Posts
    3,910
    http://dean.edwards.name/moz-behaviors/intro/

    Why don't you try it out for yourself?
    Last edited by Kravvitz; 09-02-2006 at 02:04 AM.

  3. #3
    Join Date
    May 2006
    Posts
    135
    sorry i was not specific

    i am trying to post a position fixed script for seperate div classes for i.e 6.

    i was wondering if i could impliment this inside the @script rule.


    Code:
    @script{
       //javascript script
    }
    and behavior tags are kind of confusing to me...i am not sure how i would impliment a fixed position script inside that as well.

  4. #4
    Join Date
    Jul 2005
    Location
    USA
    Posts
    3,910
    The behavior property is used to link to a HTC file. In the HTC file you put the JavaScript code. whatever:hover is a good example.

    Introduction to DHTML Behaviors

    @script doesn't seem to work in IE6 or in FF1.5.

  5. #5
    Join Date
    May 2006
    Posts
    135
    ya i was wondering about that at-rule...ive never heard of it.
    http://www.w3.org/TR/becss

    that is the links to behaviours in css.

    i need help on the javascript portion as well im guessing. This is the wrong thread yes but it involved both javascript and css so i was not sure were to ask.

    i am searching for a javascript code that will do the same function as the whater:hover article.

    to scan the css and change any position absolute property in i.e to be fixed.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles