JS Anchor
JS Anchor
- Started
- Last post
- 5 Responses
- seed
Does anyone know how to jump to different anchors (or something similar) without refreshing the page?
- jevad0
?
anchor links
- seed0
You're right. They really don't refresh the page. I haven't done them in a while.
I am trying to call them in a JS function using window.location.hash but it isn't working at the moment.
- seed0
Nevermind, it's working now.
- navitronic0
how'd you do it?
- seed0
I have a function that is called to expand a section and I wanted to make that section go to the top.
To jump to the anchor I used:
window.location.hash="#sect_thre...
inside the function.Unfortunately, I just realized that so far it is not working in IE.