So I have some footer function code:
$(document).ready(function () {
$("<a class=\"dropdown-toggle dropdown-toggle-new disabled\" data-toggle=\"dropdown\" data-target=\"#\" style=\"text-align:right; float:right; display:inline; cursor:pointer\">+</a><br clear=\"both\"/><br clear=\"both\"/>").insertAfter("footer .dropdown-toggle");
$(".dropdown-toggle-new").css({ "display": "none" });
$('li.dropdown .dropdown-toggle-new').click(function () {
$(this).parent().children('ul.dropdown-menu').toggle(300);
});
$( window ).resize(changeFooter);
changeFooter();
function changeFooter(){
if ($( document ).width() > 767){
$('li.dropdown .dropdown-toggle-new').parent().children('ul.dropdown-menu').show();
$(".dropdown-toggle-new").css({ "display": "none" });
} else {
$(".dropdown-toggle-new").css({ "display": "inline" });
$('li.dropdown .dropdown-toggle-new').parent().children('ul.dropdown-menu').hide();
}
}
});
The issue I am having is that in Mac Chrome everything seems to work when the browser width hits 767px it does the function. However on PC Chrome, at 768px it does not go to the normal list view it remains as the collapsed lists until about 782px, so it is like adding 15px. I tried to adjust the code by changing the parameter to 752px to accommodate for the 15px but that then messed up the functionality on the Mac.
Here is a link of my test:
http://www.conversantmedia.com/publishers (actually at page contains the footer to test)
There are some other styling issues that I am working on as you scaled down but I have been stumped on this footer issue for a few days now. I am focusing just on the footer nav functionality.