Arrows on by default?

265 Aufrufe
Direkt zur ersten ungelesenen Nachricht

accelerant

ungelesen,
03.03.2009, 14:59:2303.03.09
an fancybox
Hello is there a way to show the right/left arrows upon opening a
gallery in fancy box instead only upon hover?

Gustav

ungelesen,
03.03.2009, 18:53:4703.03.09
an fancybox
Yes, it's possible.
You need to mod your jquery.fancybox.css file for that.

Find those selectors:

span#fancy_left_ico {
left: -9999px;
background: transparent url('fancy_left.png') no-repeat;
}

span#fancy_right_ico {
right: -9999px;
background: transparent url('fancy_right.png') no-repeat;
}

And change the values -9999px to 20px. Don't forget the semicolons.

And comment out those selectors (it's not necessary, but it's right
thing to do):
/*
a#fancy_left:hover span {
left: 20px;
}

a#fancy_right:hover span {
right: 20px;
}
*/

/* this text is commented out */ <- CSS comment
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten