Announcement

Collapse
No announcement yet.

jqOverlay draggable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • jqOverlay draggable

    could you make it draggable , it is one line of extra , i made my own now which is sizeble, placeble and draggable.

  • #2
    Could you list the code you used to modify the jqOverlay object?
    Wade

    sigpic

    website | products | support | youtube
    I know nothing...., nothing!!!

    Comment


    • #3
      PHP Code:
          ''' <summary>
          ''' 'returns overlay div, make a containerdiv to put it in , start with empty container div , add overlay with postback
          ''' 
      </summary>
          
      ''' <param name="id"></param>
          ''' 
      <param name="width"></param>
          
      ''' <returns></returns>
          ''' 
      <remarks></remarks>
          Public 
      Shared Function JillesOverlay(ByVal id As StringByVal width As Integer) As String

              Dim stb 
      As New StringBuilder

              stb
      .Append("<div id=" id " style='z-index:10; position:absolute;  top:100px; left:100px; width: " width.ToString "px;  background-color:#cccccc; ' >")


              
      stb.Append("<script> $(function() {$( '#" & id & "' ).draggable();}); </script>")

              
      stb.Append("</div>")

              Return 
      stb.ToString

          End 
      Function 
      and this in postbackproc

      PHP Code:
        Me.divToUpdate.Add("webconfigdevcontaineroverlay"PStringFunctions.JillesOverlay("configdeviceoverlay"1000)) 'add overlay 

      Comment

      Working...
      X