Is there any way to hook into the page's onpageshow handler?
I'm trying to prototype a button that would enable me to switch between one of two languages on the website by using CSS, cookies and Javascript. I think I have some of it working except I need to be able to set the controls to the desired language when I visit a new page. I think I need to hook into the page's "onpageshow" event handler to make my calls there.
Does anyone know if there is a way to do this? If not, it'd be great if WA supplied hooks so we could make calls to the various page events. Have like a default user "onpageshow" event handler that's alway called and we could override if desired.