Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default Can you change this code? *REP GIVEN*

    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:

    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

    Thanks

    Matt xx
    I owe rep to:

    NintendoNews & Luckyrare

  2. #2
    Join Date
    Aug 2004
    Location
    U.K
    Posts
    370
    Tokens
    0

    Default

    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

  3. #3
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    Its a image i want as the background though :S
    I owe rep to:

    NintendoNews & Luckyrare

  4. #4
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    If you want the image to tile all over the page, remove "repeat-x".
    kinda quit.

  5. #5
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    Thasnks very much
    I owe rep to:

    NintendoNews & Luckyrare

  6. #6
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    Woot WD :p
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •