Jump to content

go to specific spot in page


phpnoob
 Share

Recommended Posts

I'm not good in js, so plz help meI want to make a jump to the first unread post in forum and i figure it out, it need a js for moving the browser view to a hide div.Help me, at least if you not want to make full script, then post how to find a script in net, i try to search it but no luck :(

Link to comment
Share on other sites

Use anchor name as post id like <a name="pid12334"> when you print the posts. and use that id as anchor in link which will take user to it http://somesite.com/post.php?forum=13&action=getpost#pid12334

Link to comment
Share on other sites

Use anchor name as post id like <a name="pid12334"> when you print the posts. and use that id as anchor in link which will take user to it http://somesite.com/...etpost#pid12334
i was check this forum, and not the A was the search, it have a hide div with id= #entry something.and what is this anchor? i was see this somewhere when i search js
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...