Question : image gallery continuous scrolling

I have a javascript image slider that gets images from an xml file, and runs through them in order. After the last image, it goes in reverse.

It's kind of hard to explain. When you scroll all the way to the right you can see what I mean.
http://mercercountyrealtors.com/previewPurple/indexFlow.php

I would like it to slide through the images continuously. So that when it reaches the end, the next image would be image one, instead of a blank space.

I believe the code below is where this happens, but I'm a dork, so if you need the whole js file I can post it.

Thanks in advance.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
/* ==== animation loop ==== */ 
                run : function (res) { 
                        /* ---- move all images ---- */ 
                        var i = this.NF; 
                        while (i--) this.diapos[i].move(res); 
                        /* ---- autoscroll ---- */ 
                        if (this.time_out) { 
                                this.time++; 
                                if (this.time > this.time_out) { 
                                        this.view += this.time_dir; 
                                        if (this.view >= this.NF || this.view < 0) { 
                                                this.time_dir = -this.time_dir; 
                                                this.view += this.time_dir * 2; 
                                        } 
                                        this.calc(); 
                                        this.time = 0; 
                                        this.time_out = this.time_inter; 
                                } 
                        } 
                } 
        }

Answer : image gallery continuous scrolling

CreateDirectory:
http://msdn.microsoft.com/en-us/library/aa363855(VS.85).aspx

There is a link to an example:
Retrieving and Changing File Attributes
http://msdn.microsoft.com/en-us/library/aa365522(v=VS.85).aspx

The program there creates a directory - check the line with CreateDirectory(argv[1], NULL).

SetFileAttribute
http://msdn.microsoft.com/en-us/library/aa365535(VS.85).aspx


Random Solutions  
 
programming4us programming4us