Proszę o jakieś rady/linki itd, wiem, że nie ten dział, ale najlepszy by był jakiś gotowiec, bo to chyba nie na moje umiejętności jeszcze

Dzięki z góry!
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <link type="text/css" href="css/jquery.e-dom.css" rel="stylesheet" /> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <style type="text/css"> #slider { margin: 10px; } </style> <script> var ServerName='http://192.168.1.3/'; $(document).ready(function() { //needed for Example 1: $("#slider1").slider({ min: 0, max: 60, stop: function(){ $('#value1').html($(this).slider( "option", "value" )); } }); $('#sendbutton1').MakeWriteButton({ write: 'MB11', dynamicvalue: 'value1' }); //needed for Example 2: $("#slider2").slider({ min: 0, max: 60, }); $('#sendbutton2').MakeWriteButton({ write: 'MB11', dynamicvalue: 'slider2' }); //needed for Example 3: $("#slider3").slider({ min: 0, max: 60, stop: function(){ $(this).WriteValue({ address: 'MB11', value: $(this).slider( "option", "value" ) }) } }); //needed for Example 4: $("#slider4").slider({ min: 0, max: 60, stop: function(){ $(this).ShowButtonCover(); $(this).WriteValue({ address: 'MB11', value: $(this).slider( "option", "value" ) }) } }); $("#slider4").AddButtonCover({imagefile: 'css/loading2.gif'}); $("#slider4").bind('OnWriteSuccess', function(){$(this).HideButtonCover()}); //needed for Example 5: $("#slider5").slider({ min: 0, max: 60, stop: function(){ $(this).ShowButtonCover(); $(this).WriteValue({ address: 'MB11', value: $(this).slider( "option", "value" ) }) } }); $("#slider5").AddButtonCover({imagefile: 'css/loading2.gif'}); $("#slider5").bind('OnWriteSuccess', function(){$(this).HideButtonCover()}); $("#slider5").MakeReadField({ read: 'MB11', refreshtype: 'slider' }); //needed for Example 6: $("#slider6").slider({ //defining the slider options min: 0, max: 1, orientation: 'vertical', stop: function(){ //defining what happens when slider stops $(this).ShowButtonCover(); //disables slider and shows the loading image $(this).WriteValue({ //sends the slider's value to MB12 address: 'MB11', //address to which the value is sent value: $(this).slider( "option", "value" ) }) } }); $("#slider6").AddButtonCover({imagefile: 'css/loading3.gif'}); //adds the button cover, otherwise the .ShowButtonCover() will not work $("#slider6").bind('OnWriteSuccess', function(){//defines what happens after the data is successfully sent to PLC, here: $(this).HideButtonCover(); //hides the Button Cover $('#ButtonExample1').RefreshIt(); //refreshes the ReadField 'ButtonExample1' }); $("#slider6").MakeReadField({ //marks the slider as an element which needs to be refreshed on each cycle of the .StartRefreshing() funciton read: 'MB11', //tells the address to read, should be replaced by the output QX_._ controlled by MB12 refreshtype: 'slider' //tells how to handle the received data }); $('#ButtonExample1').MakeReadField({ //marks the whole field as an element to be refreshed read: 'QX0.5', //should be replaced by the output QX_._ controlled by MB12 refreshtype: 'status', //tells to refersh the status of the 'ButtonExample1' = change the frame colors and image (if defined by 'image') image: 'Light1_Image' //defines the id of the image to be switched on refresh }); $.StartRefreshing(); }); </script> </head> <body> </body> </html>