This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2004 > iFrame Problem





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 Problem
tiobraid

2004-02-12, 1:28 pm

I am using an iframe. I have declared the width and height of it and in design
view it is placed in the correct position on the page. But when i publish it,
the frame moves to the right of where it should be. Is there anyone out there
who can help?


T.Pastrana - 4Level

2004-02-12, 6:29 pm

We would need to see the pages code in order to determine the exact source
of the problem. Can you post a URL to the page in question?


--
Regards,
...Trent Pastrana
www.fourlevel.com

-----------------------------


"tiobraid" <sinead_mc_kenna@hotmail.com> wrote in message
news:c0ga7a$csb$1@forums.macromedia.com...
> I am using an iframe. I have declared the width and height of it and in

design
> view it is placed in the correct position on the page. But when i publish

it,
> the frame moves to the right of where it should be. Is there anyone out

there
> who can help?
>
>



tiobraid

2004-02-16, 9:28 am

Here is the code

<head
<title>Untitled Document</title
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
<script language="JavaScript" type="text/JavaScript"
<!-
function MM_reloadPage(init) { //reloads the window if Nav4 resize
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4))
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload()

MM_reloadPage(true)
//--
</script
</head

<body bgcolor="#FFFFFF"
<div id="Layer1" style="position:absolute; left:249px; top:185px; width:477px;
height:212px; z-index:1">
<iframe name="mainframe" height="212" width="477" height:212px; left"248"
top:185px;></iframe></div
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,29,0" width="166" height="444"
<param name="movie" value="remotecontrol.swf"
<param name="quality" value="high"
<embed src="remotecontrol.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="166" height="444"></embed></object
<img src="tv3.jpg" width="580" height="316"
</body

T.Pastrana - 4Level

2004-02-16, 1:29 pm

tiobraid,


Thecode posted is incomplete but it looks like you will need to place the
Flash object and image and iFrame inside a table to obtain the positioning
your looking for.


--
Regards,
...Trent Pastrana
www.fourlevel.com

-----------------------------



"tiobraid" <sinead_mc_kenna@hotmail.com> wrote in message
news:c0qdhc$ne7$1@forums.macromedia.com...
> Here is the code
>
> <head
> <title>Untitled Document</title
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
> <script language="JavaScript" type="text/JavaScript"
> <!-
> function MM_reloadPage(init) { //reloads the window if Nav4 resize
> if (init==true) with (navigator) {if
> ((appName=="Netscape")&&(parseInt(appVersion)==4))
> document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
> onresize=MM_reloadPage; }
> else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
> location.reload()
>
> MM_reloadPage(true)
> //--
> </script
> </head
>
> <body bgcolor="#FFFFFF"
> <div id="Layer1" style="position:absolute; left:249px; top:185px;

width:477px;
> height:212px; z-index:1">
> <iframe name="mainframe" height="212" width="477" height:212px;

left"248"
> top:185px;></iframe></div
> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#ve
> rsion=6,0,29,0" width="166" height="444"
> <param name="movie" value="remotecontrol.swf"
> <param name="quality" value="high"
> <embed src="remotecontrol.swf" quality="high"
> pluginspage="http://www.macromedia.com/go/getflashplayer"
> type="application/x-shockwave-flash" width="166"

height="444"></embed></object
> <img src="tv3.jpg" width="580" height="316"
> </body
>



Sponsored Links


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