Re: Lightbox + Cake

2007-03-14 Thread Grzegorz Pawlik
ofcourse it is. Dot means object member, that's why it is "missing name after . operator" On Mar 12, 11:21 pm, "f." <[EMAIL PROTECTED]> wrote: > Hi, > > >http://img88.imageshack.us/img88/5099/77614616od5.png > > I think string concatenation is done with '+' in Javascript. > Maybe a PHP habit, th

Re: Lightbox + Cake

2007-03-12 Thread f.
Hi, > http://img88.imageshack.us/img88/5099/77614616od5.png I think string concatenation is done with '+' in Javascript. Maybe a PHP habit, the dot...;) greets, f. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Lightbox + Cake

2007-03-11 Thread Dr. Tarique Sani
On 3/11/07, Mech7 <[EMAIL PROTECTED]> wrote: > > When i try this i get an error like this? > > http://img88.imageshack.us/img88/5099/77614616od5.png > > I don't know any javascript so don't exactly know how to fix this :( Somehow this got missed - I have used Lightbox PLus in Cheesecake - feel fr

Re: Lightbox + Cake

2007-03-11 Thread Mech7
When i try this i get an error like this? http://img88.imageshack.us/img88/5099/77614616od5.png I don't know any javascript so don't exactly know how to fix this :( On Mar 4, 1:42 am, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > > > I have managed to get lightbox working in cake but had to set t

Re: Lightbox + Cake

2007-03-05 Thread Mech7
This one :) http://www.huddletogether.com/2006/03/29/lightbox-v20/ On Mar 5, 2:27 pm, "lukemack" <[EMAIL PROTECTED]> wrote: > lokesh huddled together??? wha > > On 4 Mar, 14:47, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > > > from Lokesh Huddled together. > > > {scriptblock} > > // vars

Re: Lightbox + Cake

2007-03-05 Thread lukemack
lokesh huddled together??? wha On 4 Mar, 14:47, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > from Lokesh Huddled together. > > {scriptblock} > // vars with paths here > {/scriptblock} > {scrriptsrc}source files for llightbox{/scrriptsrc} > > On 04/03/07, lukemack <[EMAIL PROTECTED]> wrote:

Re: Lightbox + Cake

2007-03-04 Thread Sam Sherlock
from Lokesh Huddled together. {scriptblock} // vars with paths here {/scriptblock} {scrriptsrc}source files for llightbox{/scrriptsrc} On 04/03/07, lukemack <[EMAIL PROTECTED]> wrote: > > > Hi - I wouls be interested to know which lightbox script you are > using? > > On Mar 4, 12:42 am, "Sam Sh

Re: Lightbox + Cake

2007-03-04 Thread lukemack
Hi - I wouls be interested to know which lightbox script you are using? On Mar 4, 12:42 am, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > > > I have managed to get lightbox working in cake but had to set these > > lines in > > > a scriptblock in a layout .thtml /.ctp > > yep . In a scriptblock in

Re: Lightbox + Cake

2007-03-03 Thread Sam Sherlock
> > > I have managed to get lightbox working in cake but had to set these > lines in > > a scriptblock in a layout .thtml /.ctp yep . In a scriptblock in a layout view such as default.thtml for example On 04/03/07, Mech7 <[EMAIL PROTECTED]> wrote: > > > Yes that would be possible but no php a

Re: Lightbox + Cake

2007-03-03 Thread Mech7
Yes that would be possible but no php acces in javascript files :( do you move this to the head of your document instead ? On Mar 3, 10:43 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > are the troublesome lines these: > > var webRoot = "webroot); ?>"; > > var fileLoadingImage = webRoot . "/img/

Re: Lightbox + Cake

2007-03-03 Thread Sam Sherlock
are the troublesome lines these: var webRoot = "webroot); ?>"; > var fileLoadingImage = webRoot . "/img/loading.gif"; > var fileBottomNavCloseImage = webRoot . "/img/closelabel.gif"; > I have managed to get lightbox working in cake but had to set these lines in a scriptblock in a layout .thtml /

Re: Lightbox + Cake

2007-03-03 Thread phirschybar
hmm. not sure I understand what you mean. Can you give an example? On Mar 3, 1:32 pm, "Mech7" <[EMAIL PROTECTED]> wrote: > Well the problem is when it is in a subdir then this does not work, > since you need the subdir in front of it, but when it changed you need > to edit them manual again :( >

Re: Lightbox + Cake

2007-03-03 Thread Mech7
Well the problem is when it is in a subdir then this does not work, since you need the subdir in front of it, but when it changed you need to edit them manual again :( On Mar 3, 6:21 pm, "phirschybar" <[EMAIL PROTECTED]> wrote: > if you prepend the image path with a '/' like '/img/...' it will tr

Re: Lightbox + Cake

2007-03-03 Thread phirschybar
if you prepend the image path with a '/' like '/img/...' it will trace back to the web document root and hit the right directory every time. So wherever you see images/ in the .js file, change it to /img or whatever you want. On Mar 3, 12:11 pm, "Mech7" <[EMAIL PROTECTED]> wrote: > The problem i

Re: Lightbox + Cake

2007-03-03 Thread Mech7
The problem is it does not work like css where it links relative from the file, but instead it writes html via dom in the document when needed.. so the path will link from a different directory depeding on which controller or page i am on :( On Mar 3, 6:06 pm, "Grant Cox" <[EMAIL PROTECTED]> wrot

Re: Lightbox + Cake

2007-03-03 Thread Grant Cox
If you put the lightbox images in the js folder (where your lightbox.js is) then they should work. A bit messy perhaps, but otherwise just edit the javascript file yourself to point to the correct location (ie ../img/ ) --~--~-~--~~~---~--~~ You received this mes

Re: Lightbox + Cake

2007-03-03 Thread phirschybar
I know if you are on linux you could do a symlink (symbolic link) so that the content of the lightbox images folder can be found in the default place for images where cake looks or vice versa. the command is: ln -s /path/to/folder/with/images name-of-shortcut does that help? On Mar 3, 8:21 am,

Lightbox + Cake

2007-03-03 Thread Mech7
Hi, I am trying to use lightbox in cake only the images paths for the html are defined in the javascript file. Is there anyway to get them linked automatically if they are in a different controller or hompeage ? As it then links from other directory ? --~--~-~--~~~---