On this map:
I have an anchor at the top, and I want the page to jump to the anchor when a link is clicked.
I'm currently using
window.location = '#top';
What's the difference between clicking on:
<a href />
window.location.href = ...
<a href="http://www.cnn.com" target="_blanknewWindow" name="NewWindowName">
<a href="facebook.com/sharer" target="_blank" >Share this</a>
On loading a page I would like it to go to #content without changing the url.
I thought I would be able to use
window.location.hash = "content";
I need to anchor a div to the top of the browser
No matter where the user is when the div is shown, i need to make sure it is on the ...
I've been beating my head against the wall for a bit as I know the answer is simple but it eludes me. I have some programming experience but mainly with ...
i try many things but they all are opening the webpage in other window.Can any one give ans "How to open a webpage(webForm1.aspx) in same window "