Many months ago i asked in the forum how to implement CSS pseudo class that can make
a container control change upon hoover and also to make a container control blink using
CSS. A friend helped me to do this and i would like to share the code here:
-
Create a container control. Set the background to blue. Put a WebLabel in the container control. Set the text label to white. Name it ccBlinkingLabel
-
Create an instance of the control in your webpage.
-
In the Opening event of your webpage, put the codes below:
Sorry i cannot copy the code coz the tag in the code goes haywire with the markup option here.
- ccBlinkingLabel1 is the name of the container control ccBlinking instance.
Explore. There are many variations that can be made later on.
7 posts - 4 participants