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

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -