Jump to content

Jquery help


anu123

Recommended Posts

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

<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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.