dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: nap0leon

Page 1 of 18 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    182

    The dropdowns are simple HTML drop downs...

    The dropdowns are simple HTML <select> drop downs with a size and onchange specified.
    The size makes it display as a "select box" instead of as a single-line "drop-down".
    The onchange function is a...
  2. Replies
    1
    Views
    301

    jQuery It is $(document).ready() not document.ready...

    It is
    $(document).ready()
    not
    document.ready

    also... not sure why you escaped all of your double-quotes.
    the following sample page works for me

    <label><input type="checkbox"...
  3. Since you don't even know how to place JavaScript...

    Since you don't even know how to place JavaScript into your webpage, I suspect you need a free-lancer to make some modifications rather than cobbling together a couple responses here and there from...
  4. Replies
    6
    Views
    685

    jQuery Have you tried using window.innerHeight to gauge...

    Have you tried using window.innerHeight to gauge the height of the window as part of your calculation?
  5. Thread: Java - sum

    by nap0leon
    Replies
    6
    Views
    728

    If you don't want to use Gauss' formula (fully...

    If you don't want to use Gauss' formula (fully explained here - http://mathcentral.uregina.ca/QQ/database/QQ.02.06/jo1.html),
    just do a simple "for" loop (explained here:...
  6. Replies
    2
    Views
    450

    jQuery It adds a button to a video player on the page. ...

    It adds a button to a video player on the page.

    But, your question is "how to do this".
    0- let's refer to each of the two eval lines as "line 1" and "line 2".
    1- use the code from line 1, remove...
  7. Replies
    1
    Views
    549

    "document expired" usually happens when you post...

    "document expired" usually happens when you post a form or use JS to document.write() the current page, etc.

    Here are a few discussions on why this happens:...
  8. Replies
    6
    Views
    728

    Yeah, I was sloppy... 2 minutes of code, did some...

    Yeah, I was sloppy... 2 minutes of code, did some quick verification for syntax errors but that was it.
    Especially not knowing if this is the sort of thing the OP was asking for.
    IDs need to better...
  9. Used this one in the early 2002 and again just a...

    Used this one in the early 2002 and again just a couple years ago.
    http://sbl.net/

    You may be able to get by with the free version, but it is inexpensive and will give you more options and...
  10. Replies
    6
    Views
    728

    Modify as needed, but here's the basics ...

    Modify as needed, but here's the basics


    <input id="val1" type="text" value=""/>
    <select id="operand1">
    <option value="+">+</option>
    <option value="-">-</option>
    <option...
  11. Thread: Javascript

    by nap0leon
    Replies
    2
    Views
    398

    To get the URL of the iFrame, you can do it like...

    To get the URL of the iFrame, you can do it like this:


    <iframe id="theFrame" src="http://www.jasondahlin.com" height="100" width="600"></iframe>
    <script>console.log...
  12. Thread: if ... else

    by nap0leon
    Replies
    9
    Views
    864

    By the way... You should name your field...

    By the way... You should name your field "gender", not "sex".
  13. See if this helps: JavaScript to limit form...

    See if this helps: JavaScript to limit form field input text to specific characters
  14. Can you post a relevant code sample so we can see...

    Can you post a relevant code sample so we can see how all of your items are laid out and ID'd/Class'd ?
  15. Here is the sample page with a console.log...

    Here is the sample page with a console.log message inclluded to let you know when the fadeIn() method runs:

    <script type="text/javascript"...
  16. Odd- using the code you provided, the change...

    Odd- using the code you provided, the change works fine for me locally.
  17. $('#about').not(':visible') returns an object...

    $('#about').not(':visible')
    returns an object (an empty object, but an object none-the-less) and therefore passes the boolean test.

    Try using

    $('#about').not(':visible').length > 0
  18. With JS you are directly manipulating the...

    With JS you are directly manipulating the element's attribute.
    In your second example, that attribute does not exist, therefore, nothing happens.
  19. Replies
    4
    Views
    593

    Other Just put the relative URL in it's place: ...

    Just put the relative URL in it's place:


    <script type="text/javascript">
    function changelink(){
    if(document.getElementById("opt1").selected==true){window.open('QC Docs/Building...
  20. Replies
    23
    Views
    2,158

    1) IMO, you should give the form a name, even if...

    1) IMO, you should give the form a name, even if you aren't using the name in any of your code. I suggest giving it a name that represents what the form is used for - like "UserName" or some-such.
    ...
  21. Replies
    23
    Views
    2,158

    FWIW, this addresses most of the concerns you...

    FWIW, this addresses most of the concerns you expressed.
    I left the .focus() events in, but they do not work in FireFox.



    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;...
  22. Replies
    23
    Views
    2,158

    Had you used the console as I suggested you would...

    Had you used the console as I suggested you would see that "document.form22.firstname" is "undefined".

    I suggest you revert back to using the value for "this" that you are passing into your...
  23. Replies
    2
    Views
    543

    jQuery Works for me in the latest FireFox and Chrome...

    Works for me in the latest FireFox and Chrome browsers.
  24. Replies
    23
    Views
    2,158

    Lots of issues Webtor. 1- you are throwing the...

    Lots of issues Webtor.
    1- you are throwing the alert message wether the error condition exists or not
    2- by evaluating "x.length" you are checking for the length of the object x, not the length of...
  25. Replies
    23
    Views
    2,158

    Length will never be less than 3 AND greater than...

    Length will never be less than 3 AND greater than 35.
    Change the && to ||
Results 1 to 25 of 450
Page 1 of 18 1 2 3 4
HTML5 Development Center



Recent Articles