PDA

View Full Version : Can you change this code? *REP GIVEN*



lMattz
27-10-2005, 11:01 PM
If you go to http://www.habbohitz.net/mynewmenu.html

Half of the menu is that colour blue and the other white. I want it so its all blue.

Could someone edit the code so its all blue?

Heres the code:



<html>
<head>
<!-DHTML scripts by Dynamic Drive (http://www.dynamicdrive.com)-->
<style>
a:hover{color:#00FF00; }
</style>
<style>
<!--
a{text-decoration:none}
//-->
</style>
<style type="text/css">
body
{ background:url('http://www.habbohitz.net/darkblue.PNG') repeat-x;
font-family:verdana; color:#FFFFFF; font-size:7.5pt; background-image:url('http://www.habbohitz.net/darkblue.PNG'); background-repeat:repeat-x; background-attachment:scroll
}

td
{ font-family: verdana;
color: #FFFFFF ;
font-size: 7.5pt; }
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<title></title>

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<script type="text/javascript">


if (document.getElementById){
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}

function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("masterdiv").getElementsByTagName("span");
if(el.style.display != "block"){
for (var i=0; i<ar.length; i++){
if (ar[i].className=="submenu")
ar[i].style.display = "none";
}
el.style.display = "block";
}else{
el.style.display = "none";
}
}
}

</script>
</head>
<base target="main">
<div id="masterdiv">

<div class="menutitle" onclick="SwitchMenu('sub1')" style="width: 106; height: 13"><font color="#000000"><b>
<img border="0" src="http://www.habbopath.com/images/lamp.gif" width="12" height="11">Habbohitz</b></font></div>
<font color="#000000">
<span class="submenu" id="sub1" >
- <a target="main" href="/index.html">Home</a><br>
- <a target="main" href="jobform.html">Jobs</a><br>
- <a href="/staff.html">Staff</a><br></b>
- <a target="main" href="/support">Contact us</a><br>
- <a target="main" href="poll/poll.html">Polls</a><br>
</span>

</font>

</div>

<div id="masterdiv">

<div class="menutitle" onclick="SwitchMenu('sub2')" style="width: 106; height: 13">
<font color="#000000"><b>
<img border="0" src="http://www.habbohitz.net/lamp.gif" width="12" height="11">Main Hotels</b></font></div>
<font color="#000000">
<span class="submenu" id="sub2" >
- <a target="main" href="http://www.habbohotel.co.uk">Habbo UK</a><br>
- <a target="main" href="http://www.habbohotel.com">Habbo US </a> <br>
- <a target="main" href="http://www.habbohotel.ca">Habbo CA</a><br>
- <a target="main" href="http://www.habbohotel.au">Habbo AU</a><br>

</span>

</font>

</div>

<div id="masterdiv">

<div class="menutitle" onclick="SwitchMenu('sub3')" style="width: 106; height: 13">
<font color="#000000"><b><img border="0" src="http://www.habbohitz.net/lamp.gif" width="12" height="11">Radio</b></font></div>
<font color="#000000">
<span class="submenu" id="sub3" >
- <a target="main" href="/radio.html">Radio Player</a><br>
- <a target="main" href="/form.html">Request Line</a><br>
- <a target="main" href="/radio_stats.php">Radio Stats</a><br>
</span>

</font>

</div>
</body>

<body background="http://www.habbohitz.net/darkblue.PNG">

<div id="masterdiv">

<div class="menutitle" onclick="SwitchMenu('sub4')" style="width: 106; height: 13">
<font color="#000000"><b><img border="0" src="http://www.habbohitz.net/lamp.gif" width="12" height="11">Forum</b></font></div>
<font color="#000000">
<span class="submenu" id="sub4" >
- <a target="main" href="/forum/index.php">View</a><br>
- <a target="main" href="http://habbohitz.net/forum/profile.php?mode=register&sid=5772ab285aca7d198bad3c88cdb496e5">Register</a><br>
- <a target="main" href="http://habbohitz.net/forum/login.php?sid=e2342098738ffc32d1daedbf278890f4">Log in</a><br>
</span>

</font>

</div>

<div id="masterdiv">

<div class="menutitle" onclick="SwitchMenu('sub5')" style="width: 106; height: 13">
<font color="#000000"><b>
<img border="0" src="http://www.habbohitz.net/lamp.gif" width="12" height="11">Support</b></font></div>
<font color="#000000">
<span class="submenu" id="sub5" >
- <a target="main" href="/competitions.html">Ticket Support</a><br>
- <a target="main" href="/reviews.php">Contact Us</a> <br>
</span>

</div>

</font>
<p>
<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}

function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>



As i said the person whos does gets 3 rep xD

Thanks

Matt xx

Tomush
27-10-2005, 11:29 PM
Hmm, couldnt you just change this part to the hex colour you want?


<html>
<head>
<!-DHTML scripts by Dynamic Drive (http://www.dynamicdrive.com)-->
<style>
a:hover{color:#00FF00; }?

you can get hex codes here > http://html-color-codes.com/

Hope i helped ;)

lMattz
27-10-2005, 11:41 PM
Its a image i want as the background though :S

nets
28-10-2005, 09:43 AM
If you want the image to tile all over the page, remove "repeat-x".

lMattz
28-10-2005, 10:55 AM
Thasnks very much xD

Flisker
28-10-2005, 01:45 PM
Woot WD :p

Want to hide these adverts? Register an account for free!