Click here to Skip to main content
15,923,142 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: i m using google map its giving little bit problem. Pin
Sandeep Mewara4-Jan-13 3:31
mveSandeep Mewara4-Jan-13 3:31 
Question"&nbsp" problem in Javascript Pin
BennyCriziko20-Dec-12 12:08
BennyCriziko20-Dec-12 12:08 
QuestionRe: "&nbsp" problem in Javascript Pin
Richard MacCutchan20-Dec-12 23:00
mveRichard MacCutchan20-Dec-12 23:00 
AnswerRe: "&nbsp" problem in Javascript Pin
BennyCriziko21-Dec-12 1:42
BennyCriziko21-Dec-12 1:42 
GeneralRe: "&nbsp" problem in Javascript Pin
Richard MacCutchan21-Dec-12 2:06
mveRichard MacCutchan21-Dec-12 2:06 
AnswerRe: "&nbsp" problem in Javascript Pin
jkirkerx31-Dec-12 10:39
professionaljkirkerx31-Dec-12 10:39 
Questionjquery tabslideout plugin and want to detect when div slide in and out Pin
Tridip Bhattacharjee20-Dec-12 3:54
professionalTridip Bhattacharjee20-Dec-12 3:54 
AnswerRe: jquery tabslideout plugin and want to detect when div slide in and out Pin
vbmike21-Dec-12 6:25
vbmike21-Dec-12 6:25 
GeneralRe: jquery tabslideout plugin and want to detect when div slide in and out Pin
Tridip Bhattacharjee23-Dec-12 6:35
professionalTridip Bhattacharjee23-Dec-12 6:35 
GeneralRe: jquery tabslideout plugin and want to detect when div slide in and out Pin
vbmike23-Dec-12 11:31
vbmike23-Dec-12 11:31 
QuestionConvert HTML to PDF (Client Side) Pin
Phanindra26116-Dec-12 20:07
Phanindra26116-Dec-12 20:07 
QuestionRe: Convert HTML to PDF (Client Side) Pin
ZurdoDev18-Dec-12 5:05
professionalZurdoDev18-Dec-12 5:05 
AnswerRe: Convert HTML to PDF (Client Side) Pin
Phanindra26118-Dec-12 17:50
Phanindra26118-Dec-12 17:50 
GeneralRe: Convert HTML to PDF (Client Side) Pin
J4amieC18-Dec-12 21:29
J4amieC18-Dec-12 21:29 
QuestionCan't figure out why the currentSlide goes 0-3-2 Pin
jkirkerx16-Dec-12 12:08
professionaljkirkerx16-Dec-12 12:08 
AnswerRe: Can't figure out why the currentSlide goes 0-3-2 Pin
jkirkerx17-Dec-12 8:40
professionaljkirkerx17-Dec-12 8:40 
OK I get it now. The Javascript runs full speed until complete, but the delay in the animation function drags behind the execution of the code, so You can never really detect the end of the animation loop.

So for now, I'll just loop through some marketing messages, and then stop

I put a for loop in the function instead

function animate() {

        for (var i = 0; i < slideTotal - 1; i++) {

            $(slidesHolder).css({
                'left': '0px'
            });

            $(slidesHolder).delay(delay).animate({
                "left": "-=" + slideWidth
            }, slideTime, 'swing', function () {
                //Animation Complete - do something

            });
        }
    }

AnswerSo I rewrote the program from scratch, works pretty good now, feel free to build on it Pin
jkirkerx19-Dec-12 17:45
professionaljkirkerx19-Dec-12 17:45 
GeneralRe: So I rewrote the program from scratch, works pretty good now, feel free to build on it Pin
Richard MacCutchan19-Dec-12 23:15
mveRichard MacCutchan19-Dec-12 23:15 
GeneralRe: So I rewrote the program from scratch, works pretty good now, feel free to build on it Pin
jkirkerx20-Dec-12 6:18
professionaljkirkerx20-Dec-12 6:18 
GeneralRe: So I rewrote the program from scratch, works pretty good now, feel free to build on it Pin
Richard MacCutchan20-Dec-12 6:39
mveRichard MacCutchan20-Dec-12 6:39 
QuestionJava Script Pin
manoj s sherje14-Dec-12 1:05
manoj s sherje14-Dec-12 1:05 
QuestionRe: Java Script Pin
Thomas Daniels14-Dec-12 1:33
mentorThomas Daniels14-Dec-12 1:33 
QuestionRe: Java Script Pin
ZurdoDev18-Dec-12 5:06
professionalZurdoDev18-Dec-12 5:06 
AnswerRe: Java Script Pin
manoj s sherje19-Dec-12 1:01
manoj s sherje19-Dec-12 1:01 
AnswerRe: Java Script Pin
ZurdoDev19-Dec-12 1:37
professionalZurdoDev19-Dec-12 1:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.