By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,286 Members | 1,642 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,286 IT Pros & Developers. It's quick & easy.

zooming into <a name=""

P: n/a
Is it possible to zoom into a <a name=""></a> section using javascript?
I mean the same affect as reloading the page with the # method.

Thanks!
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a


Jason Davis wrote:
Is it possible to zoom into a <a name=""></a> section using javascript?
I mean the same affect as reloading the page with the # method.


The name should not be empty. You would need
<a name="anchorName">...</a>
then you can scroll to the anchor with
location.hash = 'anchorName'

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

P: n/a
Martin Honnen wrote on 08 jul 2003 in comp.lang.javascript:


Jason Davis wrote:
Is it possible to zoom into a <a name=""></a> section using javascript?
I mean the same affect as reloading the page with the # method.


The name should not be empty. You would need
<a name="anchorName">...</a>
then you can scroll to the anchor with
location.hash = 'anchorName'


Isn't that reloading too ?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.