RE: Altering the rollover position

瀏覽次數:103 次
跳到第一則未讀訊息

Gary

未讀,
2010年5月1日 下午5:42:302010/5/1
收件者: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

未讀,
2010年5月3日 下午3:22:302010/5/3
收件者: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
回覆所有人
回覆作者
轉寄
0 則新訊息