Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Regular function instead of anonymous function help

    Hey guys , im preaty new to this forum and also to coding , i hope i'm asking the question the right way..

    Im working on a small picture gallery , the efect i want to get is this

    http://jsfiddle.net/pashata/4wnr2/6/

    and it is working as i want to , but i want to send a regular function as callback so i can work on it separatly with more pictures and samo other stuff... but i end up with this..

    http://jsfiddle.net/pashata/zyazK/1/

    as you can see by the name of the function i am kind a pissed off... can anyone help what am i doing wrong..

  • #2
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i figure it out guys... sorry for bothering... i called myfunction inside an anonymous function

    Code:
    $(this).delay(randomInterval).fadeIn('slow',function(){
       myFunction($(this));
    });


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •