Welcome to TalkGraphics.com
Results 1 to 10 of 11

Threaded View

  1. #9
    Join Date
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Click to close layers

    And here is another variant. It is a bad hack but it also scrolls at second and subsequent clicks. Works quite different from the previous examples.
    Still everything is at the placeholder. You don't need to change the code, just move the placeholder around.
    Works in V12, V11 and even in V10 (except for the stickies).
    It requires JQuery for the smooth scrolling, so the placeholder has the name UsesJQuery attached.
    The placeholder also has a name htmlclass=xpul_st01 attached. This is used to identify the object from which to calculate the scroll position.
    There is a dummy body code at the placeholder (only a dot in this case). This is only required for the object to be exported at all.
    The relevant part is at the placeholder head code. If you change the code, make sure to change it in exactly the same way on all layers you use it on. Otherwise Xara will duplicate the code and that will quite surely result in a mess...
    Attached Files Attached Files

 

 

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
  •