23-05-2005, 21:40
|
|
|
חבר מתאריך: 23.05.05
הודעות: 2
|
|
בעיה בהכנסת משתנה לכותרת דף ...
הכנסתי את הפעולות הבאות:
<!--#include file="pagetop.txt"-->
<% pageTitle="news" %>
<!--#include file="includes/title.htm"-->
הדפדפן נתקע עם ההודעה הבאה: (אחרי ההודעה צרפתי את הקבצים)
<title> <font face="Arial" size=2>
<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a000d'</font>
<p>
<font face="Arial" size=2>Type mismatch: 'pageTitle'</font>
<p>
<font face="Arial" size=2>/includes/title.htm</font><font face="Arial" size=2>, line 1</font>
ניסיתי לשחק בשם המשתנה אותיות גדולות \ קטנות ואפילו מספר, וזה לא תופס... מישהו יכול לעזור?
הקבצים הם:
הקובץ שקורא לקבצים:
הקובץ title:
<title> <% pageTitle %> </title>
הקובץ pagetop :
<%@ language="vbscript" %>
<link rel="stylesheet" type="text/css" href="style.css">
<!--#include file="style.css"-->
<html>
<head>
</head>
<body bgcolor=#32c800">
<a href="http://www.2biko.com/index.asp">
<img src="img/logo.gif" border=0 width="50" hight="50"></a>
<!---שעון--->
<!----#include file="includes/newsday.inc"--->
<!---נגמר שעון--->
.<P>
we will put curront news here.
<P align="center">
<a href="bazaar/bazaar.asp">
<img src="img/bazaar.gif" ALIGN="middle" alt="news" width="35" height="35"></a>
<a> </a>
<a href="reg/reg.asp">
<img src="img/reg.gif" alt="register" align="middle" width="35" height="35"></a>
</P>
תודה.
|