Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2010
    Location
    London,UK
    Posts
    124

    Default Site going live in ....

    I have a web site going live in May and I am using the timer widget in XWD to show the countdown.

    I know I can't do anything in the widget but it there a way to have the page the widget is on have a timer too so that the first page of the new web site is displayed when the time comes ?
    I remember seeing a javascript somewhere back in win 98 days that could do that, wondered if XWD has such a thing.

  2. #2

    Default Re: Site going live in ....

    No

  3. #3
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Site going live in ....

    Ha, ha! Steve had used my favorite answer.
    Though I may try to help you if you explain what exactly do you want more precisely. With example.
    John.

  4. #4
    Join Date
    Mar 2010
    Location
    London,UK
    Posts
    124

    Default Re: Site going live in ....

    LOL Steve being quick and to the point.

    HOWEVER I think I did and gone and done it.

    Late last night before nursy tucked my up in bed I trawled the internet webby and found the long lost javascipt code I was looking for ," <script language="JavaScript">
    TargetDate = "12/31/2020 5:00 AM";
    BackColor = "palegreen";
    ForeColor = "navy";
    CountActive = true;
    CountStepper = -1;
    LeadingZero = true;
    DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
    FinishMessage = "It is finally here!";
    </script>
    <script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></(added this bit incase posting caused it to function,remove this sentence between brackets)script>"

    I made a placeholder and pasted it into the html box and it worked ! well in preview anyway.
    Then (yes theres more) I added another piece of code that redirects you to a new page when the countdown clock ends.
    "<script defer="true" language="JavaScript">
    RedirYet();
    function RedirYet() {
    if (document.getElementById("cntdwn").innerHTML=="Don e!")
    location.href="http://www.google.com/";
    setTimeout(RedirYet, 250);
    }
    </(added this bit incase posting caused it to function,remove this sentence between brackets)script>

    It was getting late and time for my Meds so I did not publish anything...sooooo Mr Sledger may still be right
    Last edited by Dr_Who; 13 April 2010 at 07:25 AM. Reason: corrected posting

  5. #5

    Default Re: Site going live in ....

    Quote Originally Posted by Dr_Who View Post
    .....wondered if XWD has such a thing.
    ...sooooo Mr Sledger may still be right
    WD still doesn't have such a thing, but as you have shown, you can implement the action and result you're looking for using (drum roll).... *Placeholders* - tada!

    And thanks for seeing my answer as intended, ie; with good humour
    (sorry to steal your favourite answer John )

 

 

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
  •