Professional Web Applications Themes

Javascript ?: JS clock on two lines? - Macromedia Dreamweaver

We're trying to put 3 javascript clocks (3 time zones) on one page. We can get that working, but the client has made it more difficult. He wants the time on one line and the date on the next line. London: 08:30 Tuesday, July 15, 2003 We can get all of it on one line. We can get the time by itself. But we can't split the two. Anyone have any ideas? [url]www.czar-partners.com[/url] Thanks in advance! -- -- DiMa -------------------- WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your posts: [url]news://forums.macromedia.com/macromedia.dreamweaver[/url] For Answers, check here ...

  1. #1

    Default Javascript ?: JS clock on two lines?

    We're trying to put 3 javascript clocks (3 time zones) on one page. We can get
    that working, but the client has made it more difficult. He wants the time on
    one line and the date on the next line.

    London: 08:30
    Tuesday, July 15, 2003

    We can get all of it on one line. We can get the time by itself. But we can't
    split the two.

    Anyone have any ideas?
    [url]www.czar-partners.com[/url]

    Thanks in advance!
    --
    --
    DiMa
    --------------------
    WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your
    posts:
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url]
    For Answers, check here first:
    [url]http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver[/url]
    [url]http://www.macromedia.com/support/dreamweaver/technotes.html[/url]
    [url]http://www.projectseven.com/faqbase[/url]
    [url]http://www.dreamweaverFAQ.com[/url]

    [url]http://www.macromedia.com/support/forums/etiquette.htm[/url]
    DiMa Design > From Lines...to Designs
    [url]http://www.dimadesign.net[/url]




    DiMa Guest

  2. #2

    Default Re: Javascript ?: JS clock on two lines?

    DiMa wrote:
    > We're trying to put 3 javascript clocks (3 time zones) on one page. We can get
    > that working, but the client has made it more difficult. He wants the time on
    > one line and the date on the next line.
    >
    > London: 08:30
    > Tuesday, July 15, 2003
    >
    > We can get all of it on one line. We can get the time by itself. But we can't
    > split the two.
    Hey DiMa,

    Look in liveclock.js for this line (~ line 127:
    if(c.DisplayDate>=3){html+=' on '+LC_DaysOfWeek[day][c.Abbreviate]+',
    '+md+' '+LC_MonthsOfYear[mnth][c.Abbreviate]}


    where it has:
    ' on '
    replace that with:
    '<br>'
    and see how that works for you.

    --
    Enjoy,
    Danilo Celic

    | Extending Knowledge, Daily
    | [url]http://www.communityMX.com/[/url]

    danilocelic Guest

  3. #3

    Default Re: Javascript ?: JS clock on two lines?

    I think Steve tried that, but lemme try and see if that was tried. (huh?) :)

    Thanks Dan...maybe if this works, I'll stop passing around photos of "Dan being
    one with the tree" and "Dan's Interpretive Dance" ;)

    --
    --
    DiMa
    --------------------
    WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your
    posts:
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url]
    For Answers, check here first:
    [url]http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver[/url]
    [url]http://www.macromedia.com/support/dreamweaver/technotes.html[/url]
    [url]http://www.projectseven.com/faqbase[/url]
    [url]http://www.dreamweaverFAQ.com[/url]

    [url]http://www.macromedia.com/support/forums/etiquette.htm[/url]
    DiMa Design > From Lines...to Designs
    [url]http://www.dimadesign.net[/url]


    "danilocelic" <daniloshimmerphase.com> wrote in message
    news:bf1fb3$jc3$1forums.macromedia.com...
    > DiMa wrote:
    >
    > > We're trying to put 3 javascript clocks (3 time zones) on one page. We can
    get
    > > that working, but the client has made it more difficult. He wants the time
    on
    > > one line and the date on the next line.
    > >
    > > London: 08:30
    > > Tuesday, July 15, 2003
    > >
    > > We can get all of it on one line. We can get the time by itself. But we
    can't
    > > split the two.
    >
    > Hey DiMa,
    >
    > Look in liveclock.js for this line (~ line 127:
    > if(c.DisplayDate>=3){html+=' on '+LC_DaysOfWeek[day][c.Abbreviate]+',
    > '+md+' '+LC_MonthsOfYear[mnth][c.Abbreviate]}
    >
    >
    > where it has:
    > ' on '
    > replace that with:
    > '<br>'
    > and see how that works for you.
    >
    > --
    > Enjoy,
    > Danilo Celic
    >
    > | Extending Knowledge, Daily
    > | [url]http://www.communityMX.com/[/url]
    >

    DiMa Guest

  4. #4

    Default Re: Javascript ?: JS clock on two lines?

    danilocelic <daniloshimmerphase.com> wrote in
    news:bf1fb3$jc3$1forums.macromedia.com:
    > where it has:
    > ' on '
    > replace that with:
    > '<br>'
    > and see how that works for you.
    Thanks Danilo. I have been bashing my head against a wall trying to sort
    out a script to do what we want. DiMa kept telling me to ask for help here
    but I was determined to sort it out. Idiot! :-/

    The annoying thing is I used the <br> tag in a piece of code I got from the
    Maxx Blade script generator - I just didn't think to put it in this script.

    Thanks again - you saved my sanity! The results are here:
    [url]http://www.czar-partners.com[/url]

    (And now I have to get ready for a "I told you so, dopey dope!" from DiMa!
    LOL!)

    --
    Steve
    Hong Kong
    Steve Fleischer Guest

  5. #5

    Default Re: Javascript ?: JS clock on two lines?

    Eh??

    --
    --
    DiMa
    --------------------
    WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your
    posts:
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url]
    For Answers, check here first:
    [url]http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver[/url]
    [url]http://www.macromedia.com/support/dreamweaver/technotes.html[/url]
    [url]http://www.projectseven.com/faqbase[/url]
    [url]http://www.dreamweaverFAQ.com[/url]

    [url]http://www.macromedia.com/support/forums/etiquette.htm[/url]
    DiMa Design > From Lines...to Designs
    [url]http://www.dimadesign.net[/url]


    "lebisol" <webforumsusermacromedia.com> wrote in message
    news:bf1hfr$n77$1forums.macromedia.com...
    > OT:
    > Danilo Celic = ex. YU?
    >
    >

    DiMa Guest

  6. #6

    Default Re: Javascript ?: JS clock on two lines?

    "lebisol" [email]webforumsusermacromedia.com[/email] wrote:
    > OT:
    > Danilo Celic = ex. YU?
    If you mean am I from Yugoslavia, then the answer is no, not really.
    Although my great-grandfater was from Spitz. He dies well before I was
    born. Don't know much about him or his home town or culture, as I didn't
    get to talk with my grandfater much as my parents were in the US Air
    Force and we travelled too much to get close to him.

    --
    Enjoy,
    Danilo Celic

    | Extending Knowledge, Daily
    | [url]http://www.communityMX.com/[/url]

    danilocelic Guest

  7. #7

    Default Re: Javascript ?: JS clock on two lines?

    Steve Fleischer wrote:
    > Thanks Danilo. I have been bashing my head against a wall trying to sort
    > out a script to do what we want. DiMa kept telling me to ask for help here
    > but I was determined to sort it out. Idiot! :-/
    NP Steve.

    I get like that a lot as well, don't sweat it. Glad I could help.
    > (And now I have to get ready for a "I told you so, dopey dope!" from DiMa!
    > LOL!)
    Just think about the times where she wasn't right on the money (there
    were some weren't there??) and it'll be alraight, buddy.

    --
    Enjoy,
    Danilo Celic

    | Extending Knowledge, Daily
    | [url]http://www.communityMX.com/[/url]

    danilocelic Guest

  8. #8

    Default Re: Javascript ?: JS clock on two lines?

    > Just think about the times where she wasn't right on the money (there
    > were some weren't there??) and it'll be alraight, buddy.

    Yeah...remember that time, Steve? ;)


    --
    --
    DiMa
    --------------------
    WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your
    posts:
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url]
    For Answers, check here first:
    [url]http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver[/url]
    [url]http://www.macromedia.com/support/dreamweaver/technotes.html[/url]
    [url]http://www.projectseven.com/faqbase[/url]
    [url]http://www.dreamweaverFAQ.com[/url]

    [url]http://www.macromedia.com/support/forums/etiquette.htm[/url]
    DiMa Design > From Lines...to Designs
    [url]http://www.dimadesign.net[/url]


    "danilocelic" <daniloshimmerphase.com> wrote in message
    news:bf1jtf$qt0$2forums.macromedia.com...
    > Steve Fleischer wrote:
    >
    > > Thanks Danilo. I have been bashing my head against a wall trying to sort
    > > out a script to do what we want. DiMa kept telling me to ask for help here
    > > but I was determined to sort it out. Idiot! :-/
    >
    > NP Steve.
    >
    > I get like that a lot as well, don't sweat it. Glad I could help.
    >
    > > (And now I have to get ready for a "I told you so, dopey dope!" from DiMa!
    > > LOL!)
    >
    > --
    > Enjoy,
    > Danilo Celic
    >
    > | Extending Knowledge, Daily
    > | [url]http://www.communityMX.com/[/url]
    >

    DiMa Guest

  9. #9

    Default Re: Javascript ?: JS clock on two lines?

    Hi Danilo!!
    Yes that was what I was wondering.....you have rather "common" name from that area....anyhow I was just wondering if you were, that's all :-)



    lebisol webforumsuser@macromedia.com Guest

Similar Threads

  1. Vertical lines in AI graphics PDF as broken lines?
    By SuperMacGuy@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 2
    Last Post: September 11th, 08:30 PM
  2. Pug Clock
    By Gil in forum Macromedia Flash
    Replies: 0
    Last Post: May 5th, 08:04 PM
  3. Acrobat 6 changes solid lines to dashed lines
    By Connie_Nathanson@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 0
    Last Post: April 22nd, 02:52 PM
  4. read lines of file without parsing the lines
    By W. Paulisse in forum PHP Development
    Replies: 3
    Last Post: February 11th, 01:25 AM
  5. Need help with clock...
    By tjh205 webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 1
    Last Post: February 7th, 03:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139