Ændre farve på knap
Hej, jeg her denne side og når man trykker på søg åbner den et nyt vindue, hvori der står søge resultaterne, men der er også en knap hvor der står "close" den knap vil jeg gerne have lavet om sådan så dens border er sort, det inden i er #AEBDD2 og teksten skal også være sort.PÅ forhånd tak...
-----------------
Her kommer siden:
<html>
<head>
<title>.::Troværdig::.</title>
<style type="text/css">
body {SCROLLBAR-FACE-COLOR: #AEBDD2;
SCROLLBAR-HIGHLIGHT-COLOR: #AEBDD2;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #D7DADF;
SCROLLBAR-DARKSHADOW-COLOR: #000000;
SCROLLBAR-LIGHTSHADOW-COLOR: #D7DADF;
</style>
<style type="text/css">
a:link { color: blue; text-decoration: none; }
a:visited { color: blue; text-decoration: none; }
a:hover { color: red; text-decoration: none; }
</style>
<script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" OnLoad="namosw_scrollstatus('.::: Velkommen til trovaerdig.dk :::.', '', '')" background="bg.jpg">
<div align="left">
<table style="border-collapse:collapse;" cellspacing="0">
<tr>
<td width="974" bgcolor="#AEBDD2" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<p align="center">Copyright by troværdig © 2003</p>
</td>
</tr>
<tr>
<td width="974" height="73" bgcolor="#D7DADF" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<p align="center"><img src="banner.jpg" width="353" height="74" border="0"></p>
</td>
</tr>
<tr>
<td width="974" bgcolor="#AEBDD2" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<p align="left"><span style="font-size:12pt;"><b><u>Pc:</u></b>
</span><a href="side.html" target="midle"><span style="font-size:12pt;"><img src="ball.gif" width="14" height="14" border="0"> Sikkerhed</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script> </span><a href="side.html" target="midle"><span style="font-size:12pt;"><img src="ball.gif" width="14" height="14" border="0">
Hardware</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script> </span><a href="side.html" target="midle"><span style="font-size:12pt;"><img src="ball.gif" width="14" height="14" border="0">
Software</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script> </span><a href="side.html" target="midle"><span style="font-size:12pt;"><img src="ball.gif" width="14" height="14" border="0">
Webserver opsætning</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script> </span><a href="hostlist.htm" target="midle"><span style="font-size:12pt;"><img src="ball.gif" width="14" height="14" border="0">
Gratis webhosting</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script> </span><a href="email.htm" target="midle"><span style="font-size:12pt;"><img src="ball.gif" width="14" height="14" border="0">
Gratis e-mail</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script></span> </td>
</tr>
<tr>
<td width="974" height="109" bgcolor="#D7DADF" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<table border="1" width="100%" height="30">
<tr>
<td width="236" height="80" bgcolor="black">
<p align="center"> <font color="white">Banner
1</font></p>
</td>
<td width="236" height="80" bgcolor="black">
<p align="center"> <font color="white">Banner
2</font></p>
</td>
<td width="236" height="80" bgcolor="black">
<p align="center"> <font color="white">Banner
3</font></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="974" bgcolor="#AEBDD2" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;">
<p align="left"><u><b><span style="font-size:12pt;">Undersider:</span></b></u><span style="font-size:12pt;"> </span><a href="side.html" target="_parent"><span style="font-size:12pt;">Dragonball</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script>
</span><a href="side.html" target="_parent"><span style="font-size:12pt;">Rummet</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script> </span><a href="side.html" target="_parent"><span style="font-size:12pt;">Mobil</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script> </span><a href="side.html" target="_parent"><span style="font-size:12pt;">Biz</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script> </span><a href="side.html" target="_parent"><span style="font-size:12pt;">Tai
Chi</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script> </span><a href="side.html" target="_parent"><span style="font-size:12pt;">Shisha</span></a><span style="font-size:12pt;"><script language="JavaScript">
<!--
function namosw_scrollstatus()
{
var str = '';
if (namosw_scrollstatus.arguments.length > 0) {
var i;
for (str = '', i = 0; i < 100; i++)
str += ' ';
for (i = 0; i < namosw_scrollstatus.arguments.length; i++)
str += namosw_scrollstatus.arguments[i] + ' ';
document.namosw_scrollstatus = str;
} else {
var src_str = document.namosw_scrollstatus;
str = src_str.substring(1, src_str.length);
str += src_str.substring(0, 1);
document.namosw_scrollstatus = str;
}
window.status = str;
setTimeout('namosw_scrollstatus()', 100);
}
// -->
</script></span></p>
</td>
</tr>
</table>
</div>
<hr color="#AEBDD2">
<table align="center" style="border-collapse:collapse;" cellspacing="0" width="974">
<tr>
<td width="149" height="863" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;"><p align="center"><iframe name="I1" src="menu.php" width="148" height="812" scrolling="no" align="left" border="3" frameborder="0" style="float:left;"></iframe><SCRIPT LANGUAGE="JavaScript">
<!-- Hide Script from Old Browsers
/*
Java Search Engine
(c)1997 Adam ALLEN.
Version 2.0
You may use this search engine on your page, but keep this
notice intact, and at the bottom of leave the Copyright notice at
the bottom of this page.
This scripts is my property, so please honnour my requests,
If you do so, you may freely copy, distribute, give this scripts
But it will FOREVER REMAIN MY PROPERTY.
This is the first Java Script that I have wrote, and am proud of it,
I feel pleased that I can contribute back to the bank of JavaScripts
that I have used on my page from other people, AN EYE FOR AN EYE!
*/
// Obviously the more enteries you have the more time it will take to
// load the document, but the seek time reamins very quick, I would
// say with about 500 entries you would be quicker than YAHOO!
// at least with this there are no CGI Scripts to load, once the main
// page is in that's it!!!!
// Define Database Options
Keyword = new Object();
Descrip = new Object();
Address = new Object();
// Keyword[0] = n (where n is the number of keywords which can be searched
Keyword[0] = 6
// Each entry is split into
// Keyword[n] = text (where text is the keyword of which the entry is to
// be searched by (type Keywords in lowercase)
// Descrip[n] = text (where text is the description associated to this entry
// Address[n] = text (where text is the URL associated to the entry
// n is the entry number.
Keyword[1] = "javascript"
Descrip[1] = "JavaScript World is the best JavaScript site on the Net."
Address[1] = "http://www.mydesktop.com/javascript/"
Keyword[2] = "yahoo"
Descrip[2] = "Search the BEST engine on the internet."
Address[2] = "http://www.yahoo.com"
Keyword[3] = "world"
Descrip[3] = "JavaScript World is the best JavaScript site on the Net."
Address[3] = "http://www.mydesktop.com/javascript/"
Keyword[4] = "free"
Descrip[4] = "Free webpages at Geocities."
Address[4] = "http://www.geocities.com"
Keyword[5] = "free"
Descrip[5] = "Free webpages at Tripod"
Address[5] = "http://www.tripod.com"
Keyword[6] = "free"
Descrip[6] = "Free JavaScript at JavaScript World"
Address[6] = "http://www.mydesktop.com/javascript/"
function checkDatabase() {
var Found = false
var Item = document.forms[0].searchfor.value.toLowerCase();
stats='toolbar=no,location=no,directories=no,status=no,menubar=no,'
stats += 'scrollbars=yes,resizable=yes'
MsgBox = window.open ("","msgWindow",stats)
MsgBox.document.write("<head><title>Close this window to return to Adam's HomePage</title></head>");
MsgBox.document.write ("<BODY BACKGROUND=bg.jpg BGCOLOR=#C0C0C0 TEXT=#000000 LINK=#000080 VLINK=#800040 ALINK=#FF0000><H2><CENTER>Search Results</CENTER></H2>")
MsgBox.document.write ("<H3>For the keyword: "+Item+"<HR>");
for (var i=1; i <= Keyword[0]; i++) {
if(Item == Keyword[i]) {
Found = true;
MsgBox.document.write ("<H4>"+Descrip[i]+"<BR><A HREF="+Address[i]+">Click Here To View</A></H4>")
}
}
if(!Found)
MsgBox.document.write ("<H4>Nothing Found</H4>")
// Leave the line below intact if you want to legally use this script
MsgBox.document.write ("")
// There must be my notice above if you are to use this script legally.
// It took many hours work, fairs is fair, I just want that little line in
// and you get a fully working Search ENGINE, for FREE, on your site
// In Java Scripts aswell, and not crap JAVA!
// Also a copyright notice MUST appear with the form.
MsgBox.document.write ("<FORM><CENTER>")
MsgBox.document.write ("<INPUT type='button' value='Close' onClick = 'self.close()'>")
MsgBox.document.write ("</CENTER></FORM>") }
// -->
</SCRIPT></p>
<FORM NAME="form1">
<p align="center">Søg på trovaerdig.dk
<INPUT TYPE="text" NAME="searchfor" VALUE="Indtast søgeord" SIZE=20><INPUT TYPE="button" VALUE="Søg" onClick="checkDatabase()"><BR>
<!-- End Of File --><!-- END OF SCRIPT -->
</form>
</td>
<td width="817" height="863" style="border-top-width:1; border-right-width:1; border-bottom-width:1; border-left-width:1; border-color:black; border-style:solid;"><p align="center">
<iframe name="midle" width="817" height="856" align="left" src="midle.htm" style="float:none;"><br>
</p>
<p align="center"> </p>
</td>
</tr>
</table>
</body>
</html>
