This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > iframe issue?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author iframe issue?
christian_herwitz

2005-09-30, 6:21 pm

Hi all,

Can anyone tell me if there's something in this code that explains why the
page its in autoscrolls to the iframe? I just can't figure out what's going on!

<p>&nbsp;</p>
<p><img src="images/gifts/regalo.jpg" width="162" height="150"></p>
<p align="left">Please click on a thumbnail to view details, or contact
<a href="mailto:christian_herwitz@harvard.edu">Christian Herwitz</a> at (617)
495-5727.</p>
<p align="center"><IFRAME src="flash/regalo/index.html" width="450"
height="550" scrolling="no" frameborder="0"><strong>You are reading this
message because your web browser does not support frames or is currently
configured not to display frames. However, you can still view our Regalo gift
selection <a href="flash/regalo/regalo.html">here</a>.</strong></IFRAME></a></p>
<p>&nbsp;</p>

christian_herwitz

2005-09-30, 6:21 pm

Ok...ha, I see it isn't anything in there...how about here?


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<title></title>

<!-- FlashObject embed by Geoff Stearns geoff@choppingblock.com
http://choppingblock.com/ -->

<script type="text/javascript" src="flashobject.js"></script>



<script type="text/javascript">



window.onload = function() {

if ((window.document.getElementById) &&
(window.document.getElementById('gallery').focus)) {

window.document.getElementById('gallery').focus();

}

}



</script>



<style type="text/css">

/* hide from ie5 mac \*/

html {

height: 100%;

overflow: hidden;

}



#flashcontent {

height: 100%;

}

/* end hide */



body {

height: 100%;

margin: 0;

padding: 0;

background-color: #ffffff;

}



</style>



</head>

<body>



<div style="display:none">

<div>%FLASH%</div>



<div></div>

<div></div>

<div>8/22/2005</div>

<div></div>

<div></div>



<div>#FFFFFF</div>

<div>#FFFFFF</div>

<div>#FFFFFF</div>

<div>#990000</div>

<div>#990000</div>

<div>#990000</div>



<div>.jpg</div>

<div></div>

<div></div>

<div></div>

<div></div>

</div>



<div id="flashcontent">

<script type="text/javascript">

// <![CDATA[



var myFlashObject = new FlashObject("gallery.swf", "gallery", "100%",
"100%", 6, "#ffffff");

myFlashObject.addParam("scale", "noscale");

myFlashObject.addVariable("request", getQueryParamValue("image"));

myFlashObject.addVariable("photosXmlFile", "photos.xml");

myFlashObject.addVariable("configXmlFile", "galleryconfig.xml");

myFlashObject.write();



// ]]>

</script>



<noscript>

<div align="center"><strong>In order to view these gifts, you must enable
JavaScript in your web browser. </strong>
</div>
</noscript>

</div>



</body>

</html>

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews