Posts by Dieguinho Rodrigues • 301 points
4 posts
-
0
votes2
answers246
viewsQ: Javascript reaching number 100
I’m having trouble with a sum in Javascript, example 188/100 = 1.88*100 = 188, but I don’t want it to reach 188, I want the number to always reach 100. 188/100*100 = 100 Guys I got it’s simple! i =…
javascriptasked Dieguinho Rodrigues 301 -
14
votes5
answers141242
viewsQ: How to get the current date and time without using the computer clock?
I’m having trouble in the date, he takes my clock from my computer and I wanted him to actually pick the right time. The result of the following code is that the date will take from your host…
-
3
votes2
answers210
viewsQ: I’m having trouble using the clearInterval function
a_103 = setInterval( function (){ alert('oi');},3000); id = 103; id = "a_" + id; clearInterval(id) I’m having trouble in the clearinterval. Can not do the way I did, but if I clearInterval(a_103);…
javascriptasked Dieguinho Rodrigues 301 -
3
votes2
answers428
viewsQ: Float:left, div falling by the width of the div
I have a problem with float:left;: for a width greater than the page a div fell, but I wanted it to continue div previous. HTML: <div id="menu" class="menu"> MENU </div> <div…