mouse "roll over"

Discussion in 'Computers & Website Forum' started by HeDied4U, Jan 23, 2003.

  1. HeDied4U

    HeDied4U
    Expand Collapse
    Active Member

    Joined:
    May 6, 2001
    Messages:
    1,134
    Likes Received:
    10
    Okay, okay, before you all are rolling on the floor laughing your heads off, I'm not talking about teaching an old mouse new tricks [​IMG] [​IMG]

    No, what I'm talking about is when you're visiting a website,and you roll the pointer over a link, it "changes." A different size of the same word comes up, or a picture comes up.

    How is that done? I'd like to add that feature to my site ( On Eagles Wings ), but I have no idea how it's done.

    Any help/info/URL's would be greatly appreciated.

    Many thanks in advance.

    God Bless!!!

    Adam [​IMG]
     
  2. Sherrie

    Sherrie
    Expand Collapse
    Banned

    Joined:
    Jul 28, 2002
    Messages:
    10,274
    Likes Received:
    0
    Are you talking about the "Ctrl" button and the "center mouse button".

    While holding the Ctrl button down roll the center button ( or wheel) on your mouse. This will inlarge the words or make them smaller.

    Maybe this is not what you want. Let me know I am curious.

    Sherrie
     
  3. HeDied4U

    HeDied4U
    Expand Collapse
    Active Member

    Joined:
    May 6, 2001
    Messages:
    1,134
    Likes Received:
    10
    No, what I'm talking about can be seen at the vineyard of oak park web site.

    Roll your pointer the icons and see what happens. That's something like I want to use for my site.

    God Bless!!!

    Adam [​IMG]

    (and before anyone asks, i am not supporting the vineyard movement. a e-pal of mine goes there and he wanted me to see their site [​IMG] [​IMG] [​IMG] )
     
  4. Don

    Don
    Expand Collapse
    Well-Known Member

    Joined:
    Oct 7, 2000
    Messages:
    10,539
    Likes Received:
    208
    There's a couple of different ways to do it; an applet is simplest and easiest (in my opinion), but isn't supported by Netscape or Opera.

    Javascript is the most popular. Go here: http://builder.cnet.com/webbuilding/pages/Authoring/Stupid/ss10.html?tag=st.bl.7690.dir1.Stupid_10

    A third way, and probably the easiest, is to introduce the "hover" attribute with cascading style sheets.

    In the case of the web page you introduced, you can do what they did with Javascript; examining their code, I'm not sure what program they were using. Reminded me of Cold Fusion, but Cold Fusion uses different tags.
     
  5. blush

    blush
    Expand Collapse
    New Member

    Joined:
    Nov 16, 2002
    Messages:
    403
    Likes Received:
    0
    I do this quite often using javascript - may or may not be the same thing Don posted a link to, since I didn't look - but if you want help, feel free to contact me [​IMG]
     
  6. InHim2002

    InHim2002
    Expand Collapse
    New Member

    Joined:
    May 26, 2002
    Messages:
    899
    Likes Received:
    0
    The easiest way to do this is with a style sheet (this can control the colour, decoration font etc of the link) ie:
    </font><blockquote>code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">&lt;html&gt;
    &lt;head&gt;
    &lt;style&gt;

    a:link {color: blue; text-decoration: none;}
    a:hover {color: red; text-decoration: underline;}
    &lt;/style&gt;&lt;/head&gt;
    &lt;body&gt;
    &lt;a href=&quot;#&quot;&gt;I change colour&lt;/a&gt;
    &lt;/body&gt;
    &lt;/html&gt;</pre>[/QUOTE]you can also do it with javascript (this is used for image swapping) - here is a good page explaining how to do it

    hope that helps
     
  7. HeDied4U

    HeDied4U
    Expand Collapse
    Active Member

    Joined:
    May 6, 2001
    Messages:
    1,134
    Likes Received:
    10
    Many thanks to Don and InHim2002; that's just what I was looking for. Your help is greatly appreciated.

    God Bless!!!

    Adam [​IMG] [​IMG]
     
  8. BM

    BM
    Expand Collapse
    New Member

    Joined:
    Jan 17, 2003
    Messages:
    480
    Likes Received:
    0
    Sherrie, you may not have helped him ; but you taught me something, you seem to be a sweet person.
     
  9. Sherrie

    Sherrie
    Expand Collapse
    Banned

    Joined:
    Jul 28, 2002
    Messages:
    10,274
    Likes Received:
    0
    HeDied4U...

    .....Adam....I feel so stupid. Sorry for the lame advice. he-he! Sorry. Sometimes I scare even myself.

    BM....hehehehe!...Anytime. But I still feel rediculous telling Adam that. But what was nice was your compliment. I don't get many of them. So I take all I can get. Thanks! ;)

    Sherrie [​IMG]
     
  10. HeDied4U

    HeDied4U
    Expand Collapse
    Active Member

    Joined:
    May 6, 2001
    Messages:
    1,134
    Likes Received:
    10
    Sherrie, don't worry about it. I don't have a clue when it comes to some of the questions here.

    And I'll second BM's comment [​IMG]

    God Bless!!!

    Adam [​IMG]
     
  11. Living by Faith

    Living by Faith
    Expand Collapse
    <img src=/Jeanne.jpg>

    Joined:
    Apr 18, 2002
    Messages:
    178
    Likes Received:
    0
    Thanks Sherrie, I never knew that. I might just help when reading a long post.

    Bill

    GRRRRRRRRRRR I did it again. I really got to look and see who is logged in.

    Bill

    [ January 27, 2003, 07:30 AM: Message edited by: Living by Faith ]
     
  12. Gwyneth

    Gwyneth
    Expand Collapse
    <img src=/gwyneth.gif>

    Joined:
    Feb 21, 2002
    Messages:
    4,137
    Likes Received:
    0
    Sherrie,
    Wow, I just did that for the first time........
    amazing.......no more squinting at the small print......Thanx [​IMG] (computer illiterate :rolleyes: Gwyneth)
     
  13. Gina B

    Gina B
    Expand Collapse
    Active Member

    Joined:
    Dec 30, 2000
    Messages:
    16,944
    Likes Received:
    1
    Yay for Sherrie! Thank you! That's beautiful! I tried setting the computer's font bigger but not everyone who uses it has my horrid vision, so this is much better!
    Gina
     

Share This Page

Loading...