Possible to click ancor link then on the following page activate slideDown of section the anchor link refers to and then have the page center on the anchor tag?

Possible to click ancor link then on the following page activate slideDown of section the anchor link refers to and then have the page center on the anchor tag?

Ok so the question might be a little confusing but here it is broken down:

I have a link with a hash tag at the end:

<a href="randomPage.stm#stuff">Click me!</a>

Now on the page the link leads to I have multiple div's that are hidden waiting to be clicked so they can use the jQuery slideDown() and slideUp() functions. Is there a way to have the div with the relevant anchor tag open up and have the page center on the anchor tag like it regularly would?

Kind of confusing I know, any help would be appreciated.

View Answers









Related Tutorials/Questions & Answers:
Anchor Tags
coding for anchor tags
Advertisements
coding for anchor tags
coding for anchor tags
coding for anchor tags
To put a "close window" link on a page?
how to call servlet from html page at anchor tag ?
link
JavaScript method anchor()
HTML5 Anchor Tag Example, Definition of &lt;a&gt;anchor tag in HTML5.
LINK
LINK
how to give link from jsp to jsp page
how to give link from jsp to jsp page
ModuleNotFoundError: No module named 'anchor'
ModuleNotFoundError: No module named 'anchor'
Anchor tag attributes in HTML5, Define the type attribute of anchor tag.
link
link
JavaScript link
Show Confirmation Dialog on Click the Command Link
link
Example of anchor(Ajax) in struts2.2.1
Vertically center page
anchor tag in HTML
ModuleNotFoundError: No module named 'anchor-exp'
ModuleNotFoundError: No module named 'anchor-topic'
ModuleNotFoundError: No module named 'anchor-topic'
ModuleNotFoundError: No module named 'anchor-txt'
ModuleNotFoundError: No module named 'Ds-anchor'
ModuleNotFoundError: No module named 'pythonista-anchor'
ModuleNotFoundError: No module named 'von-anchor'
ModuleNotFoundError: No module named 'anchor-bio'
ModuleNotFoundError: No module named 'anchor-custom'
ModuleNotFoundError: No module named 'anchor-topic'
ModuleNotFoundError: No module named 'anchor-txt'
ModuleNotFoundError: No module named 'Ds-anchor'
ModuleNotFoundError: No module named 'anchor-txt'
ModuleNotFoundError: No module named 'anchor-exp'
Open a .doc file by click on the link using struts - Struts
Display alert box on clicking link
Anchor tag attributes in HTML5, Define the href attribute of anchor tag.
Hypertext link
how to design a jsp page via link which will expire after 3 days if not use?
how to design a jsp page via link which will expire after 3 days if not use?
ModuleNotFoundError: No module named 'odoo10-addon-website-snippet-anchor'
ModuleNotFoundError: No module named 'odoo10-addon-website-snippet-anchor'
ModuleNotFoundError: No module named 'odoo11-addon-website-snippet-anchor'
ModuleNotFoundError: No module named 'odoo11-addon-website-snippet-anchor'
ModuleNotFoundError: No module named 'odoo11-addon-website-snippet-anchor'

Ads