3214 Posts in 848 Topics by 810 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2389 Views |
-
how to use jquery and lightbox clone - prettyPhoto

31 August 2009 at 6:52am
Hi,
what would be the best way to use jquery and jQuery lightbox clone - prettyPhoto ?
I mean in which files should I place the javascript files, etc? e.g. for instance Page.ss
Since I have seen things like
/themes/myTheme/lib/jquery-1.3.2.min.js
in some silverstripe installations, I am not really shure why not to point to
/jsparty/jquery/jquery.js -
Re: how to use jquery and lightbox clone - prettyPhoto

4 September 2009 at 2:49pm
Hiya Emil,
Yeah - I quite often put this at the top of my Page.ss
<head>
<script type="text/javascript" src="jsparty/jquery/jquery-packed.js"></script>...
</head>Not sure if it's good practice or not but I don't see why not to use the files if they're there. Well.... until the locations change in 2.4 anyway!
Barry.
| 2389 Views | ||
|
Page:
1
|
Go to Top |

