primary link oddity
fallacious - February 2, 2006 - 05:29
| Project: | Fancy |
| Version: | 5.x-1.0 |
| Component: | User interface |
| Category: | task |
| Priority: | normal |
| Assigned: | sangamreddi |
| Status: | active |
Description
I'm testing this theme with six primary links. Clicking on any of these links results in either the first or the last tab rolling down into a second row and the active page remains unchanged; clicking the same link again then navigates to the proper destination.

#1
I have tested with 6 links, it's working fine. that may be screen size resolutions problem. Can you give me the link, so that i can investigate the problem to find a solution.
#2
http://fallacio.us - register an account or use your Drupal ID, then switch to the fancy theme in your profile.
#3
This issue is particular with your installation. However, i tried with 8 tabs i didn't see any problem on my test site. Anyway I'll look into this issue this weekend and come up with a solution.
#4
If you need me to look up something, please let me know.
#5
I had this same problem and finally hacked the CSS until it worked. Apologies for not being able to find the precise culprit, however, find the section called -------- Primary Links ------- in the CSS file and comment out all the 'float:' references in that section (but *not* in the following ------- Primary Links Tab Colors -------- section or your buttons will break). Incidentally I also commented out the 'padding-bottom:' on '#primary-tabs .current a' which was highly suspect. The problem went away.
This has the effect of shifting the menu buttons over to the left a bit, but it also fixes the site-title jumping to the right when you select one of these buggers or if the mouse-over 'link' to your site title is actually located to the right of the title instead of on the text where it belongs. I had all of these problems as well and decided that I could live with the menus shifted leftward if it fixed all these annoying things. Incidentally, I'm using Firefox 1.5 - and wouldn't be at all surprised if it's specific to the browser.
#6
Can you provide the patch plz. I am busy with other work.
#7
No. My theme files don't even remotely resemble the distribution anymore.
#8
Six tabs working fine here. See the demo http://theme.gleez.com/
#9
Thanks...this worked just fine! Seven links strong.
#10
I was having the same problem with this theme in Drupal 4.7. Atached css file eliminates the problem. I only commented one line, so nothing else effected.
#11
Thank you. I think you have commented float:right; I'll check it and commit it. I dont know many people are facing this problem. But i never get into this problem. I tried on many sites. Still i dint get this problem. anyway i'll check it out and thanks for sharing it.
#12
sangamreddi, did you try to see the issue on wide screen monitors? I was having this problem on widescreen lapton with resolution 1440х900, but on 15" desktop monitor it was just ok. So probably it has something with resolution or smth.
#13
1280x800 here... Never tried it at another screen.
#14
hi
this does not fix the problem it makes new ones ;)
the primary links are now left floated, as the background image also. so this is no good solution.
it depends more on problems with the title and/or description being displayed or not.
the problem is gone for me when i activate the "slogan". the description which is just diplayed unter the sides title !
#15
#16
I got little after couple of months. I'll look into this issue.
#17
This problem happens to me to, but only if I'm using Firefox (both 1.5x and 2.0) but no such problem with IE7 or Opera. However, when the Search section (both text input field and search button) disappear when I'm in IE7 (Released version) and Opera, but visible only in Firefox.
#18
It's seems like this is a CSS bug in Firefox, I did a google search and some folks can actually reproduced the behavior with sample codes and suggest workarounds, but I'm not sure how to implement them into this project.
http://www.google.com.sg/search?hl=en&q=css+float%3Aright+firefox+&btnG=...
#19
I am having the same - tabs jumping around on the first click, functioning when clicked again - problem on Firefox on Macs, still running Drupal 4.7. I will try the commenting out fix and see how it goes. I'm very new to all this!
(Also, the SIFR text doesn't show in Safari, but I can live with that since there is alternate text.)
#20
I'm still getting this problem in v5.
Using Firefox 2, on a widescreen laptop, the primary tabs jump into a column on first click. On second click they serve the correct page and go back into two rows.
In IE 7, same laptop, the tabs mostly work OK, but one of them splits the tabs into two seperate rows, one at the top of the masthead and one at the bottom of the masthead.
I tried yngens' CCS from #10 but it made no difference.
Does anyone know how to proceed?
Thanks
Nig
#21
I've just got some improvement by changing to this version of the template.php
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/themes/fan...
Now Firefox 2 tabs load a page first time and only one of the tabs breaks the tab layout. It splits the tabs into two seperate rows, one at bottom and one at top of masthead.
IE 7, same thing.
This is all in Drupal 5.
Any ideas?