Welcome to TalkGraphics.com
Results 1 to 10 of 34

Hybrid View

  1. #1
    Join Date
    Feb 2019
    Posts
    14

    Default Re: Xara Designer Pro X / Text Entry Field?

    this will not working?

    __________________________________________________ __

    <input style="height:45px;width:230px;font-size: 1rem;font-family:Verdana;background:#FFECECEC;border-radius:8px; text-align:center;" id="jumptopagebodymass"; type="number"; placeholder="Ihr persönlicher Wert";" wi>

    <div <br> <br> </div>

    <button style="height:55px;width:235px;font-size: 1rem;font-family:Verdana;transform: scale(0.99);border-radius:8px;background:#a6a6a6;color:#FFFAFA;" id="btnGobodymass" onclick="goJumpbodymass()">Auswerten</button>

    <script>
    var pageinput = document.getElementById("jumptopagebodymass");
    pageinput.addEventListener("keyup", function(event) {
    if (event.keyCode === 13) {
    event.preventDefault();
    document.getElementById("btnGobodymass").click();
    }
    });

    function goJumpbodymass() {

    var page = jumptopagebodymass.value;
    page .replace(/,/g, '.');

    if (page > 1.0 && page < 100.0)
    {
    if (page < 18.5) {
    location.href = "body-mass-1.htm";
    } else if (page > 24.9 && page < 30.0) {
    location.href = "body-mass-2.htm";
    } else if (page > 29.9 && page < 35.0) {
    location.href = "body-mass-3.htm";
    } else if (page > 34.9 && page < 40.0) {
    location.href = "body-mass-4.htm";
    } else if (page > 39.9) {
    location.href = "body-mass-5.htm";
    } else {
    location.href = "body-mass-index.htm";
    }
    }

    else {
    location.href = "index.htm";
    }


    }
    </script>

    __________________________________________________

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

    Default Re: Xara Designer Pro X / Text Entry Field?

    You entered "page .replace(/,/g, '.');" it has to be
    page = page.replace(/,/g, '.');
    TG added the space!

    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
    Feb 2019
    Posts
    14

    Default Re: Xara Designer Pro X / Text Entry Field?

    Sorry, your Right ;-)

    Many Thanks for the Hint :-))))))

  4. #4
    Join Date
    Feb 2019
    Posts
    14

    Default Re: Xara Designer Pro X / Text Entry Field?

    Now a i have a litte problem with a radio button :-(

    __________________________________________________ ____________________

    <div id="MyGeschlecht">

    <input type="radio"; id="rbmaenlich"; checked; style="height:15px; width:30px; name="Geschlecht";>
    <label style="font-size: 1rem; fontWeight = 'bold'; font-family:Verdana;background:#FFECECEC;border-radius:8px;" ; for="rbmaenlich"> männlich</label>
    </input>

    <input type="radio"; id="rbweiblich"; style="height:15px; width:30px; name="Geschlecht";>
    <label style="font-size: 1rem; fontWeight = 'bold'; font-family:Verdana;background:#FFECECEC;border-radius:8px;"; for="rbweiblich"> weiblich</label>
    </input>

    </div>


    __________________________________________________ ___________________

    On this code a can click on both radio button... but why?

    Normal only one radio button can by active...

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

    Default Re: Xara Designer Pro X / Text Entry Field?

    Quote Originally Posted by BerndR View Post
    Now a i have a litte problem with a radio button :-(
    __________________________________________________ ____________________

    <div id="MyGeschlecht">

    <input type="radio"; id="rbmaenlich"; checked; style="height:15px; width:30px; name="Geschlecht";>
    <label style="font-size: 1rem; fontWeight = 'bold'; font-family:Verdana;background:#FFECECEC;border-radius:8px;" ; for="rbmaenlich"> männlich</label>
    </input>

    <input type="radio"; id="rbweiblich"; style="height:15px; width:30px; name="Geschlecht";>
    <label style="font-size: 1rem; fontWeight = 'bold'; font-family:Verdana;background:#FFECECEC;border-radius:8px;"; for="rbweiblich"> weiblich</label>
    </input>

    </div>
    __________________________________________________ ___________________

    On this code a can click on both radio button... but why?
    Normal only one radio button can by active...
    You have given both the same name (name="Geschlecht").

    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

  6. #6
    Join Date
    Feb 2019
    Posts
    14

    Default Re: Xara Designer Pro X / Text Entry Field?

    Thanks!!!!
    I see the bug! :-)))

    Next, I have a problem with the navigation menu in the smartphone view ...
    The menu can not be opened ???

    I made some screenshots …

    Click image for larger version. 

Name:	01.jpg 
Views:	62 
Size:	4.5 KB 
ID:	123563Click image for larger version. 

Name:	02.jpg 
Views:	64 
Size:	118.5 KB 
ID:	123564Click image for larger version. 

Name:	03.jpg 
Views:	62 
Size:	52.0 KB 
ID:	123565Click image for larger version. 

Name:	04.jpg 
Views:	62 
Size:	42.9 KB 
ID:	123566Click image for larger version. 

Name:	05.jpg 
Views:	63 
Size:	70.1 KB 
ID:	123567

  7. #7
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,941

    Default Re: Xara Designer Pro X / Text Entry Field?

    A Smartphone doesn't have a click event so the link on the Hamburger icon has to be removed.

    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

 

 

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
  •