Welcome to TalkGraphics.com
Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1

    Default buttons call single page & activate unique popup layer

    Given three buttons on one page: __plant__animal__mineral

    All three buttons should load the same remote page, but each activates a unique popup layer on load.
    Has this been addressed?
    Is there a solution?

    mercí.

  2. #2

    Default Re: buttons call single page & activate unique popup layer

    Was that the whole post Curtis?

  3. #3

    Default Re: buttons call single page & activate unique popup layer

    Yes, that is the whole post. I'll add a graphic for added clarity. (I hope.)
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	activate-layer-01.jpg 
Views:	270 
Size:	33.0 KB 
ID:	59762  

  4. #4

    Default Re: buttons call single page & activate unique popup layer

    To me it looks as if this had been addressed with the popup layers already present and with or without the sticky tweak by Covoxer. Furthermore you can create an iFrame placeholder on the popup layers and have that load an external page. Also you can target iFrames to load external pages.

    Did you have something else in mind than above?

  5. #5

    Default Re: buttons call single page & activate unique popup layer

    Thanks for your suggestions, Markku.

    Activating a popup layer can only be done within the active page (with or without the 'Locking Pop-Ups' tweak), as I understand. A link on a remote page cannot control how a called page behaves (which varied set of pop-up layers are active) when it loads into the browser.

    I've attached a sample .web file (which doesn't work). If I could get some community input, it would greatly help. Perhaps the light switch will click on.

    Note that when either page 2 buttons are clicked (when on the first page), page 2 loads empty. This is because the popups have not been explicitly activated.
    Attached Files Attached Files
    Last edited by cursor; 22 April 2009 at 12:50 AM. Reason: moved text box off of MouseOver layer @ .web file

  6. #6

    Default Re: buttons call single page & activate unique popup layer

    Ok, I think I see what you mean. From page 1 you want to open page 2 and simultaneously load a specific layer?

    That sounds like a thing I would also find handy. Good question Curtis!

    Sorry but my skills end up right here, but I'm pretty sure Covoxer will have a tweak for that in no time.

  7. #7

    Default Re: buttons call single page & activate unique popup layer

    Exactly, Markku. Something like this doctored Web Properties dialog:
    Where the layer names would change, depending on which pop-ups (if any) were on the page selected by the dropdown control.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	remote_pop-up_call.jpg 
Views:	239 
Size:	75.8 KB 
ID:	59771  
    Last edited by cursor; 22 April 2009 at 01:18 AM.

  8. #8
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: buttons call single page & activate unique popup layer

    Curtis,


    Sounds like a good suggestion for the Dear Xara forum (maybe when the radio button for "Link to page" is ticked in the Web dialog you would be allowed to tick the "Popup layer" option also).

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

    Default Re: buttons call single page & activate unique popup layer

    I suppose you could send the additional info appended to the url. Each button clicked in the original page would attach a different appendage to the url to open up a different pop-up. But how you'd do it in XWD is beyound me at present.
    Last edited by Egg Bramhill; 22 April 2009 at 03:48 AM.
    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

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

    Default Re: buttons call single page & activate unique popup layer

    This is wrong approach from the start. Nevertheless you can do it.
    The page that will be opened has to use Locking popups tweak. Add following script in placeholder somwhere on this page:
    Code:
    <script type="text/javascript">//<!--
    if(document.location.search=="?1")my_open("layer1");
    if(document.location.search=="?2")my_open("layer2");
    if(document.location.search=="?3")my_open("layer3");
    //-->
    </script>
    To open this page with popup "layer1" opened you have to use following link: pagename.htm?1
    For layer2: pagename.htm?2
    etc.
    You can add or remove lines from the script as you see they are the same only names are changed. Also replace names with correct ones.
    John.

 

 

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
  •