Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4

Thread: nav

  1. #1
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    4,753
    Tokens
    1,860
    Habbo
    ,Alpha,

    Latest Awards:

    Default nav

    i have a website and when i go on staff login > dj panel it opens in navagation window, how can i make it open in content window?

    take a look please, +rep to any hekpers
    hogwarts2k7.freehostia.com

  2. #2
    Join Date
    Oct 2006
    Posts
    115
    Tokens
    0

    Default

    Code:
    ;'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <STYLE>
    <!--
    body {
    SCROLLBAR-ARROW-COLOR: #336666;
    SCROLLBAR-BASE-COLOR: #DC9415;
    SCROLLBAR-FACE-COLOR: #DC9415;
    SCROLLBAR-HIGHLIGHT-COLOR: #DC9415;
    SCROLLBAR-SHADOW-COLOR: #DC9415;
    SCROLLBAR-3DLIGHT-COLOR: #DC9415;
    SCROLLBAR-TRACK-COLOR: #DC9415;
    SCROLLBAR-DARKSHADOW-COLOR: #DC9415;
    }
    -->
    </STYLE>
    
    <title>Habbolayouts.com</title>
    <script type="text/javascript">
    <!--
    var omitformtags=["input", "textarea", "select"]
    omitformtags=omitformtags.join("|")
    function disableselect(e){
    if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
    return false
    }
    function reEnable(){
    return true
    }
    if (typeof document.onselectstart!="undefined")
    document.onselectstart=new Function ("return false")
    else{
    document.onmousedown=disableselect
    document.onmouseup=reEnable
    }
    -->
    </script>
    <script language=JavaScript>
    <!--
    var message="";
    ///////////////////////////////////
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if 
    (document.layers||(document.getElementById&&!document.all)) {
    if (e.which==2||e.which==3) {(message);return false;}}}
    if (document.layers) 
    {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
    document.oncontextmenu=new Function("return false")
    // --> 
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><!-- Popups -->
    <script language="JavaScript">
    <!--
    function openPictureWindow_GTC(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) {  // v4.01
    newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
    newWindow.document.open();
    newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
    if (imageType == "swf"){
    newWindow.document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="'+imageWidth+'" height="'+imageHeight+'">');
    newWindow.document.write('<param name=movie value="'+imageName+'"><param name=quality value=high>');
    newWindow.document.write('<embed src="'+imageName+'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+imageWidth+'" height="'+imageHeight+'">');
    newWindow.document.write('</embed></object>');	
    }else{
    newWindow.document.write('<img src="'+imageName+'" width='+imageWidth+' height='+imageHeight+' alt="'+alt+'">'); 	}
    newWindow.document.write('</body></html>');
    newWindow.document.close();
    newWindow.focus();
    }
    //-->
    </script><!-- Auto Center Popups -->
    <script language="javascript">
    var win=null;
    function NewWindow(mypage,myname,w,h,scroll,pos){
    if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
    if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
    else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
    settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
    win=window.open(mypage,myname,settings);}
    // -->
    
    </script>
    <style type="text/css">
    body{
    	background-color:#DC9415;
    	margin-left: 1px;
    	margin-top: 1px;
    	margin-right: 1px;
    	margin-bottom: 1px;
    }
    
    a{
    	font-family:Arial;
    	font-size:10px;
    	color:#000000;
    	text-decoration: none;
    }
    
    font{
    	font-size:10px;
    }
    
    .menutitle{
    	cursor:pointer;
    	margin-bottom: 2px;
    	background-color:none;
    	color:#000000;
    	width:140px;
    	text-align:left;
    	font-family:Arial;
    	font-weight:bold;
    	font-size:12px;
    }
    
    .submenu{
    	margin-bottom: 0.5em;
    	font-family:Arial;
    	font-size:10px;
    	font-style:none;
    	color:#000000;
    	text-decoration: none;
    
    }
    .style1 {font-size: 12px}
    </style>
    <script type="text/javascript">
    
    
    if (document.getElementById){ 
    document.write('<style type="text/css">')
    document.write('.submenu{display: none;}')
    document.write('</style>')
    }
    
    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>
    <table width="140">
      <tr>
        <td width="140"><div id="masterdiv">
    <div onclick="SwitchMenu('sub99')"><a href="en" target="_parent"></a></div>
    <div class="menutitle" onclick="SwitchMenu('sub1')">Site Home</div>
    <span class="submenu" id="sub1">Home<br>
    Jobs<br>
    
    About us<br>
    Disclaimer<br>
    Contact us
    <br>
    </span>
    <div class="menutitle" onclick="SwitchMenu('sub2')">Radio</div>
    <span class="submenu" id="sub2">Status<br>
    Requests<br>
    Timetable<br>
    Djs</span><span class="submenu" id="sub3"><br>
    
    </span>
    <div class="menutitle" onclick="SwitchMenu('sub4')">News</div>
    <span class="submenu" id="sub4">UK News<br>
    News Staff<br>
    Pixel News Letter
    <br>
    </span>
    <div onclick="SwitchMenu('sub98')"></div>
    <div class="menutitle" onclick="SwitchMenu('sub5')">Alterations</div>
    <span class="submenu" id="sub5">coming soon <br>
    </span>
    <div class="menutitle" onclick="SwitchMenu('sub6')">Events</div>
    
    <span class="submenu" id="sub6">Working on pages <br>
    </span>
    <div class="menutitle" onclick="SwitchMenu('sub7')">Help &amp; Safety </div>
    <span class="submenu" id="sub7">Habbo Way<br>
    Fansite Way<br>
    Anti-Virus<br>
    Firewalls<br>
    Scam Busters
    <br>
    
    </span>
    <div onclick="SwitchMenu('sub97')"></div>
    <div class="menutitle" onclick="SwitchMenu('sub8')">Guides</div>
    <span class="submenu" id="sub8">Roller Guide<br>
    Parents Guide<br>
    Chat Tips<br>
    Dj Guide<br>
    Rare Guide<br>
    </span></div>
    <div class="menutitle" onclick="SwitchMenu('sub9')">Tips &amp; information </div>
    
    <span class="submenu" id="sub9">Tips &amp; Tricks<br>
    Info Bus <br>
    </span>
    <div class="menutitle" onclick="SwitchMenu('sub17')">Fun &amp; Games </div>
    <span class="submenu" id="sub17">Anagrams<br>
    Competitions
    <br>
    </span>
    <div class="menutitle" onclick="SwitchMenu('sub18')">Articles</div>
    
    <span class="submenu" id="sub18">Room Reviews<br>
    Interviews 
    <br>
    <br>
    </span>
    <div class="menutitle" onclick="SwitchMenu('sub19')">Links</div>
    <span class="submenu" id="sub19">Link Us<br>
    Links 
    <br>
    <br>
    </span>
    <div class="menutitle" onclick="SwitchMenu('sub20')">staff Login</div>
    <span class="submenu" id="sub20">news<br>
    
    <A HREF="http://hogwarts2k7.freehostia.com/radiodjpanel" target="contentname">Click Here</A>
    <br>
      </tr>
    </table>
    </body>
    </html>
    Chnage the bits in bold to your content iframe name. And then it should target to it.




  3. #3
    Topps Guest

    Default

    Quote Originally Posted by Jutnut View Post
    Change the bits in bold to your content iframe name. And then it should target to it.
    Hopefully, his iFrame has a name.

    But, yer it shoud work.

  4. #4
    Join Date
    Oct 2006
    Posts
    115
    Tokens
    0

    Default

    Yeh if it doesnt then its abit stupid.




Posting Permissions

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