Jump to content

Muiter

Members
  • Content Count

    111
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Muiter

  • Rank
    Member
  1. Thanks, this did do the trick for me: <script> $(document).ready(function() { var $sigdiv = $("#signature") $sigdiv.jSignature() // inits the jSignature widget. // after some doodling... $sigdiv.jSignature("reset") // clears the canvas and rerenders the decor on it. }) </script> <script> function copy() { // signature var $sigdiv = $("#signature") var datapair = $sigdiv.jSignature("getData", "svgbase64") document.getElementById("signature_svg").value = datapair[1]; }
  2. I have this script running, the user can place it's signature: https://willowsystems.github.io/jSignature/#/about But I am not succeeding in getting the`svg` information that was generated copied to an text field so I can send it with this html form to my database. <div id="signature"></div> <textarea id="signature_svg" rows="5" cols="50"></textarea> . <script src="vendor/jsignature/jSignature.min.js"></script> <script> $(document).ready(function() { var $sigdiv = $("#signature")
  3. Can you please explain this? I am not that familiar with JS.
  4. Any suggestions please ow to change the code below because I would like yo use the standard browser validation.
  5. Not for the last week but for any week. Week 52 is just an example, it could be any week of the year.
  6. I am trying to get an query to see the total amount of invoices to paid per week when paying invoice at 60 days after receiving. The query I have is running without problem but the results can not be correct. What might be causing the unexpected result? In the query below I am trying to get the total amount of invoices to be paid in week 52/2015 with the invoice date of 60 days before week 52. When using 30 and 60 days I have the result as below, but the total should be around 364k. (Don't mind the forst row, it's an different query) SELECT SUM(amount) AS amount FROM invoice
  7. Example. I have a list of weeks 45 2013 46 2013 47 2013 48 2013 49 2013 50 2013 51 2013 52 2013 01 2014 02 2014 How can I check if week 45 is the last week of an month. How can I check if week 46 is the last week of an month. How can I check if week 47 is the last week of an month. How can I check if week 48 is the last week of an month. etc. I also need to know wich week is the last in a quarter.
  8. How can I check if any given week is the last week in an month?
  9. Wow dsonesuk, fantastic job.Can you explain an little bit?
  10. This is the old page: http://www.thure.nl/...snijden_oud.php I have changed the image to an WOWSlider slideshow: http://www.thure.nl/lasersnijden.php How can I get the text on the left side of my slideshow? body{background: url(../images/photo/achtergrond.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;line-height: 25px;text-align: left;font-family: Tahoma, Arial, Helvetica, sans-serif;font-size: 11px;color: #000000;}img { border: 0px;}#container{width: 960px;height: 720px;margin-top: 25px;ma
  11. I have written an new menu for my website. In Explorer and Chrome it looks nice but when I use an other browser like Avant the menu is not aligned right. How can I solve this? CSS: #topnav ul{margin-left: 140px;padding:0 5px;font-size:15px;color:#3366cc;overflow:hidden;list-style-type: none;}#topnav ul li a{float:left;padding:8px;text-align: left;font-family: Tahoma, Arial, Helvetica, sans-serif;font-size: 15px;text-decoration: none;color: #999;}#topnav ul li a:hover{color: #e30613;cursor: pointer;}#topnav ul .current a{color: #e30613;} Source: <div id="topnav"> <ul> <li
  12. This is the menu: <div id="topnav"> <ul> <li <?php if($current == 'index') { echo 'class="current"'; } ?>><a href="index.php">Introductie</a></li> <li <?php if($current == 'constructie') { echo 'class="current"'; } ?>><a href="constructie.php">Constructiewerk</a></li> <li <?php if($current == 'snijtechniek') { echo 'class="current"'; } ?>><a href="snijtechniek.php">Snijtechniek</a></li> <li <?php if($current == 'laadenlossystemen') { echo 'class="current"'; } ?>><a hre
  13. I have this CSS (part of): #topnav ul{margin-left: 140px;padding:0 5px;font-size:15px;color:#3366cc;overflow:hidden;list-style-type: none;}#topnav ul li a{float:left;padding:8px;text-align: left;font-family: Tahoma, Arial, Helvetica, sans-serif;font-size: 15px;text-decoration: none;color: #999;}#topnav ul li a:hover{color: black;cursor:pointer;}#topnav ul .current{font-weight:bold;color: black;} It all works exept one: #topnav ul .current won't show as black. Any ideas?
×
×
  • Create New...