www.dhteumeuleu.com

  Forums · Reply · Sign Up · Search · RSS ·

dhteumeuleu forums / English / image flow - AJAX version
Author Message
ge1doot


# Posted: 24 May 2008 16:30 · Edited by: ge1doot


Greetings all -

You know that my scripts here are just simple 'demos', all HTML, CSS and JS code, being most of the time sandboxed in one single portable html file. And you know that I will not deal here with production and integration matters, no browsers bugs workarounds, no errors management, no fallback content for outdated browsers, et cetera. The scripts work well on my machine, usually.

This being said, due to huge demand for an AJAX version, I took the time today to update the script:

http://www.dhteumeuleu.com/run/image-flow/

Images, texts and other data will now be externally referenced from an xml file:

http://www.dhteumeuleu.com/dhtml/image-flow.xml

As a side effect, the script will not run anymore locally without a locally running web server.

AJAX? or inline content?

Please let me know what you think,



thanks,
Gerard

Doc
Member

# Posted: 24 May 2008 23:27


For me it's better inline content I think
But you really did an excellent work to give us the possibility to choose between this two methods

Alex
Member

# Posted: 24 May 2008 23:49


Hi Gerard
I think that Ajax is the best option, is more functional and allows more options.....

Greetings

Jennifer
Member

# Posted: 26 May 2008 23:57


Thanks Gerard! The script works great for me now!!! YOU ROCK!!!

--Jennifer

akamaxbuz
Member

# Posted: 22 Jul 2008 20:43


Where is the source code for the inline version?
I am having trouble getting the Ajax version to run.
http://lumpenstudio.com/holidays/mn4july08.html

akamaxbuz
Member

# Posted: 22 Jul 2008 20:47


Whoa! I don't know what I did, but now it is working.

akamaxbuz
Member

# Posted: 23 Jul 2008 00:44


Gotta love the AJAX version. This is truly beautiful. And the xml addresses the "loading" issue. Can this approach be applied to the Book? Viewers love the book. http://lumpenstudio.com/book/0708mn.html

RollerG
Member

# Posted: 8 Aug 2008 10:07


Bonjour

Loving all the work on this site!!

Tried to use the imageflow today, works great on PC with IE and Firefox, but doesnt seem to work on a MAC running safari

Just hangs on the loading part, tried it on 2 MAC`s, both unable to view ?

Is this an issue with safari ?

Do you have the previous non-ajax version available ?

Keep up the fantastic work! Bravo!

Merci,

Andrew

akamaxbuz
Member

# Posted: 12 Aug 2008 16:13


Andrew, What version of Safari are you running?
This works for me in Safari 3 but not Safari 1
http://lumpenstudio.com/holidays/mn4july08.html
Also see if this is useful: http://browsershots.org/

RollerG
Member

# Posted: 21 Aug 2008 20:47


Hi akamaxbuz,

Thanks for the message. It was version 1
That last link is brilliant!!
Thanks ao much

RMTrain
Member

# Posted: 27 Aug 2008 00:19


A really nice application, but it is not quite up and running for me yet. I loaded the application to a directory with the slider images and the image-flow.xml file. I modified the image names to correspond to those I had in an 'images' directory under the root accounting for the ../ found in image-flow.xml The page comes up black with the sllider images and says Error on Page, Done with no images.


[url=null]http://enroll.rmtrain.com/Tour/imageflow.html[/url]

Any ideas from prior experiences??

RMTrain
Member

# Posted: 30 Aug 2008 18:06


Still at it and going no where fast.

I renamed the path of the programs to more closely parallel those of the original http://enroll.rmtrain.com/imageflow/imageflow.html

The code errors on the following line:

var bank = AJAX(xmlfile).responseXML.getElementsByTagNam 
e("bank").item(0).getElementsByTagName("img");



I know it references the function below

	var AJAX = (function(AJAX){ 
		return function(url){ 
			var ajax = AJAX(); 
			ajax.open("GET", url, false); 
			ajax.send(""); 
			return ajax; 
		}; 
	}



Not that the code is wrong, but that is where it stops working. By removing that one line of code the slider functions and no error is reported. Of course there are not pictures and no text (no suprise).

The Ready State = 4 and the response is 200 saying the connection was successful. The xml file "image-flow.xml" is in the same path as the AJAX program and the file name when tested in the code is correct. The images are under the images directory directly under the WEB root i.e. "../images".

I even shifted the xml document and retyped it in us-ascii after reading a few articles on possible incompatability among servers (no change). The program selects "return new XMLHttpRequest;", I am using a Linux server. which allows AJAX transactions. I can view the demo on this server perfectly on my browser (IE). I communicate with the server and SQL in other apps using AJAX. Stumped and would love to see the old in-line version or a really good suggestion on what I may have over looked. Love the app, just can't get the engine started.

ge1doot


# Posted: 31 Aug 2008 14:13


inline version here:

http://www.dhteumeuleu.com/dhtml/image-flow-inline.html

Gerard

RMTrain
Member

# Posted: 31 Aug 2008 18:22


Gerad: A HUGE thanks

jeff
Member

# Posted: 22 Sep 2008 21:40


Awesome script! Is there a way to start at a specific image? Say if I had 5 images, I would like to start at #3.

Thanks again!

Albyung
Member

# Posted: 11 Aug 2009 16:12 · Edited by: Albyung


The script is marvelous. Got the AJAX version running smoothly on-line with three selection of albums (external references). Works with IE, Firefox and Chrome.

Thanks!

Your answer

 B    I    U   IMG  URL  CODE  DEMO 

...  

 » Name  » Password 
 


Powered by miniBB forum software © 2001-2009