www.webdeveloper.com

Search:

Type: Posts; User: gil davis

Page 1 of 20 1 2 3 4

Search: Search took 0.07 seconds.

  1. You are confusing the attributes "visibility" and...

    You are confusing the attributes "visibility" and "display". They are not actually related.

    The "display" attribute is used to change the object's layout (none, block, inline) whereas the...
  2. Replies
    7
    Views
    3,353

    You are missing an opening tag in the...

    You are missing an opening <script> tag in the code you posted.
  3. You need to use window.open(url, target,...

    You need to use
    window.open(url, target, features) and specify the name of the iframe as the target.
  4. Replies
    3
    Views
    1,247

    Try this: arr = str1.split('\/');

    Try this:
    arr = str1.split('\/');
  5. Replies
    1
    Views
    884

    Usually those things use the "display" property....

    Usually those things use the "display" property. If it does, then try "inline" instead of "block". If you are using a DIV (causes a line break), switch to a SPAN instead.
  6. Replies
    2
    Views
    696

    var myWin = window.open(...); ... myWin.close();

    var myWin = window.open(...);
    ...
    myWin.close();
  7. Replies
    3
    Views
    686

    I believe you really want to use "offsetLeft" not...

    I believe you really want to use "offsetLeft" not "style.left" to find out where the object is located, and that is already an integer.
  8. Replies
    15
    Views
    5,226

    It won't if you "return false" from the onclick.

    It won't if you "return false" from the onclick.
  9. Replies
    15
    Views
    5,226

    You are confusing "visibility" with "display"....

    You are confusing "visibility" with "display". The "visibility" property is either "visible" or "hidden". The "display" property can be "inline", "block" or "none".
  10. Replies
    1
    Views
    734

    alert(String.fromCharCode(65));

    alert(String.fromCharCode(65));
  11. Replies
    2
    Views
    466

    Your fatal flaw at this point is that both DIVs...

    Your fatal flaw at this point is that both DIVs have the same ID. An ID has to be unique.

    The next problem you will trip on is that when you declare a style using CSS, a script might not see the...
  12. Replies
    3
    Views
    826

    I don't see where the vars "rows" and "cols" get...

    I don't see where the vars "rows" and "cols" get initialized, so they are probably null.
    This appears to be a typo. There should only be two "=", not three.
  13. The fact that it is *in* the file applies the...

    The fact that it is *in* the file applies the style to all <IMG> tags.

    Did you find and read a tutorial?
  14. Have you tried reading a free CSS tutorial? ...

    Have you tried reading a free CSS tutorial?

    <style type="text/css">
    img {
    border: 2px solid blue;
    }
    </style>
  15. Replies
    3
    Views
    826

    It would make a whole lot more sense for you to...

    It would make a whole lot more sense for you to post your code and let someone here try to fix it. You have already apparently found code that someone "knew for sure actually does preload the image"...
  16. Replies
    2
    Views
    1,074

    No , it is not a bug. Changing a drop-down using...

    No , it is not a bug. Changing a drop-down using Javascript does not trigger an onchange event. Only the user can trigger that.

    However, you can call the onchange event after you change the value...
  17. Replies
    2
    Views
    869

    Put the event on the drop-down instead. I...

    Put the event on the drop-down instead.

    I don't see why it should work your way in any browser.
  18. Replies
    6
    Views
    955

    How would you want to use it? BTW, using a...

    How would you want to use it?

    BTW, using a reserved word as a variable name is courting trouble.
  19. Replies
    11
    Views
    6,323

    Ok, here goes! First page:

    Ok, here goes!
    First page:

    <form name="f1" method="get" action="formtest1.htm">
    <input name="t1" type="text">
    <input type="submit" value="Submit">
    </form>
    Second page:

    <html>
  20. Replies
    4
    Views
    1,206

    AJAX Maybe it isn't the "0"th field that has the...

    Maybe it isn't the "0"th field that has the problem.

    Also,

    I don't see where you define "uploadbutton" in your code.
  21. Replies
    11
    Views
    6,323

    Ok, obviously I did not understand what you were...

    Ok, obviously I did not understand what you were trying to do.

    I think I could do it with ASP, but maybe my explanation will help you translate it to PHP.

    The first page with the form submits...
  22. Replies
    4
    Views
    1,206

    AJAX If you are using then...

    If you are using <input type="file"> then javascript cannot access those elements. It is a security feature. That is why it returns null. Sorry.
  23. Replies
    11
    Views
    6,323

    I don't think your problem has to do with...

    I don't think your problem has to do with javascript, and I do not know anything about PHP.

    I think you are having trouble understanding/separating what goes on between server and client.

    Here...
  24. Replies
    11
    Views
    6,323

    Don't specify a source in the IFRAME.

    Don't specify a source in the IFRAME.
  25. Replies
    11
    Views
    6,323

    The IFRAME is still a window and has a name and...

    The IFRAME is still a window and has a name and can be targeted regardless of what file it is in. If it is open, then it will be targeted. If it is not open, a new window will be opened with that...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles