Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resize to fit screen problem

Status
Not open for further replies.

kyriakos70

Programmer
Jul 24, 2008
87
GR
Hello,
I have made a navigation bar with fireworks, I placed it in a framed page, my problem I want it to resize as the screen resolution, I entered in all the width properties value 100% and it did resize but when I pressed a navigation button it where srhinked to the original width and height.
Any help?

Thank you
Kyriakos
 
I change the properties in the code and saved them, I will attach the code of the page as for the link I have to uploaded first (mean the whole site it is not ready yet but I will try this page later).

<html>
<head>
<title>banner22254345.gif</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="FW MX 2004 DW MX 2004 HTML">
<!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Mon May 03 20:59:51 GMT+0300 2010-->
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
/* Functions that swaps images. */
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}

/* Functions that handle preload. */
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}

//-->
</script>
</head>
<body bgcolor="#cc9966" onLoad="MM_preloadImages('images3/banner22254345_r2_c5_f2.gif','images3/banner22254345_r2_c5_f3.gif','images3/banner22254345_r2_c6_f2.gif','images3/banner22254345_r2_c6_f3.gif','images3/banner22254345_r3_c2_f2.gif','images3/banner22254345_r3_c2_f3.gif','images3/banner22254345_r3_c3_f2.gif','images3/banner22254345_r3_c3_f3.gif','images3/banner22254345_r3_c4_f2.gif','images3/banner22254345_r3_c4_f3.gif','images3/banner22254345_r3_c7_f2.gif','images3/banner22254345_r3_c7_f3.gif');">
<!--The following section is an HTML table which reassembles the sliced image in a browser.-->
<!--Copy the table section including the opening and closing table tags, and paste the data where-->
<!--you want the reassembled image to appear in the destination document. -->
<!--======================== BEGIN COPYING THE HTML HERE ==========================-->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<!-- fwtable fwsrc="????????????22grpoup.png" fwbase="banner22254345.gif" fwstyle="Dreamweaver" fwdocid = "323594572" fwnested="0" -->
<tr>
<!-- Shim row, height 1. -->
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
</tr>

<tr><!-- row 1 -->
<td colspan="8"><img name="banner22254345_r1_c1" src="images3/banner22254345_r1_c1.gif" width="100%" height="86" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="86" border="0" alt=""></td>
</tr>
<tr><!-- row 2 -->
<td colspan="4"><img name="banner22254345_r2_c1" src="images3/banner22254345_r2_c1.gif" width="100%" height="1" border="0" alt=""></td>
<td rowspan="2"><a href="banner22254345_1.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('banner22254345_r2_c5','','images3/banner22254345_r2_c5_f2.gif',1);" onClick="MM_swapImage('banner22254345_r2_c5','','images3/banner22254345_r2_c5_f3.gif',1);"><img name="banner22254345_r2_c5" src="images3/banner22254345_r2_c5.gif" width="100%" height="23" border="0" alt="?????????? ??? ??????"></a></td>
<td rowspan="2"><a href="banner22254345_2.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('banner22254345_r2_c6','','images3/banner22254345_r2_c6_f2.gif',1);" onClick="MM_swapImage('banner22254345_r2_c6','','images3/banner22254345_r2_c6_f3.gif',1);"><img name="banner22254345_r2_c6" src="images3/banner22254345_r2_c6.gif" width="100%" height="23" border="0" alt="???????? ?????????? ??? ??????"></a></td>
<td colspan="2"><img name="banner22254345_r2_c7" src="images3/banner22254345_r2_c7.gif" width="100%" height="1" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
</tr>
<tr><!-- row 3 -->
<td rowspan="3"><img name="banner22254345_r3_c1" src="images3/banner22254345_r3_c1.gif" width="100%" height="29" border="0" alt=""></td>
<td rowspan="2"><a href="banner22254345_3.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('banner22254345_r3_c2','','images3/banner22254345_r3_c2_f2.gif',1);" onClick="MM_swapImage('banner22254345_r3_c2','','images3/banner22254345_r3_c2_f3.gif',1);"><img name="banner22254345_r3_c2" src="images3/banner22254345_r3_c2.gif" width="100%" height="23" border="0" alt="?????? ??????"></a></td>
<td rowspan="2"><a href="banner22254345_4.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('banner22254345_r3_c3','','images3/banner22254345_r3_c3_f2.gif',1);" onClick="MM_swapImage('banner22254345_r3_c3','','images3/banner22254345_r3_c3_f3.gif',1);"><img name="banner22254345_r3_c3" src="images3/banner22254345_r3_c3.gif" width="100%" height="23" border="0" alt="??????? ??? ?????"></a></td>
<td rowspan="2"><a href="banner22254345_5.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('banner22254345_r3_c4','','images3/banner22254345_r3_c4_f2.gif',1);" onClick="MM_swapImage('banner22254345_r3_c4','','images3/banner22254345_r3_c4_f3.gif',1);"><img name="banner22254345_r3_c4" src="images3/banner22254345_r3_c4.gif" width="100%" height="23" border="0" alt="??????????? ??? ????????"></a></td>
<td rowspan="2"><a href="banner22254345_6.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('banner22254345_r3_c7','','images3/banner22254345_r3_c7_f2.gif',1);" onClick="MM_swapImage('banner22254345_r3_c7','','images3/banner22254345_r3_c7_f3.gif',1);"><img name="banner22254345_r3_c7" src="images3/banner22254345_r3_c7.gif" width="100%" height="23" border="0" alt="??????????? ??? ?? ??? ??????"></a></td>
<td rowspan="3"><img name="banner22254345_r3_c8" src="images3/banner22254345_r3_c8.gif" width="100%" height="29" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="22" border="0" alt=""></td>
</tr>
<tr><!-- row 4 -->
<td rowspan="2" colspan="2"><img name="banner22254345_r4_c5" src="images3/banner22254345_r4_c5.gif" width="100%" height="7" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="1" border="0" alt=""></td>
</tr>
<tr><!-- row 5 -->
<td colspan="3"><img name="banner22254345_r5_c2" src="images3/banner22254345_r5_c2.gif" width="100%" height="6" border="0" alt=""></td>
<td><img name="banner22254345_r5_c7" src="images3/banner22254345_r5_c7.gif" width="100%" height="6" border="0" alt=""></td>
<td><img src="images3/spacer.gif" width="100%" height="6" border="0" alt=""></td>
</tr>
<!-- This table was automatically created with Macromedia Fireworks -->
<!-- -->
</table>
<!--========================= STOP COPYING THE HTML HERE =========================-->
</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top