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 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? 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> Link to comment https://forums.phpfreaks.com/topic/139506-jquery-help/#findComment-729798 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.