Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3699

Make A Web Container Control Blink Using CSS Pseudo Class Selector

$
0
0

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:

  1. 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

  2. Create an instance of the control in your webpage.

  3. 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.

  1. 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

Read full topic


Viewing all articles
Browse latest Browse all 3699

Trending Articles