Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- var anchor = '#myanchor';
- if (window.location.href.indexOf(anchor) > 0) {
- //do what you want here, change classes, etc
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement