I’ve been playing around with some javascript and CSS for creating DHTML dialogs. It works on Opera, Firefox, IE, and Konqueror. I’m pretty sure it will work on Safari (if anyone can comfirm that).
Once I’ve cleaned up the code and documented references, etc. I’ll make a zip available.
Click on the sample image to go to the demo.
Inspiration and ideas from SubImage and Lightbox.
I’ve posted new releases to both the Copperleaf Plus theme and the Copperleaf Photolog Plugin.
The biggest change is that I’ve rewritten the “photo of the day” components to make them more efficient. I’ve also added two new modes: newestrandom & newestroundrobin. These modes will pick up the newest photo of the day if it’s posted in the last 24 hours. After that it returns to either random or roundrobin mode.
A bug was found that was miscalculating the day of the week (Thx Leon for finding it). Additionally I set the minimum year to 1582 to align with the creation of the Gregorian calendar.
I’ve fixed the bug and posted the new release on the DHTML Calendar page.
I’ve posted new releases to both the Copperleaf Plus theme and the Copperleaf Photolog Plugin.
In addition to some bug fixes, I’ve added support for two additional “photo of the day” modes: random and roundrobin. They allow for additional customization of your site. Check them out!
One feature that I forgot to add was support for installations that do not have EXIF compiled/enabled in php. This has been fixed.
The plugin page can be found: here
I’ve made a small update to the Copperleaf Plus Theme that fixes a few div tags that could cause problems with plugins like FAlbum.
Until recently, the Copperleaf Photolog plugin was just a “Proof of Concept” since I’m working on a replacement. However, since I use CPL and development of it’s successor has been going very slow, I took some time and fixed a few bugs and added a few features. Here is a list of the updates. Enjoy.
- Added support for the TinyMCE editor in Wordpress 2.x.
- Fixed error when starting a post that doesn’t have an id yet.
- Fixed a bug that shows a blank add at the top of the Add Photos dialog.
- Added image id to the view on the write screen.
- Added support for resizing the original when being uploaded.
- Added support for stripping exif info from small images.
- Centered the dialogs on admin screens.
- Fix error when saving the new order in the rearrange dialog.
- Added support for inserting images into pages.
- Added a progress dialog when loading images from server dir.
- Fixed some CSS problems with the rearrange dialog.
The plugin page can be found: here
I’ve made available for download a DHTML script that can be used for selecting a date with a popup calendar. Details are available on the project page or you can go straight to the demo. The biggest thing I lack is testing on the less common browsers.
If it doesn’t work on your browser, please let me know the browser version, os version and symptoms.
Ok. I’ve released another patched version of the Copperleaf Plus Theme. There was a javascript bug in the handling in the sidebar expanders with Konqueror and Safari. Check it out.
Basically, there is code that does something like
var img = new Image(9,9);
...
somediv.appendChild(img);
This resulted in an exception being thrown by Konqueror and Safari. The fix was to change it to
var img = document.createElement('img');
...
somediv.appendChild(img);
I’ve just release an update to the Copperleaf Plus Theme. This update now includes a 404 page, better support for customization, and a few CSS tweaks. Check it out.
Recent Comments