|
|
|
|
![]() ![]() |
May 5 2005, 10:37 PM
Post
#11
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 28 Joined: 4-May 05 Member No.: 6,634 |
I've been looking for a tutorial for an image preloader!
Thanks! |
|
|
|
May 6 2005, 12:27 AM
Post
#12
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 117 Joined: 3-May 05 From: A Canadian South of the 49th Parallel Member No.: 6,544 |
Glad to hear you guys like it, thanks!
I finally have a web host again, Trap17! 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! |
|
|
|
May 28 2005, 03:46 PM
Post
#13
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 24-May 05 Member No.: 7,463 |
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 |
|
|
|
May 29 2005, 11:38 AM
Post
#14
|
|
|
apt-get moo ![]() Group: [MODERATOR] Posts: 2,056 Joined: 28-May 05 From: Hertfordshire, England Member No.: 7,593 ![]() |
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!
|
|
|
|
May 29 2005, 02:42 PM
Post
#15
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 117 Joined: 3-May 05 From: A Canadian South of the 49th Parallel Member No.: 6,544 |
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!! 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! 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)! |
|
|
|
Jun 10 2005, 06:30 AM
Post
#16
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 24-May 05 Member No.: 7,463 |
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 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 |
|
|
|
Jun 13 2005, 12:42 AM
Post
#17
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 117 Joined: 3-May 05 From: A Canadian South of the 49th Parallel Member No.: 6,544 |
I haven't figured it out yet
Mac confuses me 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.. 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... Well, ima keep looking for an answer, wish me luck! |
|
|
|
Jun 16 2005, 04:05 PM
Post
#18
|
|
|
Member [Level 3] ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 97 Joined: 30-November 04 From: Portugal Member No.: 2,485 |
Well i will check this out
Thanks m8, if it works wrong i will came back to you for help Best Regards Nuno |
|
|
|
May 15 2007, 10:02 PM
Post
#19
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 15-May 07 Member No.: 43,162 |
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 I haven't figured it out yet Mac confuses me 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.. 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... Well, ima keep looking for an answer, wish me luck! |