Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [JavaScript] Efekt po wejsciu na strone
Sign
post 5.11.2014, 19:25:48
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 smile.gif
dzieki
Go to the top of the page
+Quote Post
mortus
post 5.11.2014, 19:28:46
Post #2





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

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


Przecież tam nic nie ma, a jedynie jakiś (prawdopodobnie na niby) preloader.
Go to the top of the page
+Quote Post
Sign
post 5.11.2014, 19:31:00
Post #3





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

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


Ale chodzi o to, ze peirwsze pokazuje sie ten preloader z tlem, a poem przenika na inne tlo.
Go to the top of the page
+Quote Post
viking
post 5.11.2014, 19:36:59
Post #4





Grupa: Zarejestrowani
Postów: 6 377
Pomógł: 1116
Dołączył: 30.08.2006

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


http://ddabrovsky.com/wp-content/plugins/m...tend.js?ver=4.0
Te fadeout/in wewnątrz load()


--------------------
Go to the top of the page
+Quote Post
mortus
post 5.11.2014, 19:42:28
Post #5





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
Sign
post 5.11.2014, 19:51:06
Post #6





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

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


znalazlem takie cos na necie dodalem
i nie dziala biggrin.gif
http://signweb.xaa.pl/a/
chyba ze u was dziala;D
co jest nie tak ;c
Go to the top of the page
+Quote Post
Turson
post 5.11.2014, 19:55:52
Post #7





Grupa: Zarejestrowani
Postów: 4 291
Pomógł: 829
Dołączył: 14.02.2009
Skąd: łódź

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


Odpal z łaski swojej konsolę w przeglądarcę i obejrzyj ją
Go to the top of the page
+Quote Post
Sign
post 5.11.2014, 19:59:36
Post #8





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

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


Nie wiem czy o to chodzi, ale w konsoli mi wyskakuje
"TypeError: ie is null';c
Go to the top of the page
+Quote Post
Turson
post 5.11.2014, 22:53:37
Post #9





Grupa: Zarejestrowani
Postów: 4 291
Pomógł: 829
Dołączył: 14.02.2009
Skąd: łódź

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


Nie tylko, nie znajduje rowniez obrazkow
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 13.06.2025 - 05:28