Tyler
Tyler

Reputation: 3813

Fancybox previous and next links showing up for inline?

I'm adding fancybox to my site and I'm using inline but the next and previous links are covering the inline content. I don't understand why they would show up at all for inline content.

How do I force the next and previous links to turn off?

Here is an example of the problem:

Example http://scclib.com/staff/example.png

My JS Code: $(".fancybox").fancybox({ 'showNavArrows' : false, 'type' : 'inline' });

Upvotes: 3

Views: 11463

Answers (2)

dragoon
dragoon

Reputation: 5743

In fancybox >= 2.0 it is just

$("selector").fancybox({
    arrows : false
});

Upvotes: 2

Manse
Manse

Reputation: 38147

You can disable them using the following option :

$("selector").fancybox({
    'showNavArrows' : false
});

API & Options docs here

Update

For FancyBox version 2 and above its :

$("selector").fancybox({
    arrows : false
});

Docs for FancyBox 2

Upvotes: 16

Related Questions