Hey Guys,

I'm displaying tabs on a page and they work great in FF. But, in IE the content area displays to the right as well as behind the tabs. The content area does not line up the same way it does in FF.

Any ideas?

Kind regards,

JIm

CommentFileSizeAuthor
#6 tabs.module.patch798 byteskehan
#5 tabs_ie_bug.png169.95 KBkehan

Comments

imp_squared’s picture

This problem is happening for me as well.

It occurs when "Clean Urls" are enabled for drupal.

If "Clean Urls" are disabled, and drupal is using ?q=node the tabs work fine in both FF & IE

alvin’s picture

I added "base_path()" to line 70 of modules\jstools\tabs\tabs.module and it works.

tabs.module Line 70:

<link rel="stylesheet" href="'. base_path().$path . '/tabs-ie.css" type="text/css" media="projection, screen" />
imp_squared’s picture

Wow perfect thank you Alvin!!!
Fast reply too. Great Trouble shooting!!

yngens’s picture

subscribe

kehan’s picture

StatusFileSize
new169.95 KB

This fix worked for me too using 5.x.-08 one minor problem though - one of the tabs occasionally jumps around on clicking on the link - not every time the tab is loaded though. Probably another one to be resigned to the mystery of IE!

kehan’s picture

Status: Active » Needs review
StatusFileSize
new798 bytes

patch attached - hope it works

nedjo’s picture

Status: Needs review » Fixed

Thanks, applied to HEAD and 5.x dev.

peregrine’s picture

Nice fix for IE7. IE6 now also displays the content in the correct position. However initially the tab titles are in the upper left corner of the page, in my case on top of the logo. As you mouse over each, it pops down to where it is supposed to be and they work fine. Refreshing the page puts them back on the header.

Anonymous’s picture

Status: Fixed » Closed (fixed)
TC44’s picture

Status: Closed (fixed) » Active

Tabs shift heavily in Firefox and Safari on OSX when clicked, with or without patch applied. Can anyone else confirm this? And are there any suggestions on a possible fix?

pembeci’s picture

I am also experiencing shifting tabs both on Firefox and IE even after the patch applied. When there are too many tabs to fit in a single line, the second line of tabs shifts like crazy.

stevryn’s picture

I have this happeneing as well using fieldgroup tabs. In Firefox 3 they work perfectly, in IE they start at teh top and then when hovering over them they drop to the correct position. Has anyone figured out how to fix this?