Welcome to TalkGraphics.com
Page 12 of 22 FirstFirst ... 21011121314 ... LastLast
Results 111 to 120 of 220
  1. #111
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Quote Originally Posted by Markku View Post
    is it wrong/will it create an error is I exclusively define all my popups to be closed, yet just a few of them are open at the moment?
    No, it's ok. You can close already closed or open already opened layers, it will work well.
    John.

  2. #112

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Thanks, that is good to know.

  3. #113

    Default Re: Locking popups ... not working

    Quote Originally Posted by Tweak Instructions
    1. On the popup layer, add [a] unique name to any non-text object.
    2. Insert [the] following string to the URL (Web Properties > Link to web address?) field of the object that will close the pop up:
      javascript:my_close('mypopup1')
    3. Replace 'mypopup1' with the name you have given to the object on the popup layer that you want to be closed by this link. Combine any number of my_close('mypopup1') and my_open('mypopup1') functions to open and close multiple layers with one click. For example:
      javascript:my_close('mypopup1');my_close('mypopup2 ');my_open('mypopup3');my_open('mypopup4');
    I'm toying with the Locking PopUp tweak and can't seem to make it work. Any ideas why not?
    • I dragged the Locking Popups unit from the Design Gallery Tweaks onto my webpage.
    • I created a pair of objects (black squares) that call a pair of popup layers (identifying them as 'popup' layers).
    • I created a pair of buttons that should turn on/off the locked layers, and inserted [what I understood to be] the proper javascript to direct the action.
    So ... what's wrong? Thanks.
    Attached Files Attached Files

  4. #114

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    There is no 'Locking PopUp tweak' on the page that I can find.

    It's not just instructions, it's a placeholder which has the code necessary for it to work.

  5. #115

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    I deleted it, thinking that it was a simply a set of instructions. Even when present, I got a "missing object" message. I've attached the .web file WITH the placeholder to this post. Thanks for any help that you can offer.
    Attached Files Attached Files

  6. #116
    Join Date
    May 2009
    Location
    Germany
    Posts
    145

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Hi,

    i think there is a bug in WD.
    You named one of you popup-objects o_zero right? Take a look in the generated source, WD replaced the "z" with ":122".
    See the ID-Tags in the HTML-Code:

    HTML Code:
    <img class="xr_ap" src="index_htm_files/2.png" alt="" id="o_:122ero" style="left: 141px; top: 21px; width: 485px; height: 444px;"/>
      </div>
      <div id="pu_:122ero" style="left: 383px; position: absolute; font-size: 96px; font-family: Lucida Sans; text-align: center; font-weight: bold; color: #7F7F7F; top: 269px;" onmousemove="xr_mpc(1)" >
    All "z" in object-names are replaced with ":122", try it

    Use the name "zombi" and WD convert it to "xa:122ombi" or "ZzZzZzZzZ" is converted to "Z:122Z:122Z:122Z:122Z".

    All lowercase "z" will be converted to ":122" with your TEMP.WEB.

    Can you confirm that?

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

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Interesting observation. It seems like a small mistake in html filter, so I'm going to fix it for the following update. Meanwhile, avoid using lowercase "z" in the object names that you manually refer by ID in your code (or tweaks).
    Thank you for pointing this out.

    If anyone wonder why there's any substitution like this, I shall explain. The HTML specification does not allow for any text to be used as ID value of the element. It has following restrictions:
    - ID can only contain English letters of both cases: A..Z, a..z, digits: 0..9, and following characters: "_", "-", ":", ".".
    - ID can begin only with a letter: A..Z, a..z.

    So, when user sets inappropriate text as a name of the object in WD, it is a bit encoded to represent correct ID string. Though the 'z' character is allowed and should not be encoded as it is.
    John.

  8. #118
    Join Date
    May 2009
    Location
    Germany
    Posts
    145

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Hi John,
    Quote Originally Posted by covoxer View Post
    Interesting observation. It seems like a small mistake in html filter, so I'm going to fix it for the following update.
    can i use the update with the german version also, or have i to wait for a update from magix ?

    Sebastian

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

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Quote Originally Posted by Sebastian View Post
    can i use the update with the german version also, or have i to wait for a update from magix ?
    I have no idea. I'll fix this issue, but I don't know when or in which form the following update or version will be released.
    Although Magix releases are usually separate from Xara's.
    John.

  10. #120
    Join Date
    Jul 2007
    Location
    Brockville, Ontario, Canada.
    Posts
    4,619

    Default Re: [tweaks] The tweaks set for XWD 5.0.1

    Are we anywhere close to getting a revised version of XWD .......
    Keith
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    There are 10 types of people in this world .... Those who understand binary, and those who don't.

 

 

Tags for this Thread

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
  •