Driver Robot Speeds & Cleans up Your PC Automatically

Driver Robot automatically downloads the latest drivers for your PC and keeps it running smoothly. Inject new life into your old PC and fix existing problems instantly. Run a free driver scan now and put your PC back in business.

 

Get Your Own Toll Free 800 Number

It's easy to setup your own toll free number for as little as $2/ month. Try Kall8 today and get your 800 number. Features include call forwarding, voice mail and fax, caller ID, email notifications, VoIP, and more.



Jan 09 2007

Put Adminmenu_dhtml On Top in Internet Explorer and Restore Blinking Cursor in Firefox


Filed under: Content Management Systems » Drupal,
Tools:


Adminmenu_dhtml IE and Firefox Fixes

CSS fixed to Drupal's Adminmenu_dhtml module to bring the menu bar to the top in Internet Explorer and restore the blinking cursor in Firefox. These issues do not occur in version 2 (for Drupal 5.x), and the module's developer, Ted Serbinski, is in the process of rewriting that module to be 100% jQuery, instead of mixed JS/CSS, which should solve a majority of these issues.

The issues arise because of IE 6-'s inadequate handling of position: fixed (changes to position: absolute). So meanwhile, here's a CSS fix to get things working in Drupal 4.7.x. Add this below your style declarations in your theme's page.tpl.php file:

<style type="text/css">
#admin-nav {
/* Netscape 4, IE 4.x-5.0/Win and other lesser browsers will use this */
  position: absolute; left: 0; top: 0;
}
body > div#admin-nav {
  /* used by Opera 5+, Netscape6+/Mozilla, Konqueror, Safari, OmniWeb 4.5+, iCab, ICEbrowser */
  position: fixed;
}
</style>
<!--[if gte IE 5.5]>
<![if lt IE 7]>
<style type="text/css">
div#admin-nav {
  /* IE5.5+/Win - this is more specific than the IE 5.0 version */
  left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
  top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}
</style>
<![endif]>
<![endif]-->

Average: 5 (1 vote)
Tools:



  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <br />
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options

CAPTCHA
This question is used to make sure you are a human visitor and to prevent spam submissions.