Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

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

Silverstripe Fancybox - Disable Base Tag?


Reply


3 Posts   2456 Views

Avatar
VictorH

Community Member, 29 Posts

18 December 2009 at 1:54pm

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?

Avatar
VictorH

Community Member, 29 Posts

18 December 2009 at 2:03pm

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

Avatar
kuenkuen82

Community Member, 41 Posts

14 April 2010 at 3:49pm

Edited: 14/04/2010 4:44pm

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