Announcement

Collapse
No announcement yet.

Kubuntu 11.04 countdown banner

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kubuntu 11.04 countdown banner

    Hi,
    I have a countdown banner for 11.04 Ubuntu on my hompage, but i want to promote Kubuntu also. I have searched and cannot find a countdown banner for Kubuntu 11.04.
    The ubuntu one was easy to find and very simple copy and paste into my php file for my homepage. Is there a countdown banner for the new kubuntu and where do i get it?

    thanks:
    Thanks:<br />Using a Toshiba A300-21H ,3GB ram,Intel Core2Duo 2Ghz,Mobile Intel® GMA 4500MHD,intel wifi link 5100. Tux wants you!

    #2
    Re: Kubuntu 11.04 countdown banner

    http://www.kubuntu.org/

    idk did u look there ? they now have one if they didn't before
    Mark Your Solved Issues [SOLVED]
    (top of thread: thread tools)

    Comment


      #3
      Re: Kubuntu 11.04 countdown banner

      I know there is a countdown banner there ( seems to be new ) but how do i place it on my own webpage. I tried looking at the source code but could not find it.
      Thanks:<br />Using a Toshiba A300-21H ,3GB ram,Intel Core2Duo 2Ghz,Mobile Intel® GMA 4500MHD,intel wifi link 5100. Tux wants you!

      Comment


        #4
        Re: Kubuntu 11.04 countdown banner

        Put this where ever you want the count down to be...
        Code:
        <script languag="JavaScript" type="text/javascript">
        dateFuture = new Date(2011,03,28,0,0,0);
        function GetCountdown()
        {
            dateNow = new Date();
            amount = dateFuture.getTime() - dateNow.getTime();
            delete dateNow;
            if (amount > 0)
            {
                days  = 0;
                out   = "";
                amount = Math.floor(amount / 1000);
                days  = Math.floor(amount / 86400) + 1;
                amount = amount % 86400;
                if (days != 0)
                {
                    out += days + " " + ((days != 1)? "":"") + " ";
                }
                document.getElementById('countdownbox').innerHTML = out;
                setTimeout("GetCount()", 1000);
            }
            else
            {
                document.getElementById('countdownbox').innerHTML = "Out Now!";
            }
        }
        window.onload = function() { GetCountdown(); }
        </script><style type="text/css">
        #countdownbox
        {
            width:     259px;
            max-width:   160px;
            height:     150px;
            max-height:   100px;
            position:    relative;
            padding:    80px 50px 0 85px;
            background:   url("[url]http://people.canonical.com/~jriddell/nattycountdown.png"[/url]) no-repeat;
            color:     #FFFFFF;
            font:      bold 30px Sans-Serif;
            text-shadow: #ffffff 0px -0px 8px;
            text-align:   center;
            cursor:     pointer;
        }
        </style>
        <div id="countdownbox" onclick="location.href = '[url]http://kubuntu.org/'"></div>[/url]
        Snagged that from the page source of the kubuntu home page. Tested it and it worked for me.

        Comment

        Working...
        X