dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: michaelw90

Search: Search took 0.01 seconds.

  1. So sorry, was looking at the localhost site :S it...

    So sorry, was looking at the localhost site :S it definitely works now! thank you very much :))
  2. Unfortunately still getting the same error after...

    Unfortunately still getting the same error after making these changes: Uncaught TypeError: Cannot read property 'stop' of undefined

    It's almost like the var get's reset after ever onLeave..
  3. I tried removing this: // current sound var...

    I tried removing this:

    // current sound
    var playThis;

    That didn't work. I'm not sure if this was what you meant as the semi-global one though. Do you think you could post the code that I...
  4. Ok, I moved the site from localhost to this...

    Ok, I moved the site from localhost to this address.

    Here's the complete script:


    jQuery(document).ready(function($) {

    var backgroundMusic = new Howl({
    urls:...
  5. Oh sorry, I forgot to mention - stop() is...

    Oh sorry, I forgot to mention - stop() is definitely the correct function. I've read the docu so many times now, but the problem is I'm not very good with js/jquery. I'm pretty ashamed to say the...
  6. Sempervivum, thanks for the reply. I've...

    Sempervivum, thanks for the reply.

    I've actually already tried this already, but I get an error when I do this:
    Uncaught TypeError: Cannot read property 'stop' of undefined

    I've also tried...
  7. Stop audio clip on callback, then start another one

    Hi, I was wondering if anyone here might be able to help me with an issue I'm having working with an audio library and js? I don't know alot of js, and I've run out of things to try..

    I'm using...
  8. Yes, I realized array_diff() wasn't going to work...

    Yes, I realized array_diff() wasn't going to work as it wasn't possible to get the full file path back without comparing with the original filepaths. in_array proved much more useful as it allows me...
  9. Sorry ginerjm. I did finally manage to figure it...

    Sorry ginerjm. I did finally manage to figure it out by having it loop through the main array instead of using array_diff and check for only the filename using pathinfo['filename'].


    <?php
    ...
  10. The extensions are always different, .psd, png,...

    The extensions are always different, .psd, png, jpg, ai, pdf, etc.
  11. * Forgot the code, I've just added $withoutExt. ...

    * Forgot the code, I've just added $withoutExt.


    function all_wpdm_files($folder=NULL) {
    $wpdm_uploads_folder = UPLOAD_DIR;

    if ($folder == NULL) {
    if ($dir =...
  12. Hey ginerjm, thanks for answering. I just tried...

    Hey ginerjm, thanks for answering. I just tried that altering my first function to what I have below. The problem is that the third array needs the extensions. That's why I was wondering if...
  13. How can I make array_diff ignore string extension?

    Hi,

    I'm trying to compare two arrays for differences and give the results to a third variable using array_diff($wpdm_uploads_folder, $thumbs_uploads_folder);

    The reason I'm doing this is to...
  14. Replies
    2
    Views
    1,281

    Sorry, after some trial and error I found the...

    Sorry, after some trial and error I found the problem...

    If anyone's wondering i just had to put overflow: hidden; to the footer container :)
  15. Replies
    2
    Views
    1,281

    I've realized I could give the footer a set...

    I've realized I could give the footer a set height, though it feels as it's becoming a quick fix, rather then using the appropriate method. It wouldn't change automatically in regard to the content,...
  16. Replies
    2
    Views
    1,281

    Footer Trouble

    Hi there, I am having a problem with my footer, and I'm unsure how to solve it.

    http://bildr.no/view/1403363


    As you can see from the image i linked, the footer background doesn't cover all...
  17. Replies
    2
    Views
    1,263

    a { text-decoration: none; }

    a {
    text-decoration: none;
    }
Results 1 to 17 of 17
HTML5 Development Center



Recent Articles