www.webdeveloper.com

Search:

Type: Posts; User: Sup3rkirby

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    566

    If you're looking for an answer you'll have to...

    If you're looking for an answer you'll have to explain exactly what it is you want.

    Currently your post doesn't make a whole lot of sense. You say you want to simply reload a <div> on your page...
  2. Replies
    15
    Views
    2,668

    Just to make sure I understand your situation,...

    Just to make sure I understand your situation, you have a form (at the very bottom of the page) and upon validation (are you having the form actually submit to PHP for validation?) the page reloads...
  3. Replies
    9
    Views
    1,631

    I don't expect to be all that helpful but there...

    I don't expect to be all that helpful but there are a few things I wanted to point out.

    As it turns out, javascript essentially has only one numeric data type. (from MDN)

    So as far as wanting...
  4. The most important question here is, what exactly...

    The most important question here is, what exactly are you trying to do with this?

    Since PHP is a server-side language, once the page has finished loading all PHP code becomes inaccessible. Thus...
  5. It looks like you're trying to work with a...

    It looks like you're trying to work with a multi-dimensional array, in which case I believe what you want is:


    var valueMatrix = 0;
    var matrix = [[[]], [[]], [[]]];
    matrix[0][0][0] = 1;
    ...
  6. Replies
    11
    Views
    1,352

    I was thinking something much simpler: ...

    I was thinking something much simpler:


    document.addEventListener('DOMContentLoaded', function() {
    URLnum = something.generateNum_();
    });


    Logically that will call the generateNum_()...
  7. Replies
    4
    Views
    912

    First, I'll play you this old broken record that...

    First, I'll play you this old broken record that says you shouldn't be using the old 'mysql' commands in PHP as they are far less secure than more recent implementations (eg. mysqli or PDO) and all...
  8. Replies
    3
    Views
    740

    Setting the tag via javascript is fairly...

    Setting the <title> tag via javascript is fairly simple:


    document.title = "This is a new title string";


    In your case the only 'trick' would be dynamically getting the progress (which I...
  9. Replies
    4
    Views
    1,032

    The element has an 'ended' event that you...

    The <audio> element has an 'ended' event that you could use to trigger this. A simple event listener could trigger your redirect like so:


    ...
  10. Replies
    11
    Views
    1,352

    Perhaps I've missed something, but it almost...

    Perhaps I've missed something, but it almost seems like your problem is simply that you are never actually setting URLnum. When the document is ready you call grabURL(), which of course gets the tab...
  11. Replies
    10
    Views
    846

    Well first it's worth noting he converted your...

    Well first it's worth noting he converted your two arrays into an object. So you now have an object with two keys (Fruit and Nutty), each with their respective arrays (making things more organized...
  12. Since the data is going to be static it would...

    Since the data is going to be static it would probably be easiest to simply load the data into javascript objects and avoid actual databases. However, a couple of things to consider would be filesize...
  13. "Stellaaaaaaaaaaa!" Perhaps you have since...

    "Stellaaaaaaaaaaa!"

    Perhaps you have since fixed the issue, but I'm not noticing that problem on the page. Switching between the two tooling options seems to change the price accordingly.

    I...
  14. Replies
    11
    Views
    1,017

    jQuery Well now that I have a better understanding of...

    Well now that I have a better understanding of what you are trying to accomplish, I think actually seeing the rest of your code would allow myself and others to see where the real problem is...
  15. Replies
    11
    Views
    1,017

    jQuery As long as the AJAX call is asynchronous then it...

    As long as the AJAX call is asynchronous then it should have no effect on anything else loading or executing. By default jQuery's AJAX request are asynchronous so unless you set this to false...
  16. Replies
    10
    Views
    846

    I feel some clarification is needed here. By...

    I feel some clarification is needed here. By looking at your code it seems you are trying to dynamically reference an array. You have 2 arrays (named fruitSalad and nuttySalad) and you want to...
  17. The first question I'll ask is, will this data be...

    The first question I'll ask is, will this data be static? If it will be then you won't need an actual database or any files on the server and the data can be placed into objects.
    However, if the...
  18. Sorry, I guess I didn't explain myself clearly. ...

    Sorry, I guess I didn't explain myself clearly.

    So essentially what you'll do is create two <nav> elements on the same page (no need for multiple HTML files with the different content). By...
  19. Wanting to have 2 separate navigation elements...

    Wanting to have 2 separate navigation elements (one for mobile and one for widths greater than 800 pixels) is something that has been done by many websites in responsive design. Some people actually...
  20. The following code should give you what you want....

    The following code should give you what you want. It's a little bulkier than I'd like, however based on the format given and the format you want, it seemed like the best way to go about it. Plus I...
  21. Replies
    5
    Views
    828

    Just above the first post on a page (towards the...

    Just above the first post on a page (towards the top-right), there is a 'Thread Tools' menu with an option labeled 'Subscribe to this Thread...'
    Your subscribed threads are saved and a complete list...
  22. The part of that script that runs to restore any...

    The part of that script that runs to restore any saved values is referencing 'document.forms[1]' but currently there is only one form on the page now so that should be updated to 'document.forms[0]'...
  23. I think that I should ask you: what exactly do...

    I think that I should ask you: what exactly do you want this script to do?

    I only ask because if you don't need it to actually save a resized image then I can't see why it would need to resize at...
  24. On your 'combined' page...

    On your 'combined' page (http://www.webcrawldesigns.com/dct/order-form/) I'm still seeing <p> tags inside of the javascript. I assume this is why the script doesn't appear to be working on that page....
  25. You could use PHP to 'force' a download of the...

    You could use PHP to 'force' a download of the mp3, and then just use the mediaelement.js beside whatever download link you offer.

    There's actually a topic on this forum about getting PHP to force...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles