www.webdeveloper.com

Search:

Type: Posts; User: nap0leon

Page 1 of 17 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    1,718

    Here's a sample page...

    Here's a sample page I built a couple years ago that demonstrates how to add rows with unique IDs on the row and elements in the row.

    If you are going to be removing rows, you will need to...
  2. Replies
    1
    Views
    538

    Create an HTMl apge iwth just this... the hash...

    Create an HTMl apge iwth just this... the hash changes, but I can continue to type just fine.


    <input type="text" onclick="location.href='#top';"></input>


    Your conflict must lie elsewhere.
  3. Replies
    2
    Views
    1,323

    Found it... $(this).is(':checked')

    Found it...

    $(this).is(':checked')
  4. Replies
    2
    Views
    1,323

    I think you are looking for $(this).attr('id')...

    I think you are looking for

    $(this).attr('id')

    To see if is is checked or not, I had to push all checkced items into an array and see if the one I am working with is in that list or not. There...
  5. Not sure that this helps your issue, but I'll...

    Not sure that this helps your issue, but I'll answer your question for you.

    1- How to attach javascript to the src of an image:


    <img src="http://www.somedomain.com/image.jpg" id="thisImage"...
  6. jQuery nope! that would fall under "cross site...

    nope!
    that would fall under "cross site scripting" and is not available to the parent window.

    For example...
    if you have an iframe with a src that is the same domain as the page, you can access...
  7. Replies
    2
    Views
    1,115

    Instead if "inserting at cursor" you just want to...

    Instead if "inserting at cursor" you just want to update the entire value (in the field where the cursor happens to be).

    If so, you can use this:


    function insertAtCursor(fieldID, insertValue)...
  8. Post the form via AJAX to both sites. 1- post to...

    Post the form via AJAX to both sites.
    1- post to site #1
    2- post to site #2
    3- upon completion of #1 and #2, redirect user to a "thank you" page (or update the contents of the current page, etc.)...
  9. Replies
    2
    Views
    1,126

    I used the trial version of Microsys' A1 Website...

    I used the trial version of Microsys' A1 Website Analyzer and found it helpful enough that I eventually bought it.

    Just enter your homepage's URL and let it scan. It will crawl your pages for...
  10. Replies
    3
    Views
    744

    add overflow:auto to #page

    add overflow:auto to #page
  11. Replies
    3
    Views
    744

    If "bounces off" means "big space between", the...

    If "bounces off" means "big space between", the issue is that id=top has 30 pixels in margin-bottom and id=footer has 30 pixels in margin-top which creates a 60 pixel buffer between them.


    I...
  12. Replies
    20
    Views
    1,931

    If you have a *small* website, sure, you can...

    If you have a *small* website, sure, you can re-skin it every year if you want. If you have even a medium (1000+ assets) or a large (10,000+ assets) website, there are areas of the site that you...
  13. jQuery Super easy with jQuery's "fadeToggle". ...

    Super easy with jQuery's "fadeToggle".

    http://www.jasondahlin.com/2011/coding-tips/jQuery_sliding-and-fading-effects.asp

    In the example above, the sideBard initially appears and the fadeToggle...
  14. For starters, remove the between the images....

    For starters, remove the <br> between the images.
    Then add a "float:left" to the images.

    Change this:


    <p><script src="/wp-includes/js/Live-script/Live-script-p1344.js"...
  15. Contact the company directly. You cannot blindly...

    Contact the company directly.
    You cannot blindly pre-populate form fields unless the website happens to support it. maybe it does, maybe it doesn't. You can try the obvious (URL parameter or Form...
  16. Replies
    5
    Views
    7,186

    Here's the page that I did that fixed the first...

    Here's the page that I did that fixed the first error. Not sure what it's supposed to be doing once I click a checkbox, but at least the first error went away.

    Not sure what you mean by "you...
  17. Replies
    5
    Views
    7,186

    Looks like you have the correct syntax in line 63...

    Looks like you have the correct syntax in line 63
    "document.forms['sections_scopes_form']"

    I created a testpage with your code to verify the error.
    I downloaded taffy.js to my local machine to...
  18. Replies
    6
    Views
    467

    Your function does not include "return i"...

    Your function does not include "return i" anywhere in it.
    I presume you mean for it to look like this:



    <script type="text/javascript">
    var loop= function() {
    for( var i = 1; i < 100; i++...
  19. Thread: Call up

    by nap0leon
    Replies
    32
    Views
    2,501

    The HTML (place this after the javascript posted...

    The HTML (place this after the javascript posted above):


    <style>
    fieldset {width:300px;}
    select {width:200px;}
    </style>
    <fieldset id="use_in_fieldset">
    <select name="selUseIn"...
  20. Thread: Call up

    by nap0leon
    Replies
    32
    Views
    2,501

    The javascript: function chgUseIn(sVal){...

    The javascript:


    function chgUseIn(sVal){
    //user changed "Use In", set the values for "Environment" and clear "Type"

    //create reference to Environment drop-down
    var sEnv =...
  21. Thread: Call up

    by nap0leon
    Replies
    32
    Views
    2,501

    In your first example: 1- I presume you want to...

    In your first example:
    1- I presume you want to add a call to "specChange" when the user selects an option in the first drop down. If so,
    a- change your <select> element to:


    <select...
  22. Replies
    1
    Views
    824

    You have items on the page with the same IDs...

    You have items on the page with the same IDs (show-panel, close-panel, lightbox-panel).
    Give them different IDs.

    e.g., "show-panel1" and "show-panel2"

    Then change your javascript to place the...
  23. If the other site supports populating field...

    If the other site supports populating field values from QueryString parameters or Form Posts, then yes you can do it. Otherwise, no you cannot do it.

    Talk with the admins of the site.
  24. Thread: Forms

    by nap0leon
    Replies
    2
    Views
    720

    Let's presume the user has to select 3 different...

    Let's presume the user has to select 3 different things (style, size, and color).

    Your webpage has 3 <select> on it.
    The first <select> has all of the different styles a user can choose from....
  25. Replies
    8
    Views
    16,614

    You have TRs nested inside TDs... without...

    You have TRs nested inside TDs... without changing the HTML, you are hosed.
    The following code *should* work, but the improper nesting of the elements makes it not work right. Save the following as...
Results 1 to 25 of 409
Page 1 of 17 1 2 3 4
HTML5 Development Center



Recent Articles