Welcome to TalkGraphics.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2010
    Posts
    2

    Default Bug: After rotating Text, Links will not work

    Web Designer 5.0.2

    1) Create a new blank page.
    2) Add a Text field
    3) Add TWO lines of text (must be two or more).
    4) Select EITHER line of text and in Web Properties, Link to page or Link to Web Address, click apply.
    5) Test deploy. Link will work.
    6) Select text box and rotate.
    7) Test again. Link will no longer work.

    Problem only occurs when text box contains MORE than one line of text and is rotated. If the text box has only one line of text and is rotated, the link will work fine. 100% re-creatable.

    MS

  2. #2

    Default Re: Bug: After rotating Text, Links will not work

    Hi Mark - Welcome to TG,

    Not really a bug, a consequence.
    But please re check your findings as rotating even one single line will remove a text link because browsers cannot render rotated *text* therefore Xara converts the text line (or lines) into an image (PNG).
    Re apply the link AFTER rotation (add a coloured mousover layer copy if you want the the rotated text to have a visual on-hover action)

  3. #3
    Join Date
    Jan 2010
    Posts
    2

    Default Re: Bug: After rotating Text, Links will not work

    Definitely a rotation of a single line works fine, with the link remaining operational. If I look at the generated HTML I can see that the Anchor Tag "<a>" wraps the image.

    Code:
    <a onclick="return(xr_nn());" href="http://google.com">
    <img class="xr_ap" onmousemove="xr_mo(this,0,event)" style="left: 82px; top: 35px; width: 173px; height: 186px;" alt="" src="index_htm_files/0.png"/>
    </a>
    If I generate the HTML for any text box with more than one line there is no Anchor tag.

    Given this is an image, I would expect to see a pologon image map covering each portion of text, to ensure WYSIWYG.

    Code:
    <map name="test">
       <area shape="polygon" coords="a,b,c,d" href="http://url">
       <area shape="polygon" coords="e,f,g,h" href="http://url2">
    </map>
    And then attach this to the image:

    Code:
    <img src="image.jpg" usemap="#test">
    At the very least, if this is a feature by design, then a message indicating that rotation of text will render link ineffective would save people scratching their heads as to why its not working (especially people without HTML skills).

 

 

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
  •