@Mar Ventus
He doesn't want to add anything over the image opened in fancybox but
in the thumbnail that actually you have to click to open fancybox.
@bluepills
That is not a fancybox issue (that we provide support here). Check in
CSS forums like
http://groups.google.com/group/css-design
try "adding/positioning elements over other elements"
On Jun 6, 4:15 am, Mar Ventus <
marventus...@gmail.com> wrote:
> I forgot to mention that you are supposed to replace
> *{targeted-element}*with the element you are targeting.
>
>
>
>
>
>
>
> On Wed, Jun 6, 2012 at 8:13 AM, Mar Ventus <
marventus...@gmail.com> wrote:
> > Hi bluepills!
> > You should use the beforeShow callback parameter for that.
> > jQuery(' {targeted-element}' ).fancybox({
> > 'beforeShow': function() {
> > jQuery(".fancybox-inner").append('<div class="plus-sign" />');
> > },
> > });
> > That code will add a div with the class "plus-sign" right after your
> > images. Once you do that, it would only be a matter of styling that div
> > through CSS code.
> > Cheers!
>