Welcome to TalkGraphics.com
Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Mar 2019
    Posts
    15

    Default HTML Placeholder after add Web Animation to any object

    Hi guys,

    sorry if this thread was created before, but i cant find it anywhere.
    I add to Xara Web Designer Premium HTML Placeholder (countdown timer)
    It works perfect. But when i add any web animation to any object, countdown timer start count not after each second, but after 2 seconds...
    Can someone help me, where could be the problem?

    Peter

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,822

    Default Re: HTML Placeholder after add Web Animation to any object

    Quote Originally Posted by Kraucik View Post
    Hi guys,
    sorry if this thread was created before, but i cant find it anywhere.
    I add to Xara Web Designer Premium HTML Placeholder (countdown timer)
    It works perfect. But when i add any web animation to any object, countdown timer start count not after each second, but after 2 seconds...
    Can someone help me, where could be the problem?
    Peter
    Peter, no we cannot help without seeing your design file.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #3
    Join Date
    Mar 2019
    Posts
    15

    Default Re: HTML Placeholder after add Web Animation to any object

    Count.txt

    There is a count file. If i save it like count.html it works fine after open it.

  4. #4
    Join Date
    Mar 2019
    Posts
    15

    Default Re: HTML Placeholder after add Web Animation to any object

    There is a example project. When you open it, try open in website. Countdown count each 2 seconds.
    When you go on the purple picture, right click -> Web Animation and you delete animation (Parallax) , countdown start count every 1 second.. And thats it...
    I dont know, why..
    Attached Files Attached Files

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,822

    Info Re: HTML Placeholder after add Web Animation to any object

    Karucik, you are forcing two additional BODY tags into an HTML page that already has one.

    Because of that, you are calling function getSeconds() twice.

    The code you supplied also included a jQuery call to invoke function getSeconds().
    This is better replace with:
    Code:
    <script>window.onload = function () {
        getSeconds();
    }
    </script>
    I have parsed out your code away from the display HTML so you have a Placeholder with the JS/CSS in its Head and the web display in its Body.
    I removed the need for jQuery.

    JSCSS-Countdown Timer.xar

    Acorn

    P.S. You would be better adding extra variables for the HH:MM:SS part of this statement:
    var countertime = new Date(nowDate.getFullYear(),nowDate.getMonth(),nowD ate.getDate(),15,36,40);
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  6. #6
    Join Date
    Mar 2019
    Posts
    15

    Default Re: HTML Placeholder after add Web Animation to any object

    Thanx a lot Acorn!! It solved my problem... When i had any problem, can i write a 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
  •