Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JavaScript] Efekt po wejsciu na strone
Sign
post
Post #1





Grupa: Zarejestrowani
Postów: 128
Pomógł: 0
Dołączył: 3.11.2014

Ostrzeżenie: (0%)
-----


Czesc, jak sie nazywa ten efekt po wejsciu na ta strone.
http://ddabrovsky.com/ pierwsze jest ciemne a potem pokazuje sie background.
Jest jakis tutek jak to zrobic ? potrzebne mi to (IMG:style_emoticons/default/smile.gif)
dzieki
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
mortus
post
Post #2





Grupa: Zarejestrowani
Postów: 2 178
Pomógł: 596
Dołączył: 25.09.2009
Skąd: Piwniczna-Zdrój

Ostrzeżenie: (0%)
-----


Dokładniej te dwa fragmenty java script:
[JAVASCRIPT] pobierz, plaintext
  1. jQuery(document).ready(function() {
  2. // ...
  3. jQuery('.main-container > div:not(".preloader")').each(function() {
  4. jQuery(this).css({'visibility': 'hidden'});
  5. });
  6. // ...
  7.  
  8. });
  9. jQuery(window).load(function() {
  10. // ...
  11. jQuery('.main-container > div:not(".preloader")').each(function() {
  12. jQuery(this).css({'visibility': 'visible'});
  13. });
  14. setTimeout( function() { jQuery('.main-container > .preloader').fadeOut(300, function() {
  15. jQuery('.login-form-container').fadeIn(600);
  16. }); }, 1000);
  17. });
[JAVASCRIPT] pobierz, plaintext
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 28.12.2025 - 10:04