So is it possible to make the contant have no background colour at all?
Also like in the dynamicpagelength.wbs file, the pages the iframe is getting the text/images from as no background colour set.
Warm regards

Chris
Once again Eddy you've helped deal with a big problem thank you very much. The example kees talks about, DOSE work with the dynamic iframe code with no problems what-so-ever. You can even test it without publishing it, as it is HTML. I have now already used your code on http://www.crstcn.co.uk and I'll do the same to my others later today.Eddy wrote:chris_saturn,maybe you are looking for this,but I dont know if u can use this together with the dynamic iframe code:
Sub-pages should open in an Inline Frame
viewtopic.php?t=1445
Or you disable the subpages to get listed in google with robots.txt / metatags dont follow.
Thank you for your reply. I did try and use the above code but the image would not load up at all!Eddy wrote:Can u not use:
$new_height = 100%;
Why do u use this,for faster loading times?
I'm very glad you pointed that out to Eddy. The only reason a image was showing on the gallery page is because I can set the background image with the plugin/extension.Eddy wrote:chris_saturn,
Al menu links what I try dont work on your page with dynamic frame?
Testen in IE and FF.
Only on gallery photos das work.
Code: Select all
<!--[if IE]>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Background to fit screen</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Imagetoolbar" content="no">
<![endif]-->
<style type="text/css">
/* pushes the page to the full capacity of the viewing area */
html {height:100%;}
body {height:100%; margin:0; padding:0;}
/* prepares the background image to full capacity of the viewing area */
#bg {position:fixed; top:0; left:0; width:100%; height:100%;}
/* places the content ontop of the background image */
/* #content {position:relative; z-index:1;} */
</style>
<!--[if IE]>
<style type="text/css">
/* some css fixes for IE browsers */
html {overflow-y:hidden;}
body {overflow-y:auto;}
#bg {position:absolute; z-index:-1;}
/* #content {position:static;} */
</style>
<![endif]-->
<body>
<div id="bg"><img src="woman.png" width="100%" height="100%" alt=""></div>
<div id="content"><p></p></div>
</body>
Here is the way I've now fixed the problem of loading a image in iFrame's and making them streach out. I just taken out the "White spaced lines in the below code"Eddy wrote:On firefox all pages are opening,in IE6 al links do nothing only photos shows up.
Code: Select all
<html>
<head>
<title>Background to fit screen</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Imagetoolbar" content="no">
<style type="text/css">
/* pushes the page to the full capacity of the viewing area */
html {height:100%;}
body {height:100%; margin:0; padding:0;}
/* prepares the background image to full capacity of the viewing area */
#bg {position:fixed; top:0; left:0; width:100%; height:100%;}
</style>
<!--[if IE]>
<style type="text/css">
/* some css fixes for IE browsers */
html {overflow-y:hidden;}
body {overflow-y:auto;}
#bg {position:absolute; z-index:-1;}
</style>
<![endif]-->
<body>
<div id="bg"><img src="woman.png" width="100%" height="100%" alt=""></div>
</body>
</head>
</html>