Closed (fixed)
Project:
Yahoo YUI
Version:
5.x-1.4-5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
6 Oct 2007 at 03:44 UTC
Updated:
12 Feb 2008 at 21:13 UTC
Jump to comment: Most recent file
Appreciate help here.
Fresh install of drupal 5.2 + yui module. Have embed following code in garland/page.tpl.php.
<div class="breadcrumb">
if (module_hook('yuimenu','menu') && ("tns" == variable_get('yuimenu_type','tns') || "tnm"==variable_get('yuimenu_type','tns')) ){
print html_menu(variable_get('yuimenu_root','1') );
}
</div>
In Internet Explorer the menu bar has a "tail", whereas in FireFox the bar ends immediately after the last menu item - where it should be (no "tail").
Please see attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | page.tpl_.php__1.txt | 3.91 KB | esadot |
| #1 | FireFox.jpg | 141.95 KB | esadot |
| IE_0.jpg | 139.85 KB | esadot |
Comments
Comment #1
esadot commentedplease find the firefox attached
Comment #2
bakyildiz commentedPlease download 1.4-5 and change the "position: relative" to "position: absolute". This should solve your problem. I am not sure but also you can remove the class="breadcrump" and give the top and right values directly in style.
Comment #3
H3rnand3z commentedHi esadot,
How did you get your menu to display like in your jpg? I tried it and it shows either above or below.
Thank You
Comment #4
esadot commentedThanks bakyildiz for your prompt reply, however I'm afraid I couldn't pull it off.
I upgrade to 5.x-1.4-5, and follow your code. No good :( In addition I played with position: relative vs. absolute, inline and in the breadcrumb class. No good :( Have tried to play with other parameters, without real success.
Any idea would be appreciated. Whatever you've got, just throw it in and I'd be happy to test it.
Thanks in advance,
Comment #5
esadot commentedH3rnand3z,
I've took advantage of the breadcrumb class. Attached please find garland page.tpl.php.
Regards,
Comment #6
bakyildiz commentedVery nice.
Actually i am not a html/css people. So may be i have to find support about the html/css site to have more powerful menu.
Comment #7
esadot commentedThanks bakyildiz. Please keep us posted on any findings you may have.
I test it a bit more. I set two menus: yui block into header, and yui at breadcrumb (edit page.tpl.php). Have played with "Menu Display type", and:
a. "website top nav with submenus from javascript" and "website top nav with submenus built from markup" share the same behavior:
- IE header menu has a tail.
- FF header menu has a tail.
- IE breadcrumb menu has a trail.
- FF breadcrumb menu doesn't have a trail.
b. "website left nav top nav with submenus from javascript"
- IE header menu has no tail.
- FF header menu has no tail.
- IE breadcrumb menu - disappear/no-menu.
- FF breadcrumb menu - disappear/no-menu.
Regards,
Comment #8
bakyildiz commented