You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 26-08-2014 08:27:16

chrismaliszewski
Contributors
From: Torun, Poland
Registered: 06-05-2013
Posts: 246
Website

How to detect change of hashtag on page

I'd like to set href of anchor in main nav when user change subpage or menu group. I want to create link to different language version of page that user sees, not to homepage only.

I thought about detecting hashtag changes but it doesn't work (using hashchange event). How can I do it?

Last edited by chrismaliszewski (26-08-2014 08:29:20)

Offline

Board footer

Powered by FluxBB