Any way to make "active" pseudo-class sticky?


here's how "on-clicks" via css :

 

a#button1, a#button2, a#button3 {

    display:block;

    float:left;

    width:50px;

    height:50px;

}

 

a#button1 { background:url(button1.png) 0 0 no-repeat }

a#button1:active { background-position:-55px 0 }

 

a#button2 { background:url(button2.png) 0 0 no-repeat }

a#button2:active { background-position:-55px 0 }

 

a#button3 { background:url(button3.png) 0 0 no-repeat }

a#button3:active { background-position:-55px 0 }


these buttons hide/unhide divs, , i'd menu keep active state visible after letting go of mouse button. indicator of div we're at.

 

what's best way this? note : it's important when new button lights up, lit 1 goes regular state.

no, except advied last time posted question

http://forums.adobe.com/thread/1046364



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support