www.webdeveloper.com
Results 1 to 3 of 3

Thread: Possible to have 2 functions at the same time ?

  1. #1
    Join Date
    Oct 2012
    Posts
    18

    Possible to have 2 functions at the same time ?

    Hi i got 2 setup functions that start at the same time. One that hide´s text /shows text and one that creates a canvas effect. Problem is both dont work at the same time , got any ideas ?

  2. #2
    Join Date
    Mar 2011
    Posts
    1,160
    Generally, the simplest solution is to create a third function that calls the other two, as in:
    Code:
     function myNewFunction() {
       function1();
       function2();
     }
    But it's impossible to know if this is appropriate without seeing your current code.

  3. #3
    Join Date
    Oct 2012
    Posts
    18
    nvm i solved it, been up for alot of hours now. Got square eyes. Just renamed one of the functions, haha

    thx thou

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles