Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Top Bar

  1. #1
    Regular Coder
    Join Date
    Jul 2004
    Location
    Lebanon
    Posts
    223
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Top Bar

    http://www.phpbbhacks.com

    How can I have a top bar like that on my websites?

  • #2
    Regular Coder
    Join Date
    Jul 2004
    Location
    Lebanon
    Posts
    223
    Thanks
    6
    Thanked 0 Times in 0 Posts
    That's the code being used at phpbbhacks.com

    Code:
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr valign="middle">
        <td height="15"><b>
          <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
    }
    //-->
    </script>
    <table width="100%"  border="0" cellpadding="0" cellspacing="0" background="networkmiddle.jpg">
      <tr>
        <td height="24" width="205"><a href="http://www.ifroggy.com"><img src="networkleft.jpg" width="205" height="24" 
    
    border="0"></a></td>
        <td height="24" width="100%"><div align="center" class="networkbar">Buy martial arts gear at <a 
    
    href="http://www.mawarehouse.com">MAWarehouse.com</a> </div></td>
        <td height="24"><span class="networkbar">
          <select name=select2 onChange="MM_jumpMenu('parent',this,0)" style="background-color: #979797; color: #FFFFFF; font-
    
    family: Tahoma, Verdana; FONT-SIZE: 11px">
          <option value="#" selected >Network Websites</option>
          <option value="#">--------------------</option>
          <option value="http://www.ifroggy.com">iFroggy Network</option>
          <option value="#">--------------------</option>
          <option value="http://www.ifroggyblog.com">iFroggy Network Blog</option>
          <option value="http://www.ifroggyhosting.com">iFroggy Hosting</option>
          <option value="http://www.sportsforums.net">SportsForums.net</option>
          <option value="http://www.karateforums.com">KarateForums.com</option>
          <option value="http://www.mawarehouse.com">MAWarehouse.com</option>
          <option value="http://www.yanksblog.com">YanksBlog.com</option>
          <option value="http://www.marianorivera.com">MarianoRivera.com</option>
    	  <option value="http://www.phinsblog.com">PhinsBlog.com</option>
    	  <option value="http://www.quickzip.org">QuickZip</option>
    	  <option value="http://www.photoshopforums.com">PhotoshopForums.com</option>
    	  <option value="http://www.microsoftblog.com">MicrosoftBlog.com</option>
    	  <option value="http://www.camerablast.com">CameraBlast.com</option>
          <option value="http://www.phpbbhacks.com">phpBBHacks.com</option>
          <option value="http://www.developercube.com">DeveloperCube</option>
    	  <option value="http://www.webdevbooks.com">WebDevBooks.com</option>
          <option value="http://www.communityadmins.com">CommunityAdmins.com</option>
          <option value="http://www.communitypromotion.com">CommunityPromotion.com</option>
          <option value="http://www.drgreghouse.com">DrGregHouse.com</option>
    	  <option value="http://www.badboyblog.com">Bad Boy Blog</option>
          <option value="http://www.buyblenders.com">BuyBlenders.com</option>
          <option value="http://www.buycheeses.com">BuyCheeses.com</option>
        </select>    </span></td>
        <td height="24" width="9"><img src="networkright.jpg" width="9" height="24"></td>
      </tr>
    </table>
          <font face="Tahoma, Verdana, Arial" size="1"> </font><font face="Tahoma, Verdana" size="1"> </font></b></td>
      </tr>
    </table>
    Somehow when I save it as .html, there is still a blankl space above that bar which is supposed to be on top of the page! is there a way to fix it?
    And is there a way to add the links/url from 1 js file coz I will add this bar on alot of websites and I want to be able to edit the urls from 1 file to change on all the sites!


  •  

    Posting Permissions

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