Docs? Would be uber cool.

Thanks.

Comments

designcrs’s picture

I just looked into the code and it should work like that:

  1. Enter a fancybox class id in the module's settings. ".fancylink" (without the quotes) should be ok.
  2. Just add fancybox-style link elements to your pages:

    For images
    <a class="fancylink" href="image_big.jpg"><img src="image_small.jpg" alt=""/></a>

    Inline content
    <a class="fancylink" href="#data">This shows content of element who has id="data"</a>

    Iframe
    <a class="fancylink" href="http://www.example?iframe">This goes to iframe</a> or <a class="iframe" href="http://www.example">This goes to iframe</a>

    Ajax
    <a class="fancylink" href="http://www.example/data.php">This takes content using ajax</a>

  3. The module should turn those links into "fancyboxes" automatically.

Please note that it should work this way - but it hasn't been tested so far as there's no D6 version yet.

daniel wentsch’s picture

Oh how nice to have FancyBox as a module for D6 :)
I just installed it on D6.10 and it works as it should. Really nice, thank you!

//Edit: sorry, posted in the wrong thread, this was meant to be in the topic about the D6 port of the module.

pribeh’s picture

Thanks so much Chris! Works great on D5

bas.hr’s picture

Status: Active » Fixed
klonos’s picture

@bas.hr: this was marked for 5.x-1.1. Does setting it to 'fixed' mean that it also works in 6.x dev?

klonos’s picture

Also, does #1 apply in 6.x dev as well and is it documented in the readme?

bas.hr’s picture

This is 5.x issue, we have #742256: 6.x Docs for D6 version

klonos’s picture

I knew that ;)

Taking it there...

klonos’s picture

Title: Docs » 5.x Docs

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.