javascript - How to put out-of-scope element into the scope using jQuery? -
i'm designing touch scrollable simple menu below:
+-------+ | | | | | ^ | | # | % | @ | & | +-------+
i did using simple css. i'm able active menu item in dynamic webpage, can highlight them accordingly.
if visitor in %
page, can highlight particular menu, if in &
page, can highlight too. problem is, on newly rendered page, menu refreshes , &
become out-of-scope again. highlighted, user unable see that without touching , scrolling menu.
+-------+ | | | | | | ^ | # | % | @ | & | +-------+
is there way can let menu remember it's position can refresh remembering current position?
edit
what want let menu remember position while being in newly rendered page:
+-------+ | | | | | ^ | # | % | @ | & | +-------+
Comments
Post a Comment