Daily iFrame Content II Script Addition
The DD Daily iFrame Content II script is awesome and works great.
(http://www.dynamicdrive.com/dynamici...dowiframe2.htm)
I would like to use the additional optional auto size iFrame add on because it will solve a host of problems. Anyone know where this script should be added in to the exsisting script and if other switches have to be manipulated to get them both to work.
I've added them to a totally blank html page with no other script on the page in various ways - in line with the iFrame II script, added to end, etc. and the content will load but only at the width of a single line. When I comment out the add on scipt, then the iFrame content loads per the attributes I specify in:
//Specify IFRAME display attributes
var iframeprops='width=150 height=150 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="no"'
Any help would be appreciated.
Thanks -
Kevin
When iframe page is on different domain
Hi
That script works beautifully when the page in the iframe is on your own domain. I'm in the position of wanting to offer some syndicated content to other websites, so the page in the iframe will be on a different domain (i.e. mine) than the containing page.
I realise this poses a real problem in the script finding how deep to make the iframe. BUt wonder if there is any way round it?
many thanks
Tony
iframe on different domains
Hi
Found that when the iframe is on one domain (ie someone wanting to you link your own offered syndicated content in an iframe), and the content (ie your own - so you can add a script to it)
you need a javscript in both pages. This seems to work fine:
http://www.dyn-web.com/dhtml/iframes/
best wishes
Tony
iFrame content needs a refresh to load the content with the auto-size add on
Hello,
Was wondering if there is a solution to this refresh problem with this particular script. I know my site vistors will not want to refresh everytime. Was there a fix to this or a work around solution to this problem?
Thanks.