Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-09-20 13:47:57
- helmz
- Member
- Registered: 2010-09-14
- Posts: 65
Fancybox and Textpattern
Just a question, are them compatible?
Offline
Offline
Re: Fancybox and Textpattern
I second what Gocom said. I use Fancybox on several sites for Image Galleries, playing a video in a modal window and so on.
Offline
#4 2010-09-20 17:47:25
- phuture303
- Member
- Registered: 2008-09-14
- Posts: 127
Re: Fancybox and Textpattern
Here too. Using Fancybox in combination with the wonderful smd_gallery plugin. No problems at all!
Offline
Re: Fancybox and Textpattern
Textpattern is compatible with everything (almost)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#6 2010-09-21 08:28:23
- helmz
- Member
- Registered: 2010-09-14
- Posts: 65
Re: Fancybox and Textpattern
Does anyone knows why is this not working?:
<link rel=“stylesheet” href=“fancybox/jquery.fancybox-1.3.1.css” type=“text/css” media=“screen” />
<script type=“text/javascript” src=“http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js”></script>
<script type=“text/javascript” src=“fancybox/jquery.fancybox-1.3.1.pack.js”></script>
—
<a id=“inline” href=”#inline1”>This shows content of element who has id=“inline1”</a>
<div style=“display:none”><div id=“inline1”>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></div>
Last edited by helmz (2010-09-21 08:28:47)
Offline
Re: Fancybox and Textpattern
Did you try
<link rel="stylesheet" href="/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#8 2010-09-21 08:43:05
- helmz
- Member
- Registered: 2010-09-14
- Posts: 65
Re: Fancybox and Textpattern
colak dijo:
Did you try
<link rel="stylesheet" href="/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
i have it into textpattern folder, so it should be like this:
<link rel=“stylesheet” href=”/textpattern/fancybox/jquery.fancybox-1.3.1.css” type=“text/css” media=“screen” />
<link rel=“stylesheet” href=“textpattern/fancybox/jquery.fancybox-1.3.1.css” type=“text/css” media=“screen” />
I tryed both but I dont get any effect
Offline
Re: Fancybox and Textpattern
As colak said, because pages are created by textpattern dynamically you need to make all your hardcoded links absolute paths not relative paths. So either start your links with a / or use the full domain path ie: “http://www.mysite/css/mycss.css”.
That goes for javascript and css.
Last edited by philwareham (2010-09-21 09:02:33)
Offline
#10 2010-09-21 09:06:29
- helmz
- Member
- Registered: 2010-09-14
- Posts: 65
Re: Fancybox and Textpattern
“http://www.mysite/css/mycss.css”
i did like this too, still not recieving any effect.. but thanks for trying
Offline
#11 2010-09-21 09:34:20
- helmz
- Member
- Registered: 2010-09-14
- Posts: 65
Re: Fancybox and Textpattern
help please! I dont find the way
Offline
#12 2010-09-21 09:54:11
- helmz
- Member
- Registered: 2010-09-14
- Posts: 65
Re: Fancybox and Textpattern
Yes but I am trying to use it and I dont find the way :O, dont know where is the error
Offline