Jump to content

Facebook bar at bottom


cordoprod

Recommended Posts

Take a look at this:

http://www.dynamicdrive.com/forums/attachment.php?s=1e758c67af67d1731e6f9ba8a967d86b&attachmentid=1721&d=1208539949

 

I need a script like that...

I already have one, who works perfectly in FF but not in IE.

 

Here's what i've got:

<style type="text/css">
#bottom {
width: 98.5%;
position: fixed;
top: 0px;
background: #EEEEEE;
border-bottom: 1px solid #666666;
border-left: 1px solid #666666;
border-right: 1px solid #666666;
-moz-border-radius-bottomleft: 5px;
   -moz-border-radius-bottomright: 5px;
}
</style>
<div align="center" id="bottom">
 <table width="100%" border="0" cellspacing="1" cellpadding="2">
   <tr>
     <td><? if($_SESSION['sex'] == "Gutt") { echo "<img src=\"images/icons/01/16/06.png\" width=\"16\" height=\"16\" />"; } else { echo "<img src=\"images/icons/01/16/09.png\" width=\"16\" height=\"16\" />"; }?>
       Logget inn som <b><a href="?s=user"><?PHP echo $_SESSION['username']; ?></a></b></td>
     <td><img src="images/icons/01/16/22.png" alt="" width="16" height="16" /> <b>0</b> nye logghendelser</td>
     <td><img src="images/icons/01/16/04.png" width="16" height="16" /> <span class="nye"><a href="?s=innboks"><b><? echo CheckInbox(); ?></b> nye post</a></span></td>
     <td><img src="images/icons/01/16/19.png" width="16" height="16" /> <b>0</b> nye gjestebokinnlegg</td>
     <td><img src="images/icons/01/16/10.png" width=\"16\" height=\"16\" /> <b>0</b> nye venneforespørsler</td>
     <td><img src="images/icons/01/16/28.png" width="16" height="16" /> <b>0</b> chatmeldinger</td>
   </tr>
 </table>
</div>

 

But, in IE it won't stay at top when i'm scrolling down.. and there will be a space like 2px from the top to the bar.

 

Any ideas?

 

 

BTW, i flipped it so it's on the top of the page not at the bottom. May have confused you a little bit ;-)

Link to comment
https://forums.phpfreaks.com/topic/109582-facebook-bar-at-bottom/
Share on other sites

  • 1 year later...

OK, here is a working bar, but I dont know how to embed it in my index template (1.1.9 SMF) forum.

 

http://ryan.rawswift.com/2009/02/15/fixed-that-bar-at-the-bottom-like-facebook/

 

Furthermore, recently released this mod:

 

http://www.simplemachines.org/community/index.php?topic=317680

 

but it is only for the beta 2 version of SMF.

 

Could someone explain to me how can these to codes can give mw a working result?

 

Thank you.

 

 

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.