Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Lightbox v2.04 Issue - Not linking

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1787 Views
  • B-Side
    Avatar
    Community Member
    42 Posts

    Lightbox v2.04 Issue - Not linking Link to this post

    Hi all

    I've been attempting to incorporate Lightbox v2.04 into a page type for my site and although all the paths are correct there is no link from the image to the lightbox enlargement - nothing happens when you click on the image.

    I'm stumped - is there anyone with experience in this?
    http://www.patriceguilbert.com/cms/illustrations-4/

    Many thanks, Jayne

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Lightbox v2.04 Issue - Not linking Link to this post

    Have a look at the FireBug plugin for firefox - it helps debug situations like this! As you can see if you have it installed you have 2 errors, One is that you have tried to do a document.write() for the javascript and your page doctype doesnt support document.write() (as you are sending the page as super strict XML - the <? xml.. bit at the top of your page.ss file) .

    Get rid of that <? xml bit and see if that works

  • B-Side
    Avatar
    Community Member
    42 Posts

    Re: Lightbox v2.04 Issue - Not linking Link to this post

    You beauty - that did the trick! I didn't even think of the doctype.

    Many many thanks! Jayne.

    1787 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.