Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2011
    Location
    London
    Posts
    24
    Tokens
    110
    Habbo
    Powerinq

    Default Onclick change to 'name'.css

    On my maintance layout it looks like a stickie, im trying to make it so when you click the colours it changes the css to the css. I have positioned all the buttons to change it i just need the javascript to change the css.

  2. #2
    Join Date
    Jul 2006
    Location
    Cambridge, UK
    Posts
    447
    Tokens
    0

    Latest Awards:

    Default

    http://api.jquery.com/css/

    would that be of any help?

  3. #3
    Join Date
    Jan 2011
    Location
    London
    Posts
    24
    Tokens
    110
    Habbo
    Powerinq

    Default

    ive tried but i cant seem to get it working.

  4. #4
    Join Date
    Dec 2008
    Location
    Victoria, Australia
    Posts
    462
    Tokens
    2,114
    Habbo
    Fiendly

    Latest Awards:

    Default

    Quote Originally Posted by Jhawsh View Post
    ive tried but i cant seem to get it working.
    Just use different pages.
    Then use an ahref to change it, simple.. Unless you go want the Java then I'l give it a shot.

  5. #5
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    Quote Originally Posted by Fiendly View Post
    Just use different pages.
    Then use an ahref to change it, simple.. Unless you go want the Java then I'l give it a shot.
    No, he doesn't want Java, he wants JavaScript.

    Jhawsh, read through this: http://javascript.about.com/library/blswitch.htm

  6. #6
    Join Date
    Jan 2011
    Location
    London
    Posts
    24
    Tokens
    110
    Habbo
    Powerinq

    Default

    Thanks alot trinity,
    i would rep if i could :3

Posting Permissions

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