Welcome to TalkGraphics.com
Results 1 to 10 of 11

Hybrid View

  1. #1

    Default Re: Show and hide layers

    Acorn,
    Thanks for the information. I followed the thread and tried a few different ways but unfortunately, it didn't work. The syntax may not work as the links break when I try to add a 'closeAll' or other variation.
    Too bad there wasn't a CloseAll command or CloseAllExcept. I'll continue to work at it and will supply a solution here if I find one. If not, I may have to re think what I'm doing to find a different path.

    Is there a source of all the tweaks or syntax? I have never seen a document listing all the commands available in Xara.

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

    Default Re: Show and hide layers

    Just had a go myself. It only handles closing all not closing all and opening others.
    The link is just javascript:my_CloseAll();. You cannot precede or follow it with popup...

    I can see how irritating it is but popup is an undocumented, meaning unsupported, function.
    Very few are listed. Search out siran's offerings as he is more of a coder than I am.
    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
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Show and hide layers

    This example uses a small script (at the page head code section) that closes all pop-up layers when an element is clicked that has the name htmlclass=pucaopul applied.
    If you use a mouse over effect the name has to be applied to the mouse over state (as in the example).
    Not 100% sure if this is what you need and if it will work in the current version (I am still using V12).

    Edit: Should have mentioned that it won't work in IE8 and older.
    Attached Files Attached Files

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,902

    Default Re: Show and hide layers

    Cheers siran, on v16.0 i am getting mixed results.

    If I sequence-click 8-7-6-5-4-3-2-1, I get pairs of stars opening with those previously opened, closing.
    If I repeat the sequence, I can get all 8 stars open.
    If I click the same star twice, it reverts to normal operation.

    Thanks again,
    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

  5. #5
    Join Date
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Show and hide layers

    Thanks for checking Acorn!
    Looks like I will have to install the trial of V16.

  6. #6
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,936

    Default Re: Show and hide layers

    I can't replicate that Acorn. I'm using FF. I do get the odd anomoly in the Xara default browser.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

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

    Default Re: Show and hide layers

    Quote Originally Posted by Egg Bramhill View Post
    I can't replicate that Acorn. I'm using FF. I do get the odd anomoly in the Xara default browser.
    Egg, you are right. i only went as far as Preview. My other browsers are fine.

    @Xara - another nail in the coffin of using deprecated IE code libraries. MS are even binning Edge code in favour of Chrome/Chromium.

    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
  •