...

View Full Version : Java X section, please help



hacolol123
11-28-2008, 06:54 PM
Hi, I am new member to this website and I would like to ask for some assistance if I may.

I have an html page (whatever.html) and I want to place a hyperlink on it and when some one clicks on it, it will redirect to my policy page (policy.html) and it will go to specific section. Its java script right?

hacolol123
11-28-2008, 07:34 PM
dose anyone know such script?

rangana
11-29-2008, 04:12 AM
No, If I take you right, it's not Javascript, but HTML.

In your policy.html, ensure to give a certain element an ID so that you can access on that specific location. For example:


<div id="special">
This section will be focused one the URL contains "#special" on it.
</div>


So, on your whatever.html, you could instruct to link to policy.html at the special section by:


<a href="policy.html#special">Policy</a>


Hope that makes sense.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum