Hello everyone. I associate myself with amazon.com to put on my web store. I give the url of the website code, and try to soak it in my portal with the tag "embed" It does not work. I put the following:
(Embed url = "url of my website")
This does not work, I tried to put the google address, nor does anyone know of this?
I am working with cms v1.8
Greetings.
tag embed
Re: tag embed
if you're looking in the html-code of your page it works, but in the function.embed.php, there is added to the output. So it won't be displayed. I didn't find a workaround for myself, so i deleted the part style=..... form the php-file
EDIT: You have to remember at each update, if this file is re-uploaded. then you have to change it again
Code: Select all
style='overflow:visible; width:99%; display:none'
EDIT: You have to remember at each update, if this file is re-uploaded. then you have to change it again
Re: tag embed
owr-web,
You have no idea how long I've been trying to get this to work. Your solution is so simple, I wondered why I hadn't tried it before.
Many many thanks.
Cheers,
pwg
You have no idea how long I've been trying to get this to work. Your solution is so simple, I wondered why I hadn't tried it before.
Many many thanks.
Cheers,
pwg
Re: tag embed
Do you have {embed header=true} in the head section of your template?
Thing is the embed tag trys to adapt the height of the iFrame to its content dynamically using javascript. Problem is that the script trys to access properties of elements inside the iFrame (contentDocument). Due to the "same origin policy" most browsers does not allow to access the content of iFrames with javascript if the iFrame content is not loaded from the same origin like the site was loaded from.
This is why the embed tag does not behave like expected in the most cases.
If you just need an iFrame with certain height and width try this plugin:
http://dl.dropbox.com/u/2876578/CMSms/P ... iframe.php
It does almost the same like embed but without the javascript stuff.
Thing is the embed tag trys to adapt the height of the iFrame to its content dynamically using javascript. Problem is that the script trys to access properties of elements inside the iFrame (contentDocument). Due to the "same origin policy" most browsers does not allow to access the content of iFrames with javascript if the iFrame content is not loaded from the same origin like the site was loaded from.
This is why the embed tag does not behave like expected in the most cases.
If you just need an iFrame with certain height and width try this plugin:
http://dl.dropbox.com/u/2876578/CMSms/P ... iframe.php
It does almost the same like embed but without the javascript stuff.
Re: tag embed
This {embed header=true} is in the Help for that tag, if you don't get it in the of the template/page embed tag won't work, it really helps to read the tag help, I've used it many times with out having to change any PHP files...