Revision: 3753 Author: hans URL: http://bknr.net/trac/changeset/3753
Hack around Internet Explorer overlap problem.
U trunk/projects/quickhoney/website/static/javascript.js
Modified: trunk/projects/quickhoney/website/static/javascript.js =================================================================== --- trunk/projects/quickhoney/website/static/javascript.js 2008-08-30 14:11:09 UTC (rev 3752) +++ trunk/projects/quickhoney/website/static/javascript.js 2008-08-30 20:11:12 UTC (rev 3753) @@ -504,6 +504,11 @@
debug('show_page ' + pagename + ' subpath ' + subpath + ' current_directory ' + current_directory);
+ /* workaround for IE, which does not display the overlapping menu items expectedly */ + map(function (keyword) { + $('m_' + keyword).style.zIndex = (keyword == pagename) ? 101 : 100; + }, ['pixel', 'vector', 'news', 'shop', 'contact']); + // Activate the menu by coloring the menu choices correctly $('menu').className = pagename;