Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 26th, 2005, 7:26 AM   #1
Floppie
Newbie
 
Join Date: Feb 2005
Posts: 18
Rep Power: 0 Floppie is on a distinguished road
Probelm Loading A Script

<script language="VBScript">
<!--
	Sub cmdinput_Click()
		Dim nameinput As String
		nameinput = inputbox.value
		MsgBox nameinput & "U da l337 man", vbOKOnly, nameinput & "'s Msg Box"
	End Sub
'-->
</script>
<html>
<head>
<title>Duff's Website Beta Project....</title>
<script language="VBScript" src="betasitejavafunctions.htm"><!--l damn it L!!!!-->
</head>

<body bgcolor="#ff9900"><!--Fooking clocking it up homeboi style-->
<p align="right"><script language="JavaScript">
<!--
	var today = new Date();
	var thisDay = today.getDate();
	var thismonth = today.getMonth() + 1;
	var thisyear = today.getFullYear();
	document.write("Today is " + thismonth + "/" + thisDay + "/" + thisyear + "<br>");
//-->
</script></p>

		<a name="Beta Page"> </a>

<table border="1" width="100%" height="26" bordercolor="#00ff00" bgcolor="#ff6600">
  <tr>
    <td width="100%" height="20">
      <p align="center"><b><font color="#0000ff"><MARQUEE Behavior="alternate">Beta Page</MARQUEE></font></b></p></td>
  </tr>
</table>
<table border="1" width="100%" height="1" bordercolor="#00ff00" bgcolor="#ff6600">
  <tr>
    <td width="50%" height="1">
      <p align="center"><b><font color="#0000ff"><MARQUEE DIRECTION="right" bgcolor ="red" >Information on Lists...</MARQUEE></font></b></p>
    <ol>    
          <li><p align="left"><b><font color="#003300">Assists in organizing info....</font></b>
       <ul>
          <li><p align="left"><i><font color="#00ff00">Easy Breakdown of information</font></i></p>
          <li><p align="left"><i><font color="#00ff00">Gives it a more professional look</font></i></p></li>
       </ul>
          <li><p align="left"><b><font color="#003300">Helps Duffy pass H's Class</font></b>
       <ul>
          <li><p align="left"><i><font color="#00ff00">Aids in passing highschool</font></i></p>
          <li><p align="left"><i><font color="#00ff00">Stops mom from pwnzoring her s0n l337style!</font></i></p></li>
       </ul></li>
	</ol>
      <p align="left"></p>
      <p align="left"></p></td>
    <td width="50%" height="1">
     <center><font color="#0000ff" size="6"><b><MARQUEE bgcolor="#ff0000"  >Click
     a picture to see the future in the 1337 future seeing viewing box
     thingy!!!!!</MARQUEE></b></font></center> <p align="center">
     <A href="P1010488.html" target=_picbar><IMG height=75 alt=P1010488.JPG src="P1010488_small.JPG" width=100 border=2></A>
     <A href="P1010517.html" target=_picbar><IMG height=75 alt=P1010517.JPG src="P1010517_small.JPG" width=100 border=2></A></p>
    </td>
  </tr>
</table>
<CENTER>Enter your name for a personalized 
messagebox.</CENTER>
<CENTER><INPUT style="WIDTH: 208px; HEIGHT: 22px" size=26 id=inputbox><br><INPUT type=button value=Enter id=cmdinput onclick="cmdinput_Click()"></CENTER>
<CENTER><iframe name="_picbar" width="90%" height=450></iframe></CENTER>

<b><center><h4>&nbsp;</h4><h4>&nbsp;</h4><h4>Scroll Down</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center>
<center><h4>\/</h4></center></b>

		<CENTER><A href="#Beta Page">Top of Page</A></CENTER></body>
</html>

Tryed everything and it says line 54 charcter 1 is causing an error, but that character is a < sign of the start of a center tag. I'm boggled. Btw it's the vb script I'm having difficulty loading. The script is to allow a user to input a name and then press the enter button and have a msgbox with their name appear in it.

Last edited by Floppie; May 26th, 2005 at 7:30 AM. Reason: Just a lil update, still a problem though
Floppie is offline   Reply With Quote
Old May 26th, 2005, 7:58 AM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Well, first of all you need to end the script tag:
<script language="VBScript" src="betasitejavafunctions.htm"></script>
That'll take care of your script problem. For the rest, read up on XHTML.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:03 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC