I have a html web page which i re named to become an .a5w page.
within the html page was some 'on mouse over' and on mouse out code.
i have published my site but the a5w page acts differently to the html page.
the mouse over relates to images with hyperlinks.
when in html the mouse over swaps the image but in a5w i get a blank space where the second image should be. its as if the image is not in the folder.
here is the code from the start - upto the images section.
my thought is that something has occured during the renaming from html to a5w.
i have compared the code on both pages and i see no difference. (the above code is from the a5w page).
any suggestions and fixes please?
richard
within the html page was some 'on mouse over' and on mouse out code.
i have published my site but the a5w page acts differently to the html page.
the mouse over relates to images with hyperlinks.
when in html the mouse over swaps the image but in a5w i get a blank space where the second image should be. its as if the image is not in the folder.
here is the code from the start - upto the images section.
Code:
<!doctype html public "-//w3c//dtd html 4.01 transitional//en"> <html> <head> <%a5 Delete tmpl_pred_summary DIM tmpl_pred_summary as P tmpl_pred_summary = a5w_load_component("pred_summary") with tmpl_pred_summary componentName = "pred_summary" end with '=======================================compute the HTML for the Component======================================= delete x_pred_summary dim x_pred_summary as p x_pred_summary = a5w_run_Component(tmpl_pred_summary) '============================================================================================================= if x_pred_summary.RedirectURL <> "" then response.redirect(x_pred_summary.redirectURL) end end if ?x_pred_summary.Output.Head.JavaScript ?x_pred_summary.Output.Head.CSS_Link %> <%a5 Delete tmpl_pred_summary DIM tmpl_pred_summary as P tmpl_pred_summary = a5w_load_component("pred_summary") 'Following code allows you to override settings in the saved component, and specify the component alias (componentName property). 'Tip: Keep the componentName property short because this name is used in page URLs, and it will help keep the URLs short. 'Each component on a page must have a unique alias (componentName property). with tmpl_pred_summary componentName = "pred_summary" end with '=======================================compute the HTML for the Component======================================= delete x_pred_summary dim x_pred_summary as p x_pred_summary = a5w_run_Component(tmpl_pred_summary) '============================================================================================================= if x_pred_summary.RedirectURL <> "" then response.redirect(x_pred_summary.redirectURL) end end if ?x_pred_summary.Output.Head.JavaScript ?x_pred_summary.Output.Head.CSS_Link %> <%a5 Delete tmpl_nav_join DIM tmpl_nav_join as P tmpl_nav_join = a5w_load_component("nav_join") 'Following code allows you to override settings in the saved component, and specify the component alias (componentName property). 'Tip: Keep the componentName property short because this name is used in page URLs, and it will help keep the URLs short. 'Each component on a page must have a unique alias (componentName property). with tmpl_nav_join location = "" componentName = "nav_join" end with '=======================================compute the HTML for the Component======================================= delete x_nav_join dim x_nav_join as p x_nav_join = a5w_run_Component(tmpl_nav_join) ?x_nav_join.Output.Head.JavaScript ?x_nav_join.Output.Head.CSS_Link %> <!--Alpha Five Temporary Code Start - Will be automatically removed when page is published --> <!--CSS for tmpl_nav_join --> <link rel="stylesheet" type="text/css" href="file:///C:/Program Files/A5V8/css/Modern/components/a5navsysToolbar/style.css"> <!--Alpha Five Temporary Code End --> <!--Alpha Five Temporary Code Start - Will be automatically removed when page is published --> <!--CSS for tmpl_pred_summary --> <href="file:///C:/Program Files/A5V8/css/Modern/style.css"> <!--Alpha Five Temporary Code End --> <!--Alpha Five Temporary Code Start - Will be automatically removed when page is published --> <!--CSS for tmpl_pred_summary --> <href="file:///C:/Program Files/A5V8/css/Modern/style.css"> <!--Alpha Five Temporary Code End --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Results</title> <script language="JavaScript" type="text/JavaScript"> <!-- 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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } 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[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } 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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> </head> <body style="BACKGROUND-IMAGE: url(images/BGAlll.jpg)" onLoad="MM_preloadImages('images/Home+.jpg','images/AboutUs+.jpg','images/Services+.jpg','images/Contacrus+.jpg')"> <center> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="usial"> <tr align="left" valign="top"> <td style="BACKGROUND-POSITION: right 50%; BACKGROUND-IMAGE: url(images/BgTopFL.jpg)" > </td> <td width="760" height="223" style="BACKGROUND-IMAGE: url(CenterBG%20-%20Copy.jpg)"></td> <td style="BACKGROUND-IMAGE: url(images/BgTopFL.jpg)" > </td> </tr> <tr align="left" valign="top"> <td style="BACKGROUND-POSITION-Y: 50%; BACKGROUND-IMAGE: url(images/BGCen.jpg); BACKGROUND-REPEAT: repeat-x" > </td> <td height="471" style="BACKGROUND-IMAGE: url(images/BGCen.jpg)"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="760" height="344" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr align="left" valign="top"> <td width="39" height="344" style="BACKGROUND-POSITION: right top; BACKGROUND-IMAGE: url(images/BGLeftCollum.jpg); BACKGROUND-REPEAT: repeat-y" > </td> <td width="683" style="BACKGROUND-COLOR: #ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="265" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="237" align="left" valign="top" style="BACKGROUND-POSITION: left top; BACKGROUND-IMAGE: url(images/BGNews.jpg); BACKGROUND-REPEAT: no-repeat"><table width="204" border="0" cellspacing="0" cellpadding="0" style="MARGIN-LEFT: 50px; WIDTH: 204px; HEIGHT: 178px" > <tr> <td vAlign=top background=""><table width="195" border="0" cellpadding="0" cellspacing="0" style="WIDTH: 195px; HEIGHT: 197px" > <tr> <td> <font color=#800000>Members Area</font> </td> </tr> <tr> <td> <a href="login.a5w"><img src="login1.jpg" ></a></td> </tr> <tr> <td> Not yet a member?</td> </tr> <tr> <td> <%a5 ?x_nav_join.Output.Body.navsysTBH %> </td> </tr> </table> </td> </tr> </table></td> </tr> <tr> <td align="right" valign="top"><a href="#"></a></td> </tr> </table> </td> <td width="418"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="58" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="MARGIN-TOP: 6px"> <tr> <td align="left" valign="top"><a onmouseover="MM_swapImage('Image29','','images/Home+.jpg',1)" onmouseout=MM_swapImgRestore() href="http://index.a5w" > <img height=46 src="images/home-.jpg" width=99 border=0 name=Image29></a><a onmouseover="MM_swapImage('Image30','','images/AboutUs+.jpg',1)" onmouseout=MM_swapImgRestore() href="index-1.html"><img height=46 src="images/AboutUs-.jpg" width=102 border=0 name=Image30></a><a onmouseover="MM_swapImage('Image31','','images/Services+.jpg',1)" onmouseout=MM_swapImgRestore() href="service.html"><img height=46 src="images/Services-.jpg" width=101 border=0 name=Image31></a><a onmouseover="MM_swapImage('Image32','','images/Contacrus+.jpg',1)" onmouseout=MM_swapImgRestore() href="index-2.html"><img height=46 src="images/ContactUs-.jpg" width=104 border=0 name=Image32></a></td> </tr>
i have compared the code on both pages and i see no difference. (the above code is from the a5w page).
any suggestions and fixes please?
richard
Comment