Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > WebsitePainter
Iframe

ooievaar
Registered User
Quote
2014-10-21 20:42:08

Op onze website heeft nu elke pagina een eigen menu waardoor ik bij wijzigingen op de site al die menu's een voor een bijwerken.
Ik denk dat een Homepage met een Iframe het een stuk eenvoudiger maakt.
Kan iemand mij stap voor stap uitleggen ik dit moet doen en hoe ik de gevraagde pagina te zien krijg in het Iframe.

BVD
Ooievaar


niko
Moderator
Quote
2014-10-22 07:24:51

You mean how to include an iframe on your page in WebsitePainter?

Just select the element "IFrame" and put it onto a page. In the "WebURL" entry in the property window, enter the URL of the page you want to include. Like "about.html" if you have another page named "about.html" to be included there.


ooievaar
Registered User
Quote
2014-10-23 11:56:12

Hoi Niko
Bedankt voor je reply maar ik heb nog wat vragen.
Stel ik zet op mijn homepage een Iframe en ik wil al mijn andere pagina's in het Iframe laten verschijnen, hoe doe ik dit dan.
Kan ik in een menu een verwijzing maken waar de gevraagde pagina moet worden geopend en hoe doe je dit dan.
Klinkt allemaal stupide maar ik ben een beginnend designer.


niko
Moderator
Quote
2014-10-23 13:43:47

If you want to design a page with a menu, and replace the content of the page, you can use the feature "Master Pages" of WebsitePainter for that. This works like an iframe, but isn't visible to the user, it's not that ugly. See here how to do that: http://www.ambiera.com/websitepa...

But if you really want to use iFrames instead, I think the only way to change the url of an iframe is via JavaScript. You would do it like that:
document.getElementId('idOfYourIFrame').src="http://google.com/"

For setting the url to google. You need to change the 'idOfYourIFrame' of course to the real id of your iframe then. Set the code into your hyperlink, after you set it to 'JavaScript'.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact