var isIE9 = navigator.appVersion.indexOf("MSIE 9.")!=-1;
var isIE8 = navigator.appVersion.indexOf("MSIE 8.")!=-1;
var isIE7 = navigator.appVersion.indexOf("MSIE 7.")!=-1;
Thanks to, jQuery4u.
var isIE9 = navigator.appVersion.indexOf("MSIE 9.")!=-1;
var isIE8 = navigator.appVersion.indexOf("MSIE 8.")!=-1;
var isIE7 = navigator.appVersion.indexOf("MSIE 7.")!=-1;
Thanks to, jQuery4u.
CSS3 and IE7/8 versions of nth:child CSS selections,
/* standard nth */
ul.menu li:nth-child(3)
{
/* styles for the 3rd LI */
}
/* IE nth */
ul.menu>li + li + li
Thanks to, Michael Barrett @ Abouthalf.com
Constructs of my HTML and selectors are pertinent to my project only. HTML is assumed to have an initial div block with an unordered list as its child written natively to the index file.
//Published unordered list var pubList = $('div.entrysingle.hidden ul'); //Check if unordered list is visible if (pubList.length > 0) { var boxItOptHdrs = $('div.entrysingle.hidden ul .selectboxit-optgroup-header'); var split_at = boxItOptHdrs; $(split_at).each(function() { $(this).add($(this).nextUntil(split_at)).wrapAll('
'); }); }