Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33
  1. #11
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    I really don't think you know what the code does do you?

    You know that when you put your mouse over it, it changes, and that is about it.

    Why not expand on the code, tell the 'users' reading this page what the functions do, how it works.

    That is a tutorial.

    Not saying.. "copy and paste this, copy and paste this", that is just source code.

  2. #12
    Join Date
    Jan 2006
    Location
    Kent
    Posts
    987
    Tokens
    0

    Default

    As you have copied from dreamweaver, surely its much easier to just click Insert>Image Objects>Rollover Image in dreamweaver? much quicker than copying and pasting the code you have posted lol. It would be a bit better if you actually explained what the javascript done as well, like previous members have posted.
    This is our situation and we're happy to be here,
    I wouldn't change this place for anything.


  3. #13
    Join Date
    Feb 2007
    Posts
    2,941
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Meti View Post
    It's still a TUTORIAL :S :rolleyes:
    This will help people. Therefore, it is a tutorial.

    Now, as a Forum Moderator, you should know that you don't want to start further discussions

    Thats the one thing that really gets on my nerves. When users say your a moderator stop. Thats basicly blackmail.

    I never usually do this but - rep.

    The tutoral anyway. yes its a good tutoral for people who are unsure of this. Maybe explain what you are doing to help them even more.
    Last edited by Hayd93; 22-07-2008 at 02:06 PM.

  4. #14
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    I would use CSS for rollovers, it takes so much less code.

    <style type="text/css">
    li a:hover {
    background-image: url('hover.gif');
    }
    .roll {background-image: url('nothover.gif');
    }
    </style>
    <li class="roll">HIIII</li>
    Lets set the stage on fire, and hollywood will be jealous.

  5. #15
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    Yea you can do it with all classes. Much better and less strain on older pc's (by about 0.00001% ).

    HTML Code:
    .button {
          width: 100px;
          padding: 10px;
          float: left;
          background: #FFFFFF;
    }
    
    .button:hover {
          background: #000000;
    }
    


    www.fragme.co = a project.

  6. #16
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    Quote Originally Posted by Tom743 View Post
    I would use CSS for rollovers, it takes so much less code.

    <style type="text/css">
    li a:hover {
    background-image: url('hover.gif');
    }
    .roll {background-image: url('nothover.gif');
    }
    </style>
    <li class="roll">HIIII</li>
    dont forget that with this method, you should add a peice of code that pre-loads the image thats going to show on hover.

  7. #17
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    I've seen that on dynamic drive. I've seen that on dynamic drive. I've seen that on dynamic drive. I've seen that on dynamic drive. I've seen that on dynamic drive. I've seen that on dynamic drive. I've seen that on dynamic drive.

    KK's code is easier by much. +REP, I'd have done via it in an img tag using some simpler js.

  8. #18
    Join Date
    Jul 2008
    Posts
    16
    Tokens
    0

    Default

    Quote Originally Posted by GasFMatt View Post
    Yea you can do it with all classes. Much better and less strain on older pc's (by about 0.00001% ).

    HTML Code:
    .button {
          width: 100px;
          padding: 10px;
          float: left;
          background: #FFFFFF;
    }
    
    .button:hover {
          background: #000000;
    }
    
    Wouldnt work in IE, thats why you should use an A:hover with display block

  9. #19
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    *removed*?!? I'm trying to be nice, and help this community out, by doing this tutorial, to learn some of you who didn't know this. And all I get for respons is -rep's.

    I can take harsh critism, but when I get -rep's for something I really shouldn't get them for, I feel really angry.

    It's a code *removed*!

    No one said, "oh, thanks for doing this, but you could of..."

    Not even 1 *removed* "thank you" from anyone!

    "I've seen that on dynamic drive" - Yes, you maybe f'ing saw that on dynamic drive, but I didn't take this code from dynamic drive.

    And for you who think this only is a code, LMAO. I had to do things too. I had to do the rollovers, i had to write down step by step, so it would be much easier for you to see and learn. And all you say is "simple copy and paste".

    And i swear, someone of you has used this tutorial, but just don't have the self-confident to say "thanks for that", because you think you'll get bullied by everyone else who actually can do this without even pressing anything. Write every *removed* word with the keypad.

    You are some selfish ******* ****!

    Thanks for reading :rolleyes:

    Edited by Invent (Forum Moderator): Please don't avoid the filter.
    Last edited by Invent; 22-07-2008 at 06:02 PM.

  10. #20
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    That's real professional, quit crying over rep.

    Quit crying because someone criticized you, it happens.. live with it and quit being a baby.

    Maybe if you would write a tutorial and not just throw us Dreamweaver code, that might help :rolleyes:

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

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