www.webdeveloper.com

Search:

Type: Posts; User: SparoHawk

Page 1 of 16 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    3,683

    There are tons of libraries for handling image...

    There are tons of libraries for handling image out there. Wouldn't hurt to check them out. You can try phpclasses.org.
  2. You cannot do it by "normal" means, as in MySQL...

    You cannot do it by "normal" means, as in MySQL configuration.

    You can "simulate" it using code.

    At most, you can create a 2 column configuration in a table, have a column with your alpha...
  3. Replies
    2
    Views
    881

    For some strange reason I do not yet know, I get...

    For some strange reason I do not yet know, I get the same problem you do. However, when I changed the <span> for <div> it worked just fine.
  4. Replies
    2
    Views
    1,799

    Your button is a "button". To make it submit when...

    Your button is a "button". To make it submit when its clicked you need to change the type to submit.


    <input type="submit"/>
  5. Replies
    3
    Views
    617

    Glad it was of help. If you need any other help...

    Glad it was of help. If you need any other help feel free to contact me or just make another forum post.
  6. Replies
    1
    Views
    2,519

    You have to use window.close for that. ...

    You have to use window.close for that.


    window.onbeforeunload = function(){
    alert('You are closing the window');
    }

    Unload fires every time the current page is unloaded, that includes...
  7. As far as I have read there are restrictions...

    As far as I have read there are restrictions placed on the interaction between JS and the browser's clipboard. As such, most methods you'll find online use a flash file so that it receives a JS...
  8. Replies
    2
    Views
    835

    refreezed has your solution. I am here just to...

    refreezed has your solution.

    I am here just to recommend that you use some existing validation library with all that functionality. jQuery Validate is a good and flexible one. If someone else can...
  9. Replies
    3
    Views
    617

    Here is a small script example, if you need it to...

    Here is a small script example, if you need it to be modified let me know. I did it so that the character count is automatic every time they release whatever key they press.

    JS:

    function...
  10. Replies
    2
    Views
    680

    jQuery makes it a lot easier. If you wanted to...

    jQuery makes it a lot easier. If you wanted to avoid "direct" loops you'd have to assign a class called, for example, "boxchecked" and do a getElementsByClassName().

    Go with refreezed example, it...
  11. You are most welcome. ^^

    You are most welcome. ^^
  12. You'd do: ...

    You'd do:


    contacts.push({"LNAME":"sdsada","FNAME":"John","MIDDLE":"bab","TITLE":"Ph.D.","JOB":"Senior Associate Dean","SECTION":"Dean&#039;s...
  13. You are welcome. =) There is a JS function...

    You are welcome. =)

    There is a JS function called .toFixed() as well. ^^
  14. Did you apply the class to the input fields? ...

    Did you apply the class to the input fields?

    Example:

    <td align="center">$<input id="fy_{$fy.fy}_most_likely_impact_cost" size="3" name="fy_{$fy.fy}_most_likely_impact_cost" maxlength="20"...
  15. Thread: please help

    by SparoHawk
    Replies
    8
    Views
    648

    Replace the hidden span with this:

    Replace the hidden span with this:


    <form id="autoattack" method="get" action="" style="display:none">
    <input type="hidden" name="attack" value="<?php echo $variable_for_attack_mode ?>"...
  16. Thread: please help

    by SparoHawk
    Replies
    8
    Views
    648

    After visiting your site and doing a play by play...

    After visiting your site and doing a play by play of the events happening in the code I found where things are getting stumped.


    if(autos > 0){
    if(autos == y){
    var mob =...
  17. Well, I had already set likelihood as 0 by...

    Well, I had already set likelihood as 0 by default. To fix the other issue @ hand use this:


    var likelihood = 0;
    for(var i in form.elements['likelihood']){
    ...
  18. Thread: please help

    by SparoHawk
    Replies
    8
    Views
    648

    Well, there are some parts missing from your code...

    Well, there are some parts missing from your code that I cannot see. I do not know if anything from there is interfering with the rest of the script you posted here.

    Check if there is something...
  19. Alright. First of all, make the radio buttons...

    Alright. First of all, make the radio buttons have the values you want to multiply by.


    <input id="likelihood" type="radio" name="likelihood" value="0.1" {$likelihood_one} />1 Very Low,...
  20. Replies
    11
    Views
    985

    I never said anything about what they can do....

    I never said anything about what they can do. Most users go by using programs without knowing a lot of useful features.

    If you use PHP or other programming language that can handle sessions, you...
  21. Replies
    11
    Views
    985

    I can do the same on Chrome. Internet Explorer...

    I can do the same on Chrome.

    Internet Explorer (at least version 8) only has a fast backward history.
  22. JMRKER's example is to replace values. To add...

    JMRKER's example is to replace values.

    To add new ones just do like the example provided, but with new indexes.


    json['newIndex'] = 'newValue';
    And because JS is cool, you can also do
    ...
  23. Replies
    11
    Views
    985

    The button is still there. Right click the back...

    The button is still there. Right click the back or foward buttons. ^^
  24. Thread: please help

    by SparoHawk
    Replies
    8
    Views
    648

    Works for me, here is the complete code so you...

    Works for me, here is the complete code so you can compare.

    Small changes:
    Since I do not have the z variable, I just made it take a mob name from the HTML. I commented the attackmob function,...
  25. Here is what I added: if(suffix ==...

    Here is what I added:


    if(suffix == 'high_impact_cost'){
    var likelihood = 0;
    for(var i in form.elements['likelihood']){
    ...
Results 1 to 25 of 386
Page 1 of 16 1 2 3 4
HTML5 Development Center



Recent Articles