javascript - # in url always displays the home page before showing its corresponding contents -
say, www.example.com#something .
this shows www.example.com briefly before loading www.example.com#something when reload www.example.com#something.
in need of solution please.
$(".trending-menu").die().live('click', function() { $(document).hide(); var trendinglink = (trendinginfo && trendinginfo.trendinglink ? trendinginfo.trendinglink : ''); window.location = nonsecure_url + "/index.html#" + trendinglink; $(document).show(); $('.cls_ftd_invisible_mask').trigger('click'); utils.trackomniture(false, "trending products"); });
Comments
Post a Comment