Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [jquery] Jak wyciągnąć PRZED?
sammy103
post
Post #1





Grupa: Zarejestrowani
Postów: 24
Pomógł: 0
Dołączył: 21.04.2014

Ostrzeżenie: (10%)
X----


Czyli: http://postimg.org/image/526tgxlrh/

tu: http://testowa.testynarkotykowe.pl/testy-n...e/testy-na-mocz

Zoom obrazka PRZED overlay?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
markuz
post
Post #2





Grupa: Zarejestrowani
Postów: 1 240
Pomógł: 278
Dołączył: 11.03.2008

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


z-index
Go to the top of the page
+Quote Post
sammy103
post
Post #3





Grupa: Zarejestrowani
Postów: 24
Pomógł: 0
Dołączył: 21.04.2014

Ostrzeżenie: (10%)
X----


Problemem jest to: na ktorym elemencie, by wygladalo tak

http://s28.postimg.org/9c99lq9l9/problem1x1.jpg

w a w zasadzie dzialalo tak

http://s29.postimg.org/cisghj9zb/problem1x3.jpg
Go to the top of the page
+Quote Post
trueblue
post
Post #4





Grupa: Zarejestrowani
Postów: 6 806
Pomógł: 1828
Dołączył: 11.03.2014

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


Nie tylko zmiana z-index.
Dodaj selektor w css:
  1. .zoomContainer{
  2. z-index:15;
  3. }


a kod gdzie dodawałeś overlay, zmień na:
  1. $(document).ready(function(){
  2. $("#notOverlay0,#notOverlay1,#notOverlay2,#notOverlay3,#xnone1").on("mouseenter",function(){
  3. if($('.overlay').length==0){ // jeśli nie mamy overlay to dodajemy, jeśli już jest to nie
  4. $("body").append('<div class="overlay"></div>');
  5. $(this).css({"z-index":"10"});
  6. }
  7. });
  8. $("body").on("mouseenter",'.overlay',function(){
  9. $(this).remove(); //overlay usuwamy po najechaniu na niego, a nie po zjechaniu z notOverlay, zjechanie jest również po najechaniu na element powiększany
  10. });
  11. });
Go to the top of the page
+Quote Post

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: 15.09.2025 - 14:45