IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic

Image Preloader With Progress Bar Status

, Pure Client-Side JavaScript tested in 4 Browsers!

Iarkalwen
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 28
Joined: 4-May 05
Member No.: 6,634



Post #11 post May 5 2005, 10:37 PM
I've been looking for a tutorial for an image preloader!

Thanks! biggrin.gif
Go to the top of the page
+Quote Post
SystemWisdom
no avatar
Advanced Member
*******
Group: Members
Posts: 117
Joined: 3-May 05
From: A Canadian South of the 49th Parallel
Member No.: 6,544



Post #12 post May 6 2005, 12:27 AM
Glad to hear you guys like it, thanks!

I finally have a web host again, Trap17! biggrin.gif

So I have posted a working sample of this script on my site. The sample is just a rough copy sample, once I get my site integrated with Trap17 the sample will be a part of my actual site.

View the Sample Progress Bar Here!

Enjoy! biggrin.gif
Go to the top of the page
+Quote Post
Kai
no avatar
Newbie
*
Group: Members
Posts: 2
Joined: 24-May 05
Member No.: 7,463



Post #13 post May 28 2005, 03:46 PM
QUOTE(SystemWisdom @ May 5 2005, 05:27 PM)
Glad to hear you guys like it, thanks!

View the Sample Progress Bar Here!


Hi,

Very nice tutorial; much appreciated. In particular I like the CSS progress bar.

One minor problem though. The sample link works just fine in Firefox and IE, but doesn' seem to be working properly in Safari (Mac). According to the browser status bar, it it is pre-loading the images, although no visual progress is shown in the progress-bar. After pre-loading is done, it just stays on the pre-loading page. The only way to advance is by clicking the "Skip Intro" link.

Any ideas?

Kai
Go to the top of the page
+Quote Post
rvalkass
no avatar
apt-get moo
Group Icon
Group: [MODERATOR]
Posts: 2,258
Joined: 28-May 05
From: Devon, England
Member No.: 7,593
Spam Patrol
myCENT:66.37



Post #14 post May 29 2005, 11:38 AM
Thanks very much for this tutorial. I have seen others but thay have not worked as well or look as good as this script. I am astounded you are willing to provide this script for free, as I have seen others on the Internet costing upwards of $10. Thank you very much and good luck with any more coding you do! smile.gif
Go to the top of the page
+Quote Post
SystemWisdom
no avatar
Advanced Member
*******
Group: Members
Posts: 117
Joined: 3-May 05
From: A Canadian South of the 49th Parallel
Member No.: 6,544



Post #15 post May 29 2005, 02:42 PM
QUOTE(Kai @ May 28 2005, 11:46 AM)
One minor problem though. The sample link works just fine in Firefox and IE, but doesn' seem to be working properly in Safari (Mac). According to the browser status bar, it it is pre-loading the images, although no visual progress is shown in the progress-bar. After pre-loading is done, it just stays on the pre-loading page. The only way to advance is by clicking the "Skip Intro" link.

Any ideas?


Thx for the input and I'm glad you liked it for the most part, but I have never had the opportunity to test or even view this script on a Mac. I am guessing Safari handles the DOM differently than other browsers... Now that I know there is a problem with Mac's Safari browser processing my script I will look into resolving the issue (and here I thought it worked perfectly! lol).

I am glad you pointed out the actual problems for me, which makes fixing it one step easier! I will reply as soon as I figure out a solution. Hopefully you can test it out again for me on your Mac Safari!! biggrin.gif


QUOTE(rvalkass @ May 29 2005, 07:38 AM)
Thanks very much for this tutorial. I have seen others but thay have not worked as well or look as good as this script. I am astounded you are willing to provide this script for free, as I have seen others on the Internet costing upwards of $10. Thank you very much and good luck with any more coding you do! smile.gif


I couldn't imagine charging people money for my tutorials (they probably wouldn't get read!), I mainly write them so that I can add them to my Resume/portfolio, maybe they will help land me a job!

I'm especially glad to see such positive feedback from this tutorial (makes me want to write more)!
Go to the top of the page
+Quote Post
Kai
no avatar
Newbie
*
Group: Members
Posts: 2
Joined: 24-May 05
Member No.: 7,463



Post #16 post Jun 10 2005, 06:30 AM
QUOTE(SystemWisdom @ May 29 2005, 07:42 AM)

I am glad you pointed out the actual problems for me, which makes fixing it one step easier!  I will reply as soon as I figure out a solution.  Hopefully you can test it out again for me on your Mac Safari!! :D

[right][snapback]145558[/snapback][/right]

Just let me know if you would like me to do any further testing, or provide additional info if needed to make your job easier to find a fix.

~ Kai
Go to the top of the page
+Quote Post
SystemWisdom
no avatar
Advanced Member
*******
Group: Members
Posts: 117
Joined: 3-May 05
From: A Canadian South of the 49th Parallel
Member No.: 6,544



Post #17 post Jun 13 2005, 12:42 AM
I haven't figured it out yet sad.gif

Mac confuses me tongue.gif

Do you know any Javascript at all? It sounds like a few javascript functions are not being recognized by Safari, amd I am having alot of trouble finding out which ones.. Theoretically, it should work fine, unless Safari browsers haven't followed basic standards for DHTML.. sad.gif

Maybe it has to do with it being on a Mac? Did you test it with IE and Firefox from Mac too, or was that on Windows?

I am almost at the point of resolving to detect the Safari browser on Mac and just skip preloading altogether, so it doesn't cause problems... sad.gif

Well, ima keep looking for an answer, wish me luck! tongue.gif
Go to the top of the page
+Quote Post
nonon
no avatar
Member [Level 3]
******
Group: Members
Posts: 97
Joined: 30-November 04
From: Portugal
Member No.: 2,485



Post #18 post Jun 16 2005, 04:05 PM
Well i will check this out cool.gif ...processing on the client side free's up the server and this script can come quite handy on slower connections blink.gif ...

Thanks m8, if it works wrong i will came back to you for help rolleyes.gif

Best Regards

Nuno
Go to the top of the page
+Quote Post
Riton
no avatar
Newbie
*
Group: Members
Posts: 1
Joined: 15-May 07
Member No.: 43,162



Post #19 post May 15 2007, 10:02 PM
Hi

In fact, the problem is that Safari seems to not support self-reference in javascript class.
The two last variables in ImagePreload.prototype.OnLoad are marked as "undefined".

For those who wants to debug in Safari with MacOS, type "defaults write com.apple.Safari IncludeDebugMenu 1" on a terminal and then restart Safari. A "debug" menu will be present on the top of the screen.

I think it's a safari bug, but it should exists a workaround.

Regards,
Riton

QUOTE(SystemWisdom @ Jun 13 2005, 02:42 AM) [snapback]150476[/snapback]
I haven't figured it out yet sad.gif

Mac confuses me tongue.gif

Do you know any Javascript at all? It sounds like a few javascript functions are not being recognized by Safari, amd I am having alot of trouble finding out which ones.. Theoretically, it should work fine, unless Safari browsers haven't followed basic standards for DHTML.. sad.gif

Maybe it has to do with it being on a Mac? Did you test it with IE and Firefox from Mac too, or was that on Windows?

I am almost at the point of resolving to detect the Safari browser on Mac and just skip preloading altogether, so it doesn't cause problems... sad.gif

Well, ima keep looking for an answer, wish me luck! tongue.gif

Go to the top of the page
+Quote Post
Sprnknwn
no avatar
Privileged Member
*********
Group: Members
Posts: 821
Joined: 6-March 05
Member No.: 4,202



Post #20 post May 16 2007, 10:02 AM
Oh, this is a very interesting code, yet really long tongue.gif I'll try to give it a look patiently this weekend and see if I can follow all the steps.

Thank you for sharing it.
Go to the top of the page
+Quote Post

3 Pages V  < 1 2 3 >
Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 7 templest 535 13th August 2004 - 11:40 PM
Last post by: odomike
No New Posts   13 galexcd 848 14th August 2007 - 01:25 PM
Last post by: Galahad
No New Posts   2 chinfo 482 30th July 2004 - 01:45 AM
Last post by: chinfo
No New Posts   5 dejo 479 7th August 2004 - 02:07 PM
Last post by: psp-playstation
No New Posts   3 Alpha 697 18th August 2004 - 11:40 AM
Last post by: odomike
No new   25 SilverBoarder 3,661 15th December 2004 - 01:14 AM
Last post by: XeNoToSs
No New Posts   12 cragllo 929 25th August 2004 - 08:09 AM
Last post by: cragllo
No New Posts   3 zer000s 240 12th April 2008 - 10:54 AM
Last post by: the need for speed
No new   16 DataHead 1,201 3rd September 2004 - 09:44 PM
Last post by: Bash
No New Posts   1 Seņor Maniac 288 13th September 2004 - 03:44 AM
Last post by: Zenchi
No New Posts   6 Mario 516 29th September 2004 - 12:28 PM
Last post by: inshare
No new   20 Seņor Maniac 1,083 24th September 2004 - 12:55 AM
Last post by: Seņor Maniac
No New Posts   8 bowti3 1,430 16th October 2004 - 03:26 PM
Last post by: hulunes
No New Posts   1 blackhatdacx 313 5th February 2008 - 12:35 AM
Last post by: jlhaslip
No New Posts