PDA

View Full Version : Help: The grid is hiding the menu...



chidera
2 Dec 2006, 8:50 AM
Hi,

I've been having pretty good success using the YUI menu and the YUI-Ext Grid....but not together. I've noticed that the menu's submenus are BEHIND the grid. As you can imagine, this is not good.

The only thing that I know to do is to explicitly set the z-index on the menu to a value higher than that of the grid's. I looked through the "standard" grid CSS file and found the highest z-index field to be 20000. So, I added the following to the menu's main DIV tag: style="z-index:20001". It didn't work.

I've played around a little more, but only with z-index on the main menu and grid DIV tags....with no positive results.

Does anyone have any suggestions?

BTW, I'm using the latest versions of both YUI and YUI-Ext, and I'm basically using straightforward features/functionality and "standard" CSS files. Nothing out of the ordinary. Also...I'm running IE7.

Thanks for any help you might have.

Travis

jack.slocum
2 Dec 2006, 9:33 AM
Bump the z-index of the menus. Yahoo sets them to something silly like 1. There are already few threads on this, search is your friend. ;)

chidera
2 Dec 2006, 12:40 PM
Hi,

Thanks for the info.

BTW, I had tried a few searches....it wasn't too friendly this time around. But, I'm fairly new to javascript, CSS, YUI, and YUI-Ext, so it may be that my searches weren't the smartest.... :-|

Anyway, thanks again...!

Travis

jack.slocum
3 Dec 2006, 5:39 AM
It's definitely not the best search program. I would have to agree!

Herm
3 Dec 2006, 4:06 PM
I use the inurl operator in the search box on google:

inurl:http://www.yui-ext.com/forum this is my search query

Judging by the google cache, the googlebot visits the yui-ext.com once or more each week so the results are reasonably fresh.

jack.slocum
3 Dec 2006, 5:31 PM
That's a good idea. I should put a google search somewhere in here.

Herm
3 Dec 2006, 6:26 PM
Jack - for this purpose, you could use http://google.com/coop/cse/ you can make a custom search engine that can search just the sites you specify (ie both jackslocum.com AND yui-ext.com).

Aside from that (and off topic I go...), you could also decide to make a more general JS subject matter search engine (again using the google CSE) and extend to selected others to make their own contributions as to what sites should be included in the search. You can also filter topics in sites. You get the benefit of the adsense for your efforts. This is all point and click. Here's an example, the "High Signal/Noise Search for Java Developers"
http://www.google.com/coop/cse?cx=007472659154614577341%3Ackid9uprhnc

jack.slocum
4 Dec 2006, 5:09 AM
That's pretty nice looking. I wish the was a way to bookmark this thread for when I come back because I'm sure I will forget. Can you bump it on Friday? :)

Herm
4 Dec 2006, 11:47 AM
I can do that :)

Herm
7 Dec 2006, 9:28 PM
Jack said:
I wish the was a way to bookmark this thread for when I come back because I'm sure I will forget. Can you bump it on Friday?