

This can be inserted into any link, using the “Web Properties” dialog (Shift-Ctrl-W). In our case, we want a link target which starts with “javascript:”. For example, email me will open a mail compose window (assuming your browser can find a mail program). As you may know, HTML links don’t always have to point to web pages. The first part of the solution is to use the “link” mechanism to run Javascript from button pushes. This article describes how it can be done. After a couple of less-than-elegant attempts, I arrived at a solution which allows the use of the standard Xara layer architecture to design the pop-ups, but which gave me the close-box I wanted. So, I set myself the task of turning the pop-up layer into something with a close button. This makes it a tad hard to select and copy any text! Web Designer has pop-up layers, but they normally disappear as soon as the mouse is clicked anywhere on the page. The direction I wanted to stretch my web pages was to produce a pop-up which was consistent with the look and feel of the site (and preferably editable using the Web Designer features), and which allowed users to copy and paste the text from the pop-up box. The HTML, Javascript and css from Web Designer seem to be a lot less messy than most. This has a lot to do with the clean stucture of the pages it generates. Having explored “under the bonnet” a little, I have been impressed by how a little lateral thinking can extend the capabilities well beyond its ordinary functionality. But like most graphically-based packages, it has limitations when it comes to going beyond its basic capabities. The pages it produces look great, and are easy to modify, at least as far as appearance and layout are concerned.

$('.en_socialShares a').R ecently, I have been getting to grips with Xara Web Designer.
XARA PAGE LAYERS IN AN IFRAME CODE
If you are having issues with social sharing click on the toggle bar below to reveal a solutionįacebook and Twitter prevent their pages being loaded in iframes, so you will need to force the facebook and twitter share pages to appear in a new tab when you are using an iframe.Īdd some javascript like this to a code block on the page where your share buttons are: Social share buttons on your thank you page may not operate properly inside an iframe. Or you can look at a JavaScript solution such as this, but note our caveats here! 7) Use trackingĬonsider adding tracking to your iframe’s source so you know where the submissions have come from 8) Social sharing may work differently They have a set width and height, so you need to ensure the iframe will look good on a desktop and on smaller mobile screens. Iframes do not naturally resize themselves in response to the size of the screen. They should both be If you use for your main website the iframe will also need to use which means that supporters’ data is not encrypted when it is submitted which is not recommended 6) Iframes aren’t naturally responsive 5) Only use Be sure to match the protocol you use in your iframe’s source URL with your website. The system also won’t be able to track conversions, so for marketing automations your decision branches won’t get picked up. Iframes won’t get pre-populated from campaign links in emails, since you are sending the supporter to a non-Engaging Networks page. 4) Iframes aren’t easily pre-populated with the supporter’s information They can work with you to create an SSL certificate for a subdomain of your website that points to our servers. To get this set up if not already done, please contact Support. But see below for more information on this and some alternative workarounds If this is used as the domain of your iframe’s source it can eliminate these issues because the browser then authorises the iframes to use cookies since it is essentially the same domain. If you haven’t already, we strongly recommend hosting the iframe page on a subdomain of the parent site, for example for the iframe embedded in the parent site. Some browsers block cookies inside iframes that are needed for the operation of the Engaging Networks pages, which can stop them working properly. 2) Ensure the page’s settings are set for iframe useĮnable the iframe setting in your page’s admin settings 3) Use a Base URL for the iframe that is a subdomain of the parent page We have provided a sample blueprint template that you could use. You would not want to have logos or menus for this template, and would want something that matches the style of your own website (fonts, background colours and so on) so the iframe fits in seamlessly. You should create a simple HTML template that will look good inside an iframe.
