hallo, ich suche eine Preloader für Joomla,
ich habe sowas in der art schon bei http://designformambo.com gesichtet, aber ich weiß nicht wo ich das herbekomme ?!?!
Hat da einer ne Idee ?
hallo, ich suche eine Preloader für Joomla,
ich habe sowas in der art schon bei http://designformambo.com gesichtet, aber ich weiß nicht wo ich das herbekomme ?!?!
Hat da einer ne Idee ?
Geändert von pinki78 (19.03.2006 um 20:46 Uhr)
guckst du hier
http://forum.mamboserver.com/showthread.php?t=74314
klappt super, hab ich gerade bei mir rein gebastelt
sulzi
edit:den teil kann man raus machen, bremst nur unötig deine seitebackground-image: url(http://designformambo.com/templates/...ngcircle.gif); background-position: 6px center; background-repeat: no-repeat:
Geändert von sulzi (19.03.2006 um 20:26 Uhr)
funktioniert ja bestens, Perfekt !!!Zitat von sulzi
Nix für ungut, aber solche Spielereien töten einem den letzten Nerv... aber das ist natürlich nur subjektives Empfinden.
Gruß! Uwe
fc-hosting.de
. . . . . . . . . . . .kleine Joomla-Helferlein :: Gehackt? Was tun? :: Migration 1.7->2.5
Für den Fall, das der Link mal verschwindet
so funktioniert der Preloader
Hello,
Sometimes the visitor fall asleep of long time waiting for the loading of your page due to slow connection. Why not cheer them up with a funny announcement that page is loading?
Just use the following guide to apply this feature to your template.
1. Open up your template`s index.php in a text editor.
2. Add the code below right before </head> tag
3. Right after <body> tag add the code belowCode:<script type="text/javascript"> <!-- Begin function hideLoading() { document.getElementById('pageIsLoading').style.display = 'none'; // DOM3 (IE5, NS6) only } // End --> </script>
4. Scroll to bottom of file and add the code below right before the </body> tagCode:<div id="pageIsLoading" style="position: absolute; display: block; padding-left: 44px; padding-right: 12px; width: auto; height: 46px; line-height: 46px; border: 1px solid #890000; color: #000000; font-weight: bold; background-color: #e5e5e5; background-image: url(http://designformambo.com/templates/d4m_allnew2006/images/loadingcircle.gif); background-position: 6px center; background-repeat: no-repeat;"> <script type="text/javascript"> var window_width; var window_height; if( typeof( window.innerWidth ) == 'number' ) { window_width = window.innerWidth; window_height = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { window_width = document.documentElement.clientWidth; window_height = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { window_width = document.body.clientWidth; window_height = document.body.clientHeight; } var left = Math.round((window_width - 200) / 2); var top = Math.round(((window_height - 46) / 3) + 46); document.getElementById('pageIsLoading').style.left = left+'px'; document.getElementById('pageIsLoading').style.top = top+'px'; </script> Loading... Please wait... </div>
You can see how this feature work at our siteCode:<script type="text/javascript"> if (window.addEventListener) { window.addEventListener('load', hideLoading, false); } else if (window.attachEvent) { var r = window.attachEvent("onload", hideLoading); } else { hideLoading(); } </script>
Note: You might want to replace http://designformambo.com/templates/...dingcircle.gif with URL of your own image. The Loading... Please wait... string should be changed to your language as well.
die töten dir vielleicht den letzten Nerv, aber einige werden dankbar sein, wenn sie wissen,dass da noch was kommt, und der server gerade mal hängt, noch nicht alle Bundesbürger haben DSL oder vergleichbares !!!Zitat von flotte
Ja, ich habe ja gesagt, das es eine subjektive Empfindung ist. Darf man doch ruhig sagen.
Im übrigen verlängern solche Tools die Ladezeit zusätzlich... und außerdem hat jeder Browser von Haus eine eine Ladeanzeige. Bleibe also dabei: überflüssiger auf die Nerven gehender Schnickschnack![]()
Ein Gimmick, der die ersten 5 mal nett aussieht - keine Frage.
PS: Wenn der Server "hängt" rotiert das Gimmick munter weiter. Ein praktischer Nutzen ist also nicht vorhanden.
Gruß! Uwe
fc-hosting.de
. . . . . . . . . . . .kleine Joomla-Helferlein :: Gehackt? Was tun? :: Migration 1.7->2.5
Lesezeichen