How can I reinitialize Superfish every time the page is submitted?

I just learned about superfish and am currently using it on asp.net. The problem is that every time the message is returned with the caption on the top screen disappears. The site needs to run on IE6, so the javascript part is very important. I was thinking about creating a javascript function that contains plugin initialization and called it on Page Load event from codebehind page.

Can this be done or is there a better way to do this?

Thanks.

+1


a source to share


1 answer


I use the superfish menu on my site. I have a custom web control that emits my markup for me.

Then I use $ (document) .ready () to initialize the superfish. This will be called every time the page is loaded even after posting back.



My guess is when you say that the menu disappears, that the menu still only has that it appears as a normal list?

+1


a source







All Articles