Howto: Check if on Page, if not Redirect and then Scroll

I am trying to get one last thing working:

I have a blog link in the main navigation and when you click it, it scrolls down to the blog. But when I’m on any other page, this logic obviously doesn’t work. It should first consequently first go to the root page and then scroll. I’ve got the opposite thing working here, but haven’t quite gotten this task done yet.

Any help?

newest questions tagged jquery – Stack Overflow

About Admin