Left Quote    Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln    
Right Quote
[login] | [Register]
Forum Index » Visual Basic » Viewing Topic and Replies
Post Reply

        Viewing Topic: Mouseover through css?
  This user is offline  Greenwalt1
  Subject: "Mouseover through css?" Posted: @ 9:21 am on Dec 10 2009   
Member #:
Rank: - ()
Since: 01/01/70

i want to trigger the mouseover event within css script.

I know you can do it the following way:
<div onMouseover=&qu ot;function(... )" class="hi& quot;>conten t</div>
but i want to do this through css for every div tag in the 'hi' class. so, in case i have to change the code that triggers after the mouseover event, i don't have to go through all my pages and change it for each individual div tag in 'hi' class

    Viewed: 11,112 Times | Reply to This | To top
  This user is offline  misterhaan
  Subject: "re: Mouseover through css?" Posted: @ 5:42 pm on Dec 10 2009    

Member #: 5
Rank: Contributor - (214)
Since: 02/11/05
Posts: 149
From: chair

css doesn

Edited at 05:53:17 pm on 12/10/09

please note that the above post is likely made up in its entirety.

    Viewed: 11,100 Times | Reply to This | To top
  This user is offline  David1159
  Subject: "re: Mouseover through css?" Posted: @ 7:24 am on Dec 25 2009    

Member #: 526
Rank: user - (81)
Since: 12/27/07
Posts: 81
From: usa

A mouseover event in CSS is done with hover.

whatever: whatever;

is probably your div hi class. make another css class called...

different_whate ver: different_whate ver;

when you hover over the div that is referenced to the css class hi, it will do the hover option. when you are not hovering it will do that normal option.

Edited at 07:29:55 am on 12/25/09

Coding is simply CST... Combining $hit Together. We make different $hit to run in unison correctly.

    Viewed: 11,036 Times | Reply to This | To top
Viewing Page: 1 of 1

1 |

You must be logged in to post on the forums. Login or Register

"" Copyright © 2002-2021; All rights lefted, all lefts righted.
Privacy Policy