The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Text from asp in iframe won't show
vinnybear
post Feb 13 2007, 08:14 PM
Post #1





Group: Members
Posts: 4
Joined: 13-February 07
Member No.: 1,892



I have a simple page, with a couple of tables (one within the other, a centering table).
Inside the one table I have an iframe that calls a asp page that is simply text.
When tested from my computer, it works fine, but when uploaded to my server, I get a 404 - not found error.
It seems that it is looking for that asp on my server, but it is not, it is on another server.
Please help - I think it is really something simple.
Thanks!
Here is the link and then the code:

http://www.llorafam.com/dailytext/

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<title>Examining the Scriptures Daily</title>


<style type="text/css">
<!--
.style1 {
font-family: "Times New Roman", Times, serif;
font-weight: bold;
font-style: italic;
}
.style3 {font-family: "Times New Roman", Times, serif; font-weight: bold; font-style: italic; font-size: 24px; }
body {
background-color: #33CCFF;
}
-->
</style>
</head>


<body>

<table align="center" bgcolor="#33CCFF" border="0" height="100%" width="100%">

<tbody>

<tr>

<td align="center" valign="middle"> <div align="center">
<table width="475" height="325" border="10" align="center" cellpadding="15" bgcolor="#FFFF99">
<tr>

<td align="center" valign="middle">
<div align="center">
<p><span class="style3">Examining the Scriptures Daily</span><br>
<span class="style1">
<script LANGUAGE=Javascript>
</SCRIPT>
</span>
<em><strong>
<script LANGUAGE=Javascript></SCRIPT>

</strong></em><strong>
<script LANGUAGE=Javascript></SCRIPT>
</strong>
<script LANGUAGE=Javascript>calendar = new Date();
day = calendar.getDay();
month = calendar.getMonth();
date = calendar.getDate();
year = calendar.getYear();
if (year < 1000)
year+=1900
cent = parseInt(year/100);
g = year % 19;
k = parseInt((cent - 17)/25);
i = (cent - parseInt(cent/4) - parseInt((cent - k)/3) + 19*g + 15) % 30;
i = i - parseInt(i/28)*(1 - parseInt(i/28)*parseInt(29/(i+1))*parseInt((21-g)/11));
j = (year + parseInt(year/4) + i + 2 - cent + parseInt(cent/4)) % 7;
l = i - j;
emonth = 3 + parseInt((l + 40)/44);
edate = l + 28 - 31*parseInt((emonth/4));
emonth--;
var dayname = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
var monthname =
new Array ("January","February","March","April","May","June","July","August","September","October","November","December" );
document.write("<font face=verdana,arial size=2>");
document.write(dayname[day] + ", ");
document.write(monthname[month] + " ");
if (date< 10) document.write("0" + date + ", ");
else document.write(date + ", ");
document.write(year + " <font color=FF0000>");
</SCRIPT>
</p>


<iframe
src = "http:www.wittersworld.com/dailytext/dailytext.aspx"
width = "400"
height = "250"
scrolling = "no"
frameborder = "0"
></iframe>

</div>
</td>
</tr>
</table>
</div></td>

</tr>

</tbody>

</table>

</body>
</html>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Effovex
post Feb 13 2007, 08:31 PM
Post #2


Serious Coder
*****

Group: Members
Posts: 251
Joined: 6-January 07
From: Sherbrooke, Qc, Canada
Member No.: 1,477



You forgot the // after http:

src = "http://www.wittersworld.com/dailytext/dailytext.aspx"
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vinnybear
post Feb 13 2007, 10:13 PM
Post #3





Group: Members
Posts: 4
Joined: 13-February 07
Member No.: 1,892



QUOTE(Effovex @ Feb 13 2007, 08:31 PM) *

You forgot the // after http:

src = "http://www.wittersworld.com/dailytext/dailytext.aspx"


Thanks. At first it seemed not to work, but I had to clear my cache, and then it worked!
Thanks!

http://www.llorafam.com/dailytext/

This post has been edited by vinnybear: Feb 13 2007, 10:15 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 11:31 PM