...
|
...
|
@@ -220,24 +220,7 @@ $('.floatnav').on('mouseenter', function() { |
|
|
if (location.hash) {
|
|
|
var hashPos = location.hash.substring(1);
|
|
|
setTimeout(function() {
|
|
|
$('.floatnav').find('li[name="' + hashPos + '"]').trigger('click');
|
|
|
$('.floatnav').find('li[data-pos="' + hashPos + '"]').trigger('click');
|
|
|
}, 500);
|
|
|
|
|
|
} |
|
|
|
|
|
try {
|
|
|
var status=window.NETSALEDATA.baseProductInfo.baseProduct.status;
|
|
|
if(!([8,2,3,4].indexOf(status)>-1)){
|
|
|
$(".floatnav li").each(function() {
|
|
|
var name = $.trim($(this).data('pos')),
|
|
|
that = this;
|
|
|
if (name == location.hash.replace(/^#/, '')) {
|
|
|
setTimeout(function() {
|
|
|
$(that).click();
|
|
|
}, 500);
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
} catch (e) {
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|