Page 1 of 1

[MOD] - Page/Form Loading Animation

Posted: Tue Nov 23, 2010 11:02 pm
by Qphoria
Based on this topic I've added this mod:

Supported OpenCart Versions:
================
All versions


What does it do:
================
This contrib adds a javascript that shows a loading bar for all pages loads and form submits.
It uses the thickbox loading bar image that already comes with opencart.


Main features:
==============
* Coded in Javascript so it is completely dynamic and works with all versions
* Javascript is kept in its own file. Only 1 line to add to header.tpl
* Works dynamically with all links, page loads, browser refreshes, etc


Tested and working in all major browsers

Re: [MOD] - Page/Form Loading Animation

Posted: Tue Nov 23, 2010 11:17 pm
by JAY6390
Nice little contri :)

Re: [MOD] - Page/Form Loading Animation

Posted: Wed Nov 24, 2010 12:28 am
by dvio
Nice mod ... I've tested it using FF n Opera 4 windows, works on FF but not on opera, pls confirm :D
anyway, it's a nice mode, thanks

opera version: 10.63 for windows 32Bit

Re: [MOD] - Page/Form Loading Animation

Posted: Wed Nov 24, 2010 12:38 am
by Qphoria
Yea, seems there is a compatibility with Opera and the "unload" javascript commands:
http://api.jquery.com/unload/ (see comments)

Seems the onbeforeunload command is supported by IE, Chrome, and FF only. So fail to Opera for not supporting it

But on the plus side, people who are technically inclined enough to use Opera, know how to find the browser loading bar already :)

Re: [MOD] - Page/Form Loading Animation

Posted: Wed Nov 24, 2010 1:40 am
by dvio
Qphoria wrote:But on the plus side, people who are technically inclined enough to use Opera, know how to find the browser loading bar already :)
Well said, and another great mod from you ... thx :)

Re: [MOD] - Page/Form Loading Animation

Posted: Thu Nov 25, 2010 3:39 pm
by dramony
i think this should be added to the core.

Re: [MOD] - Page/Form Loading Animation

Posted: Wed Dec 08, 2010 3:55 am
by Lao
Plus one vote for this.

Re: [MOD] - Page/Form Loading Animation

Posted: Wed Dec 08, 2010 4:05 am
by SapporoGuy
Pretty nifty!

However, if it's added to the core, please have a way to turn it off besides editing code.
I do like it, but it sort of makes the cart look slower loading. Normally, you only see loaders because the app/page needs time to load.

Re: [MOD] - Page/Form Loading Animation

Posted: Wed Dec 08, 2010 5:46 am
by Qphoria
It will never be added to the core. It is a mod only

Re: [MOD] - Page/Form Loading Animation

Posted: Sun Feb 13, 2011 9:19 am
by bajaber
Thanks. Accidentally came across this but was delighted.

Re: [MOD] - Page/Form Loading Animation

Posted: Fri May 11, 2012 1:57 am
by Mike Guenther
Is there an update to this mod?

I'm running 1.5.1.3

Re: [MOD] - Page/Form Loading Animation

Posted: Thu Feb 07, 2013 10:09 pm
by Lao
Here's a vQmod that works on 1.5.4.1

I would just like to be a text above the image, "Please wait..." How can I do that?

Re: [MOD] - Page/Form Loading Animation

Posted: Fri Jul 12, 2013 1:57 am
by yowchuan
I am using iSearch 3.1.6 by iSenseLabs for my OC 1.5.5.1 and the addition of this mod is causing the search results to load very slow. I really like this page loading animation extension but unfortunately, the trade off seems bit too high.

Re: [MOD] - Page/Form Loading Animation

Posted: Sun Apr 03, 2016 6:07 am
by williamhazel
Hey Qphoria - is this compatible with 2.1.0.2 as well?