- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I want to make a simple online multiple player cards game using PHP/Ajax. I guess I need socket programming (I want it to be real time). I've worked with sockets before in Java, but not for an online program, just a network game. I searched but I didn't really find … |
|
Hello, I'm going to make a portfolio and am trying to use jquery for effects. Basically I have several menus and when I click on any of them the showed text in content div of page should change, using ajax. These are levels: a) SlideUp the #Content div b) Change … |
|
Hello guys! I have a form and when the user sumbit it a javascript function will be called using onsubmit event. I need to call the function because I need some AJAX code to be executed. And after it's finished, the page needs to be redirected to another page. But … |
|
at this part: [CODE]if (xmlhttp.readyState==4 && xmlhttp.status==200){...[/CODE] My program's "xmlhttp.readyState" is 4 but its xmlhttp.status is always 0, why? is it even necessary to add "xmlhttp.status==200" condition? because I've seen programs without it :/ thanks |
|
[CODE] <body> <div style="height:100; width:100%; background-color:black"> hello. </div> </body> [/CODE] I want to put it in the middle of the page, how can I do it? ty ^.^ |
|
[CODE] <html> <body> <div style="width:500; height:200; border:1px solid black;"> adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br> adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br> adsf<br>adsf<br>adsf<br>adsf<br> </div> </body> </html> [/CODE] ello I'd like to have a div with minimum height of 200px. but if we add more data in to the div the height should be increased not totally fixed you know? what can … |
|
[CODE] <html> <body> <div style="width:500; height:200; border:1px solid black;"> adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br> adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br>adsf<br> adsf<br>adsf<br>adsf<br>adsf<br> </div> </body> </html> [/CODE] ello I'd like to have a div with minimum height of 200px. but if we add more data in to the div the height should be increased not totally fixed you know? what can … |
|
[CODE] <div style="background-color:black; width:100%; height:30"> </div> [/CODE] I would like to make a div with a real 100% width, but when I try the code above, I don't get what I want :[ It's not really 100% there are still some spaces between the div and body. what should I … |