| Autor | Zpráva | ||
|---|---|---|---|
| Monkeys Profil * |
#1 · Zasláno: 5. 1. 2012, 14:14:26
Mam Fancybox vsetko funguje OK ale chcem aby sa na obrazky v galerii neklikalo ale iba po najazde mysou zobrazil velky obrazok:
Ako to docielit ? Skusal som nieco taketo: $(document).ready(function() {
$("#test").live("mouseenter", function() { alert("Papusky!");
});
});Ale ak skusim nieco taketo tak to nefunguje: $(document).ready(function() {
$("#test").live("mouseenter", function(){
$("this").fancybox({
'overlayShow' : false,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
});
}); |
||
| Chamurappi Profil |
#2 · Zasláno: 5. 1. 2012, 14:20:23
Reaguji na Monkeyse:
„ $("this")“
Ty máš ve stránce element <this>?
|
||
| Monkeys Profil * |
#3 · Zasláno: 5. 1. 2012, 14:30:37
Chamurappi:
„Ty máš ve stránce element <this>?“ Moja chyba opravene ale aj tak nefunguje. Trochu som to upravil fungovat to funguje ale az po kliknuti co nie je dobre. $(document).ready(function() {
$("#test").mouseenter(function(){
$(this).fancybox({
'overlayShow' : false,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
});
});
}); |
||
|
Časová prodleva: 14 let
|
|||
0