Example 1

This example shows how to use custom slogan new.png, background color, outlines and widget shadow.

Code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<p id="xorWebBadge"><a href="http://www.xorbin.com/">Web Badge widget</a></p>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript"><!--
    var flashvars = {
        slogan: 'media/images/new.png',
        corners: "16",
        r1: "45",
        r2: "50",
        bgColor: "FF9900",
        outlineWidth: "2",
        outlineColor: "FF6600",
        outline2Width: "3",
        outline2Color: "FFFFFF",
        showShadow: "yes"
    };
    swfobject.embedSWF(
        "xorWebBadge.swf",
        "xorWebBadge",
        "200",
        "200",
        "8",
        "expressInstall.swf",
        flashvars,
        {scale: "noscale", wmode: "transparent"}
    );
// --></script>

Result

Web Badge widget


How to use it?



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