I tried to write a script which allow me to load certain events when I enter specific url.
My code looks like this:
$(function(){
var url = window.location.pathname;
$("url:contains('#Work')").animate({"left": "250"}, "slow");
});
But it doesnt work. Any suggestions? Any help is appreciated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…