anu123 Posted January 5, 2009 Share Posted January 5, 2009 Hi I am working with jquery-1.2.6.min.js. Every thing works fine, like the popup is generated using Jquery and some data are fetched from database are filled into it. What i need is, i need a scrollbar inside the jquery pop up , in case the data fetched from database, exceeds the size of the popup which i set. Anybody have any idea regarding this Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/139506-jquery-help/ Share on other sites More sharing options...
RichardRotterdam Posted January 5, 2009 Share Posted January 5, 2009 depends on the kind of popup it is. If it is in an iframe it will place the scrollbar automatically. What happens when the content in the popup gets bigger? Have you got a link for the popup/modal script your using? Quote Link to comment https://forums.phpfreaks.com/topic/139506-jquery-help/#findComment-729795 Share on other sites More sharing options...
anu123 Posted January 5, 2009 Author Share Posted January 5, 2009 <script> jQuery(document).ready(function() { $("#frndview").click(function(){ $("#frnd_dialog").show(); $("#frnd_dialog").dialog({ modal: true, resize:function(){ $("#frnd_dialog").height($(this).height()-78); $("#frnd_dialog").width($(this).width()-12); }, overlay: { opacity: 0.5, background: "black" }, resizable:false, draggable:false, close: function() {}, title : "View All Friends", autoOpen: true, height: 350, width: 600 }); }); }); <div id="frnd_dialog"> My databse data here </div> Quote Link to comment https://forums.phpfreaks.com/topic/139506-jquery-help/#findComment-729798 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.