Jump to content

laurihasko

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by laurihasko

  1. If I take this line off, nothing works. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> This line is useless. <script src="jquery/development-bundle/jquery-1.8.0.js"></script> ..anyway this Timepicker doesn't interact with Datepicker.. I mean Timepicker doesn't work by itself.. but thank you all the help, and sorry my english

  2. Firebug tells me there is no errors: (I think..) <script> $(function() { $( "#datepicker" ).datepicker(); }); $(function() { $( "#basicExample2" ).timepicker(); }); </script> <link rel="stylesheet" type="text/css" href="tyylit.css" media="screen" /> <link rel="stylesheet" type="text/css" href="login_panel/css/slide.css" media="screen" /> <link rel="stylesheet" href="assets/css/styles.css" /> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <!-- PNG FIX for IE6 --> <!-- http://24ways.org/2007/supersleight-transparent-png-in-ie6 --> <!--[if lte IE 6]> <script type="text/javascript" src="login_panel/js/pngfix/supersleight-min.js"></script> <![endif]--> <script src="login_panel/js/slide.js" type="text/javascript"></script> <?php echo $script; ?> <link rel="stylesheet" href="jquery/development-bundle/demos/demos.css"> <link rel="stylesheet" href="jquery/development-bundle/themes/base/jquery.ui.all.css"> <script src="jquery/development-bundle/jquery-1.8.0.js"></script> <script src="jquery/development-bundle/ui/jquery.ui.core.js"></script> <script src="jquery/development-bundle/ui/jquery.ui.widget.js"></script> <script src="jquery/development-bundle/ui/jquery.ui.datepicker.js"></script> <script src="jquery/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js"></script> <script src="jquery/development-bundle/ui/jquery.ui.slider.js"></script> <script src="jquery/development-bundle/ui/jquery.ui.timepicker-addon.js"></script> Only thing what comes to my mind is, maybe I have just too many scripts and link rels...

  3. Hey, I have these kind of error codes in index.php -file: ini_set('display_errors', 'on');error_reporting(-1); ..aa sorry if you mean this part, $(function() { $( "#basicExample2" ).timepicker(); }); I just tried different styles.. no help. This is tutorial. So that Datetime worked 100% but I don't understand how to add this single Timepicker thing?? $('#basic_example_2').timepicker();http://trentrichardson.com/examples/timepicker/#slider_examples- thanks anyway!

  4. Hello, Some of you might know this "tutorial" allready: http://trentrichards...les/timepicker/ Q: Can someone tell me how to add files in right way? I installed jQuery development-bundle folder where are some demos and other files for different jQuery tutorials. Could someone explain a little bit how this thing works. I got Datepicker to work 100% but with this Timepicker add on it's somehow complicated. I put JavaScript file in this location:<script src="jquery/development-bundle/ui/jquery.ui.timepicker-addon.js"></script> Input:<input id="basicExample2" /> Header:<script>$(function() { $('#basic_example_2').timepicker();});</script> - Thank you all, if someone can say anything for help, Good! Even my best friend Google can't help.----------------------------------------------------------------------------------------------------------------------------- I put here little info about jQuery. I think these demos could be very usefull all of you: About jQuery UIjQuery UI is an open source library of interface components — interactions, full-featured widgets, and animation effects — based on the stellar jQuery javascript library . Each component is built according to jQuery's event-driven architecture (find something, manipulate it) and is themeable, making it easy for developers of any skill level to integrate and extend into their own code.

  5. Hey everyone this is my first post, sorry about the english. Q: Is it possible to connect these 2 queries in -> 1 query? TABLES (MySQL) event-E_Id reservation- Event_Id need- E_Id- G_Id- nNeed group- G_Id 1.) First I get all events and amount of reservations/ event 2.) Second I get need number for every event QUERY 1: SELECT event.*,COUNT(reservation.Event_Id)FROM eventLEFT JOIN reservation On Event_Id = E_IdWHERE eStatus = 'EVENTS'GROUP BY E_Id QUERY 2: SELECT SUM(need.nNeed)FROM needJOIN group ON need.G_Id = group.G_IdGROUP BY E_Id Thank you all, if this connection isn't possible, could you tell me that also.

×
×
  • Create New...