Jump to content

Katarys

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Katarys

  • Rank
    Newbie
  1. I solved it with this...playing with the margin... <!DOCTYPE html> <html> <head> <script src="jquery.min.js"></script> <script> var valor = 0; var defaultmargin = 231; var newmargin = 0; $(document).ready(function() { $("#btn1").click(function() { $("#box").css("display", "inline"); valor = parseFloat(document.getElementById("ejehorizontal").value) * 21.45; if (valor <= 214.5) { newmargin = defaultmargin - val
  2. Hi all, I'm new in web languages and I need to know how to draw a bar which grow up to the left, now, my bar is growing up to the right and is no problem, but, now I need to invert the bar, and I don't know how...any ideas? I paste my code here: <!DOCTYPE html> <html> <head> <script src="jquery.min.js"></script> <script> var valor = 0; $(document).ready(function() { $("#btn1").click(function() { valor = parseFloat(document.getElementById("ejehorizontal").value) * 45.3;
×
×
  • Create New...