This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Jquery Dialog and ScrollTop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Jquery Dialog and ScrollTop" Watch "Jquery Dialog and ScrollTop" New topic

Jquery Dialog and ScrollTop

pawan chopra
Ranch Hand

Joined: Jan 23, 2008
Posts: 413

Hi All,

I am using JQuery. I have a link when I click on that it opens a div in Jquery dialog. I am showing some content in dialog and it also has indexing so when user click on some index it should jump to a particular div. I have tried by giving #div-id in href but it does not work fine and changes the parent as well. Can any one suggest me anything. I have tried scrollTop from Jquery as well but I waas facing issue with the position.

Pawan Chopra
subject: Jquery Dialog and ScrollTop