How to use it?

The example below shows the default widget look without any customization. This is the default skin which is built into the widget.

We use a square-like background (the same as analog flash clock) to show you that the widget is transparent. If you are familiar with Adobe Photoshop program, you will definitely recognize it quickly.

If you have more questions you can find more information on widget FAQ page.

Code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<p id="devDigitalClock"><a href="http://www.xorbin.com/">Digital flash clock widget</a></p>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript"><!--
    var flashvars = {
        // no parameters
    };
    swfobject.embedSWF(
        "devDigitalClock.swf",
        "devDigitalClock",
        "220",
        "120",
        "8",
        "expressInstall.swf",
        flashvars,
        {scale: "noscale", wmode: "transparent"}
    );
// --></script>

Result

Digital flash clock widget

Important notices

  • Specify the width and height of the widget on lines #10, #11.
  • Don’t forget to specify correct paths in lines: #2 (the location of javascript swfobject library), #8 (the location of the widget devDigitalClock.swf itself and #13 additional file called expressInstall.swf which asks your website visitors to update their flash plugins to view your website correctly).



By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close