-
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
-
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>
-
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
-
2 Attachment(s)
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
-
Re: How can i do this?
thanks - let me think about that, but I think it does what I want.
Alan