• stchatterbox

    (@stchatterbox)


    i wanna add an analogue clock to my sidebar. since i donnu how to use the FEX progressive clock, i turned to java and inserted the following in my sidebar template in presentation
    <SCRIPT LANGUAGE=”JavaScript”>var clocksize=100;</SCRIPT>
    <SCRIPT SRC=”http://gheos.net/js/clock.js”></SCRIPT&gt;

    but it didn’t work why?

Viewing 15 replies - 1 through 15 (of 31 total)
  • Thread Starter stchatterbox

    (@stchatterbox)

    ah, and what about the progressive clock? i’ve installed it successfully now.

    anyone could tell me how to add an analogue clock to your wordpress blog! thanks

    Thread Starter stchatterbox

    (@stchatterbox)

    hello? anyone knows? i just want an analogue clock on my weblog,……please help

    Lorelle

    (@lorelle)

    This article covers what you need to know to use javascript (not java – that’s different) in WordPress.

    Thread Starter stchatterbox

    (@stchatterbox)

    read it already but my script is just

    <SCRIPT LANGUAGE=”JavaScript”>var clocksize=100;</SCRIPT>
    <SCRIPT SRC=”http://gheos.net/js/clock.js”></SCRIPT&gt;

    and i wanna add this analogue script to my sidebar.

    any tricks or tips to do it? i inserted it, but it’s not working. thanks

    Lorelle

    (@lorelle)

    If you had read the article, you would know that you have to “call” the script. So far, all you have done is just tell the script to load, but not initiate.

    Add the “var” to the clock.js and use the following, with whatever the “function” is (per the article) for the script:

    <script type="text/javascript" src="/js/clock.js"></script>
    <script type="text/javascript">
    <!--
    clock();
    //--></script>

    Make sure that it is all in lower case, not capital letters, too.

    Thread Starter stchatterbox

    (@stchatterbox)

    but where in the world should i upload the script?
    wp-admin
    wp-content
    wp-image
    wp-include

    Thread Starter stchatterbox

    (@stchatterbox)

    Thread Starter stchatterbox

    (@stchatterbox)

    can anyone help me?…………….i’m dying…..of that clock!please…have some pity on me……………:(

    Joshua Sigar

    (@alphaoide)

    I pasted your very original code, and BAM, I got the clock!

    Can you apply the code right now? We could probably, then, go to your site and see if it generates any script error.

    Thread Starter stchatterbox

    (@stchatterbox)

    I got it work finally….it only works IE, but not FF….what about you? Alphaoide?

    just wonder if there’s kind of analogue clock that works both in FF and IE…..:)

    Joshua Sigar

    (@alphaoide)

    Works in ie and ff to me

    Thread Starter stchatterbox

    (@stchatterbox)

    ops? really? why can’t for me?
    take a look at my site http://sv.formulx.com/blog
    it does not work in FF

    Joshua Sigar

    (@alphaoide)

    Get some sleep and check again the next day ๐Ÿ˜‰

    Thread Starter stchatterbox

    (@stchatterbox)

    ok, that’s very kind of you. thanks so much/ remember to tell me what you see with FF ๐Ÿ™‚

    Ryan Duff

    (@ryanduff)

    StChatterbox: this is for you… how to ask a question and get a respectful response

    Oh yeah, and stop spamming my blog.

Viewing 15 replies - 1 through 15 (of 31 total)

The topic ‘JAVA in sidebar’ is closed to new replies.