Looking at the lightbox JS plugin which is very good and as it says, very simple to use.
I have found another one, called thickbox, this is slightly different than the lightbox mainly in that it has a smaller code base, but it can also be used to have HTML pages popping up in the same manner which I think is rather neat.
The main site that holds this code is here so you can see how it works.
You can see my attempt to get it to work with serendipity here
I have modified the code that was used for Lightbox to attempt to get it to work. I have managed to get the loading of the scripts done but it's the CSS file that is proving a problem to load up.
The basic commands that are used for loading the scripts, similar to lightbox.
You only need the following lines.
Code: Select all
<style type="text/css" media="all">
@import "css/global.css";
</style>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/thickbox.js" type="text/javascript"></script>
I'm out of idea on what to do next.
On the same token, I have done an upgrade to Lightbox js, but using lightbox 2.02 script.
You can download to review it from here Which works, again using the original Lightbox js script.
Just to add. I'm testing the script on S9y 1.1 alpha 7 build 02/07/06