Jump to:

22997 Posts in 11853 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » Silverstripe Fancybox - Disable Base Tag?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 2349 Views
  • VictorH
    Avatar
    Community Member
    29 Posts

    Silverstripe Fancybox - Disable Base Tag? Link to this post

    I'm trying to get fancybox (http://fancybox.net/) to work on a Silverstripe build of mine.

    I'm trying to have some inline elements appear on the the fancybox popup.

    In order for it to work you need an anchor tag where the href="#something" has the fancybox show the contents of a div with an id='something'.

    The problem is Silverstripe adds the base tag to the anchor href so instead of href="#something I get href="/mysite/section/#something".

    Anyone have any ideas?

  • VictorH
    Avatar
    Community Member
    29 Posts

    Re: Silverstripe Fancybox - Disable Base Tag? Link to this post

    THIS IS NO LONGER AN ISSUE. I DIDNT DO ANYTHING AND IT FIXED ITSELF.

  • kuenkuen82
    Avatar
    Community Member
    41 Posts

    Re: Silverstripe Fancybox - Disable Base Tag? Link to this post

    I couldn't find fancybox inside jsparty form so I downloaded it and add it under jquery plugin. I'm currently trying to use fancybox plugin but I'm getting the following error:

    $.support is undefined

    which is coming from jquery.fancybox-1.3.1 line 29

    isIE6 = !$.support.opacity && !window.XMLHttpRequest;

    I appreciate it I could get any help, thank you in advanced

    2349 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.