Jump to content

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...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.