www.webdeveloper.com

Search:

Type: Posts; User: darkylord

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    17,348

    Yes I tested the code and worked fine with...

    Yes I tested the code and worked fine with $_GET['name'] .
  2. Replies
    5
    Views
    17,348

    My bad, the $_POST['name'] should be...

    My bad, the $_POST['name'] should be $_GET['name'] .
  3. Well done, I'm glad I could help. Now you may...

    Well done, I'm glad I could help.
    Now you may want to check out javascripts a bit more a make some code shorter using loops and ids named as topping1, topping2, topping3.... so you can call them in...
  4. No it doesn't. If you select cheese only it...

    No it doesn't. If you select cheese only it disables the rest toppings so they can't be selected. One thing that needs to be fixed now is to restore the disabled toppings when you click reset. That's...
  5. Replies
    2
    Views
    673

    Try it like this :

    Try it like this :


    <form onsubmit="if(this.url.value=='noselected'){alert('Please select...');}else{open(this.url.value,'','');}return false;">
    <select name="url">
    <option value...
  6. Here, with a small change in the cheeseonly...

    Here, with a small change in the cheeseonly function you can have an alert before it disables the rest of them, if any of them was checked :


    function cheeseonly(onoff){
    if(onoff==true...
  7. Sure, for that we will need an other function...

    Sure, for that we will need an other function that will be called when you click the checkbox with cheese. It will also tell the function weather or not it's checked (so it will disable them when you...
  8. Yea I just tested it a bit myself and it seems...

    Yea I just tested it a bit myself and it seems that clear() isn't working with that name. But if you change the function's name to something like cleanit() it will work, change it into that in both...
  9. Add an event listener to the button which will...

    Add an event listener to the button which will call a function clear() like the code below :


    <input type="reset" align = "left" onclick="clear();" value="Clear Form"/>


    Then in the...
  10. I see, it didn't keep the ascii codes for next...

    I see, it didn't keep the ascii codes for next line and ruined the javascript. Well since I can't post it directly in the forum because it automatically makes it a new line, you will have to fix the...
  11. With this line : ...

    With this line :
    document.getElementById("opta").innerHTML = type+newline+"Toppings:"+newline+toppings+newline+"Price - $"+sum;

    The textarea has the id "opta" so you get the element like...
  12. The whole job can be done with javascript like...

    The whole job can be done with javascript like this :


    <html lang="en">

    <head><title>Pizza Order Form</title>
    <style type="text/css">

    .outp...
  13. Replies
    5
    Views
    17,348

    Here is an example, I hope it helps, other than...

    Here is an example, I hope it helps, other than that you can read some tutorials on ajax and understand it better.


    beta.html


    <!DOCTYPE html>
    <html>
    <head>
    <script>
  14. Replies
    5
    Views
    453

    The forum is empty and we can't see the game so...

    The forum is empty and we can't see the game so I'll give you my comments on the home site alone.
    It looks interesting and if your game is focused on that theme and colors it is generally a nice...
  15. Replies
    3
    Views
    326

    I'm not familiar with node.js . You may consider...

    I'm not familiar with node.js . You may consider using it since you will need a host running 24/7 anyway to keep your site online all the time so having the server required for it running non stop...
  16. Replies
    5
    Views
    448

    I don't know the code google search uses but I...

    I don't know the code google search uses but I can help you recreate the effects you want. I'm just not sure which part do you need exactly. It's reasonable that you mean the auto-complete part but...
  17. Replies
    2
    Views
    266

    You keep those tenders on a database I image. If...

    You keep those tenders on a database I image. If that is the case you can do the change with php.
    Javascript could change the appearance of elements within your site but getting them from one page...
  18. Replies
    1
    Views
    1,496

    WebGL practical applications

    I had stumble across webgl a few days ago and it reminded me a lot of opelgl (they obviously seem to have a connection by their names after all). I saw several examples of it and they were pretty...
  19. An easy way would be to use javascript functions...

    An easy way would be to use javascript functions which will be called on clicking the radio buttons and change the content and links of the menu.
  20. With your input above the result is exactly 19,...

    With your input above the result is exactly 19, there are no decimal digits to round. If you want the 19 to round to 20 you will have to use it like

    echo round($total_duration, -1);
  21. Replies
    5
    Views
    448

    Here are the files fixed. Index.html : ...

    Here are the files fixed.

    Index.html :


    <html>
    <head>
    <script src="ajax_framework.js"></script>
    </head>
  22. Replies
    3
    Views
    326

    If I understand your site correctly, you want...

    If I understand your site correctly, you want some people to be able to post questions in a global chat and then separate into "rooms" 3 male and 3 female users which will be able to answer those...
  23. Replies
    4
    Views
    341

    Pop ups can indeed be really annoying. Keep in...

    Pop ups can indeed be really annoying. Keep in mind that most visitors wont like them so be very careful when you use them (unless if you don't care about traffic).
    The best way to go is to take the...
  24. Replies
    5
    Views
    677

    Personally, I prefer to make my own sites almost...

    Personally, I prefer to make my own sites almost from scratch too but I usually "steal" parts of code I used in other sites so I wont have to "reinventing the wheel" as you mentioned, each time I...
Results 1 to 24 of 24
HTML5 Development Center



Recent Articles