Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2019
    Location
    Rochdale, UK
    Posts
    77

    Default How can i do this?

    In my existing sites, built with WebPlus X8 and WYSIWYG Wev builder, I am able to have a pulldown men which, when an item is selected, displays an external site (with parameters) in an inline layer/frame.

    If you want to see what it is, go here http://www.penninescouts.org.uk/events.html and here http://mobiletest.gmnscouts.org.uk/events.html.

    So, how do I achieve that in Xara? I know I can have a rectangular shape and put some html code in to display the external site, however, I want this to be changeable at run time.

    Thanks for any insights

    Alan

  2. #2
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,774

    Default Re: How can i do this?

    Not sure what you mean by 'changeable at run time', but what you showing in your example is an iFrame.

    You are right, you place a rectangle (any shape actually) and go to:
    Web Properties > Placeholder > HTML (body)
    Paste the following code after changing the URL and sizes to suit your needs.

    <iframe width="700" height="400" src="https://www.talkgraphics.com" frameborder="0" </iframe>

  3. #3
    Join Date
    Mar 2019
    Location
    Rochdale, UK
    Posts
    77

    Default Re: How can i do this?

    Thanks Chris,

    What I mean by "changeable at runtime" is that I want the contents of the 'iframe....' to change depending on what the pulldown menu selection is. As you can see from the example URLs above, I've done it with the other packages, but I would like to do it with this one.

    Cheers

    Alan

  4. #4
    Join Date
    Apr 2018
    Location
    Barnes, London
    Posts
    952

    Default Re: How can i do this?

    Alan,

    I think I understand you want the content within the placeholder space to be user-selectable dependent on a drop list? (as per your example website). If true, you could use Xara's embedded website widget (e.g. an iFrame) and create an individual URL specific placeholder on a pop-up layer, for as many URLs you want to reference, each linked back to a menu on the home page (which can be a simple Xara menu, or a dropdown menu that appears when you mouseover the link button).

    Attached is an idea for how this might work; it needs some refinements and other members here could probably suggest some improvements. You could of course use your own code to achieve the same outcome from the same placeholder.

    Gary
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Embeded URLs on Layers.jpg 
Views:	82 
Size:	62.3 KB 
ID:	124316  
    Attached Files Attached Files

  5. #5
    Join Date
    Mar 2019
    Location
    Rochdale, UK
    Posts
    77

    Default Re: How can i do this?

    thanks - let me think about that, but I think it does what I want.

    Alan

 

 

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
  •