|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Please help. I uploaded web files from my web designer to my our server 2003. I browse the main page except for the product page. I contact the webdesigner and he said that it's because my server does not support ASP.
Well, I did some research on the net and figured out how to enable the ASP, but it still does not work. Is there a way for me to test what I did? Please help!!!! here is the website www.cnascientific.com if you are curious. ![]() |
|
#2
|
||||
|
||||
|
It seems to be that your "Product Center" link changes to
be the last item clicked. You probably want to fix this before you can test an further |
|
#3
|
||||
|
||||
|
to answer the original question: to check if ASP is working on the server,
create file named "test.asp" with the following line of code: Code:
<% Response.Write("hello world") %>
and save it inside C:\INETPUB\WWWROOT folder. then, open browser on the server and browse to http://localhost/test.asp - if you see the text appear, you know ASP is working fine. |
|
#4
|
|||
|
|||
|
Shadow, the Test.asp work perfectly, so I guess my ASP work just fine. Thank you very much for your help.
Elijathegold, the product center remains a problem, but I still do not understand your question. Would you please tell me how to fix this. Thanks in advance. Quote:
|
|
#5
|
||||
|
||||
|
If you navigate round the site, the link pointed to by the
product center button will always be a link to the LAST page visited. You will need to replace this with a link to the Product Center. Without seeing the code, I can't be more specific. |
|
#6
|
|||
|
|||
|
That would not be a problem, would you like me to post the code for you to see. Is it the Product.asp you need to see? or something else.
Quote:
|
|
#7
|
||||
|
||||
|
I need to see the code that produces the left navigation buttons...
I suspect it is going to be as simple as changing a "#" to "product.asp" but I can't say for sure |
|
#8
|
|||
|
|||
|
Quote:
Code:
---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>C&A Scientific Co.,Inc.</title> <LINK href="css.css" type=text/css rel=stylesheet> <style type="text/css"> <!-- body { background-color: #758994; } .style10 {color: #FB8B01} .style11 { color: #FFFFFF; font-size: smaller; } .style12 {color: #FFFFFF} --> </style> <script language="JavaScript" type="text/JavaScript"> <!-- 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_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_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 onLoad="MM_preloadImages('images/head_butt_01_login.jpg','images/head_butt_02_login.jpg','images/head_butt_03_login.jpg','images/head_butt_04_login.jpg')"> <br> <table width="775" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td width="417"><img src="images/head_01.jpg" width="417" height="91"></td> <td align="center" valign="top" background="images/head_02.jpg"><img src="images/head_03.jpg" width="305" height="91"></td> </tr> </table> <table width="775" height="350" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td width="210" rowspan="2" valign="top" bgcolor="#F2F0F1"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top"><img src="images/head_14.jpg" width="210" height="9"></td> </tr> <tr> <td height="5"></td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td height="68" valign="top"><a href="Company.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','images/head_butt_01_login.jpg',1)"><img src="images/head_butt_01.jpg" name="Image15" width="210" height="68" border="0"></a></td> </tr> <tr> <td height="3"></td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td height="68" valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','images/head_butt_02_login.jpg',1)"><img src="images/head_butt_02.jpg" name="Image16" width="210" height="68" border="0"></a></td> </tr> <tr> <td height="3"></td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td height="68" valign="top"><a href="bulletin.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','images/head_butt_03_login.jpg',1)"><img src="images/head_butt_03.jpg" name="Image17" width="210" height="68" border="0"></a></td> </tr> <tr> <td height="3"></td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td height="68" valign="top"><a href="Contact.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image18','','images/head_butt_04_login.jpg',1)"><img src="images/head_butt_04.jpg" name="Image18" width="210" height="68" border="0"></a></td> </tr> <tr> <td height="3"></td> </tr> </table></td> <td width="205" height="46" align="center"><img src="images/head_06.jpg" width="160" height="19"></td> <td width="360" class="BG"> </td> </tr> <tr> <td colspan="2" valign="top"><table width="100%" height="100" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20" height="88"> </td> <td width="153" align="center"><img src="images/head_07.jpg" width="103" height="63"></td> <td width="392" align="left" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="7"></td> </tr> </table> <span class="sitehelp"><span class="style10">C & A Scientific Co., Inc. </span><br> กกกก was incorporated in 1990. After 16 years, we have grown into a group company, which includes two trade companies and six manufacturing facilities in China. The facilities offer a wide range of products from microscopes and laboratory instruments to plastic and paper laboratory disposable items</span> <br></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="5"></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="1" bgcolor="#E4E4E4"></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="8"></td> </tr> </table> <table width="100%" height="187" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20"> </td> <td width="165" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#EF8201"> <td width="6%" height="30"> </td> <td width="94%" bgcolor="#EF8201"><img src="images/head_08.jpg" width="61" height="15"></td> </tr> <tr> <td height="2" colspan="2"></td> </tr> </table> <table width="165" height="160" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="62" valign="top" bgcolor="#EF8201"><img src="images/head_09.jpg" width="62" height="60"></td> <td width="103" align="right" valign="bottom" bgcolor="#EF8201" class="title_white"> Microscopes </td> </tr> <tr valign="top" bgcolor="#EF8201"> <td colspan="2"><table width="165" height="65" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="5"></td> </tr> <tr> <td height="60"><span class="style11"> All <strong>Premiere </strong>? icroscopesare <strong>CE </strong> certified.Each <strong>Premiere </strong>? model is chosen for its particular features to fill many microscopy </span></td> </tr> </table> <table width="100%" height="30" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="right"><a href="Product.asp?Cid=23" target="_blank" class="style11">read more..</a> </td> </tr> </table></td> </tr> </table></td> <td width="20"> </td> <td width="165" valign="top"><table width="165" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#EF8201"> <td width="9" height="30" -------------- I could not fit it all it cuz i have reached my quota for this reply Last edited by Shadow Wizard : February 20th, 2006 at 04:53 PM. Reason: added [code] and [/code] tags around code - please do that yourself next! |
|
#9
|
||||
|
||||
|
The interesting bit is
Code:
<td height="68" valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','images/head_butt_02_login.jpg',1)"><img src="images/head_butt_02.jpg" name="Image16" width="210" height="68" border="0"></a></td>
It should be changed to Code:
<td height="68" valign="top"><a href="product.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','images/head_butt_02_login.jpg',1)"><img src="images/head_butt_02.jpg" name="Image16" width="210" height="68" border="0"></a></td>
Given that these are standard html files, you will need to do this in each of the following pages index.htm products.asp bulletin.htm contact.htm and anywhere else you find the link doesn't work. |
|
#10
|
|||
|
|||
|
Completed. errr...it is still being a butthead.
|
|
#11
|
||||
|
||||
|
This is a completely different issue...
The easiest way to solve this is to set the server to allow parent paths. If this is a hosted site, the you will have to either look in the hosts control panel or talk to them about allowing parent paths on your site.. Otherwise, there could be a few changes needed to move the offending file(s) into the appropriate place. |