Jump to content

Muiter

Members
  • Content Count

    111
  • Joined

  • Last visited

Everything posted by Muiter

  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?
  14. Good tip MrFish, did not think of that.I have made an quick sample code to see if it will suit my needs. Any ideas how to get rit of the blank lines? <table width="100%"><tr> <ul> <li class="folder">Milk</li> <ul> <li class="product">Milk</li> <li class="product">Toilet Paper</li> <li class="product">Cereal</li> <li class="product">Bread</li> </ul> <li class="folder">Toilet Paper</li> <li class="folder">Cereal</li> <ul> <li class="subfo
  15. I have no idea how to style this. My goal is to get an simple structure with folders (can contain an subfolder) and products.How can I make an nice view with lines from the products to the folder or subfolder that holds them?Generated html: <tr> <td width="50" class="dblclick" id="2_folder|naam|1|256">folder 1</td><td></td> <td>__3x Plaat 200 201.5 12|2200</td> <tr/> <td></td><td></td> <td>__5x Ring 400.0 100 15|1900</td> <tr/> <td></td><tr/>
  16. I'm trying to change CSS as you suggested but it only changes but it only changes the border and won't add the image.
  17. No luck.This is the situation.I'm using this popup script.The content of the popup is loaded with:<div id="popup_add_bestelling" class="popup_block"><iframe id="ifr" frameborder="0" scrolling="no" width="1000" height="470"></iframe></div> The CSS of popup_block is (when I add the code you suggested in here it puts the image in my borders) .popup_block{ display: none; /*--hidden by default--*/ background: #f4f4f4; padding: 10px; border: 2px solid #0065a5; float: left; font-family: Arial; font-size: 12px; position: fixed; top: 50%; left: 50%; z-index: 99999; /*--CSS3 Bo
  18. Fantastic!(now the image is shown at the bottom of every popup, so when the user has not scrolled down the image is not visseble. Is there any wat to make it float at the bottom right so it stays there when the user scrolls?)
  19. I have an image that is shown in different div's:When the div has an scrollbar, the div is fixed at one point:Any suggestions to make the image scroll down when the user scrolls?CSS: .footer_popup {float: right; width: 25px; position: absolute; right: 0; bottom: 0;}
  20. Thanks an lot Deirdre's Dad
  21. Thank you for explaining. To what part should I add an z-index?
×
×
  • Create New...