Elxis CMS Forum
Support => General => Topic started by: seadhna on May 18, 2011, 19:42:33
-
Hi there,
I'm trying to include a link to inline content using Fancybox.
If you're not familiar, this JQuery pack allows the presentation of hidden div content as a modal window on clicking an anchor tag e.g. #something
If I insert this link within the template, it works fine.
However if I insert the link within a content item, it doesn't, because Elxis is adding the full site URL before the anchor, e.g. www.fullsitename/section/category/page/#something
I've removed the meta tag for base URL but this didn't solve the problem - the full site URL is still being appended.
Do you have a solution?
-
If you are going to use this Fancybox only for images, then instead of this you can use IOS Gallery (http://www.elxis-downloads.com/downloads/image-galleries/166.html) which shows images in the same way. If you want to use it for the rest of functions, as i saw, then you have to create a custom module or bot if you are familiar with this.
-
Hi there, no I'm wishing to display hidden text content within modal windows. Not images.
Perhaps I should just set up separate templates for each page with this feature as I don't know what you mean by module.
-
Fancybox is based on JQuery so using the provided documentation you can build a module or bot for Elxis CMS and then easily you can use this javascript effect into content.
The question is if you know how to create such a module (the easy case) for Elxis CMS. If not you may order it here (https://forum.elxis.org/index.php?board=48.0) as a custom one.