RE: Altering the rollover position

103 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Gary

ungelesen,
01.05.2010, 17:42:3001.05.10
an fancybox
I have edited the position of my next and previous button in the css.
I also altered the graphic from a arrow to the word next and prev.
I moved the nav to sit underneath the image area and also made the nav
appear constantly, the problem is now that if you try and click the
next button it does not work, it only works whilst you hover over the
right hand side of the image area. If anyone knows what the hell I am
going on about I would very much welcome some advice.

Cheers

--
You received this message because you are subscribed to the Google Groups "fancybox" group.
To post to this group, send email to fanc...@googlegroups.com.
To unsubscribe from this group, send email to fancybox+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fancybox?hl=en.

JFK

ungelesen,
03.05.2010, 15:22:3003.05.10
an fancybox
is because actually you moved the position of the next and previous
buttons
#fancybox-left-ico, #fancybox-right-ico

but not the position of the clickable area
#fancybox-left, #fancybox-right

so you either, move the clickable area to the same position of your
buttons:
height: 30px and margin-top: 100%
or make it bigger to include them

in other words, your buttons now have a margin-top o f 100% so they
are out of the clickable area .... you may want to increase the height
of #fancybox-left, #fancybox-right to 100% + the height of your
buttons (30px) ... you may have to calculate what percentage those
buttons represent
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten