Sam2604
01-15-2007, 05:16 PM
Hey I was thinking earlier about new ways to display my music list on the site myspace,
And I thought of maybe a box that people can type a band in, and when they click it tells them what I think of it?
I've seen a code like it before, and I seem to remember it not being too advanced,
Just a case of typing in the answers and the responses?
Just wondering if someone could help =].
Thanks in advance.
vinny619
01-20-2007, 04:05 PM
if you use front page then here is an example..
page 1
<!-- TWO STEPS TO INSTALL MULTIPLE USERS:
1. Copy the first code into the HEAD of your HTML document
2. Put the last coding into the BODY of your HTML document -->
<!-- STEP ONE: Copy this code into the HEAD of your login HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
if (username=="tenacious d") { window.location="t d.htm"; done=1; }
if (username=="red hot chili peppers") { window.location="red peppers.htm"; done=1; }
if (username=="linkin park") { window.location="linkin park.htm"; done=1; }
if (done==0) { alert("Invalid Search!"); }
}
// End -->
</SCRIPT>
<BODY bgcolor="#000000">
<form name=login target="_top">
<p align="center"><span lang="en-gb"><b><i>
<font face="Diploma" size="6" color="#FF0000">Band name</font></i></b></span></p>
<p align="center"><font color="#FF0000" face="Diploma"><span lang="en-gb">band
</span>name:<span lang="en-gb">
</span>
<input type=text name=username size="20" style="color: #FF0000; border: 1px solid #FF0000; background-color: #000000"></font></p>
<p align="center"><font face="Diploma" color="#FF0000">
<input type=button value="search!" onClick="Login()" style="color: #FF0000; border: 1px solid #FF0000; background-color: #000000"></font></p>
</form>
page 2
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 2</title>
</head>
<body>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><font size="6">I think Tenacious D are</font></p>
<p align="center"><font size="6">awesome and there movie rules.</font></p>
</body>
</html>
page 3
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 3</title>
</head>
<body>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><font size="6">I think red hot chili peppers are ok</font></p>
<p align="center"><font size="6">and There music is good</font></p>
</body>
</html>
page 4
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 4</title>
</head>
<body>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><font size="6">I think linkin park are terrible</font></p>
</body>
</html>
i hope this is what you were after