![]() |
|
sterile + highslide - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: sterile + highslide (/thread-1731.html) |
sterile + highslide - bigjimmy - 2007-10-28 I modified the plain sterile theme and combine with highslide js. http://www.ceciliayou.com/photos/ sterile + highslide - sbillard - 2007-10-28 Nice. Did you modify the sterile theme from the WIKI? We have replaced that theme in the Community build with an option to the default theme and a CSS for the sterile look and feel. We would be interested in your changes if you apply them to default. You might consider making hte highslide an option. If that's too much for you, please do the modification so that the old image click code is commented out and the new clearly identified. Then one of us will put in the optin. sterile + highslide - bigjimmy - 2007-10-29 I'm not sure I know how to follow your steps, but here is what I did: I first added the following code into the head of the album.php of the default sterile theme that came with the zp.zip "> with
Copy the highslide folder from the highslide theme sterile + highslide - bigjimmy - 2007-10-29 I upload the theme on my website with updated version of highslide with caption control: http://www.ceciliayou.com/photos/sterile-highslide.rar someone please install it and see if it works thanks sterile + highslide - jayray999 - 2007-11-03 Excellent++. A theme that uses all the space available in the browser window [i]but no more[/i] to display the selected photo. No scrolling required to view the bottom half of the selected photo (a common problem plaguing many Zenphoto themes) unless you maximize the photo to its actual size. Maximization is only a click away. Theme is equally effective in portrait mode. Very fast compared to many others. Intutive. I don't expect anyone to hunt for buttons. [b]Possible bug[/b] [b]Questions for Jimmy[/b]
I think this one is worthy of being part of the official release. Congratulations. sterile + highslide - jayray999 - 2007-11-04 Tried this with ZP 1.1 soon after Tris announced the release. It just works! The admin drop-down options menu is of course missing but that is no biggie. sterile + highslide - bigjimmy - 2007-11-04 jayray999: sterile + highslide - aitf311 - 2007-11-04 To get the Admin Toolbox to display in any theme just use this: And then theme it! Drop this in your css file for sterile+highslide, ` admin, #admin_data{
} admin_data{
} admin h3 {
} ` sterile + highslide - jayray999 - 2007-11-04 @bigjimmy: Thanks for responding. I know Lightbox and use it (ChiliLight). I also just saw your excellent implementation with Lightbox in the other thread but my question was whether highslide.js can do the dimming effect. Probably will need a hack to modify highslide.js. Oh well... @aif311: Thanks. Will try this soon. sterile + highslide - jayray999 - 2007-11-04 Inspired by @bigjimmy and some code I found at the HighSlide JS forum I further hacked up things to produce the effect I wanted. See: http://www.jayantray.com/zenphoto/ This is my Zenphoto 1.1 test site. [b] [list]The hack[/list] Begin by using @bigjimmy's theme. Make sure it works for you. Then make the following changes:
`// this function puts the dark screen over the entire page function DarkenPage() {
} // this function removes the dark screen and the page is light again function LightenPage() {
}`
Find the following line in highslide.js:
Right after that add the following lines of code: `if (dir == 1) DarkenPage(); else LightenPage();` [i]Note that the added code goes in after the open brace[/i]
`#page_screen {
}`
` ` Thats it. Adjust opacity to desired levels and enjoy. I reduced mine to 0.6. I make no claims to originality. I used what I found over at the Highslide forums and modified it for the Zenphoto schema. Now I have exactly the effect I had in mind. For the legally minded, highslide.js is [i]not[/i] free for commercial use. A single domain license is $29 which is pretty fair. But it goes to show what a great project Zenphoto is. sterile + highslide - jayray999 - 2007-11-05 @ait311 I tried adding the admin dropbox. Made the zen.css change and added `` to the end of the section of index.php and album.php. It shows up but nothing else as both index.php and album.php pages go blank. And I get this error.
Note: The dots above are to conceal my server path. sterile + highslide - aitf311 - 2007-11-05 This was an error early on, you will need to download the latest SVN or use the nightly build: http://www.zenphoto.org/files/nightly sterile + highslide - jayray999 - 2007-11-05 Thanks, everything works. Sorry for not trying basic things before posting. sterile + highslide - acrylian - 2007-11-05 The theme is nice but not working correct in Safari 2.0.4 and in Opera 9.24. All thumbs are shown under each other in one long column instead of in rows. Everything else is fine. sterile + highslide - acrylian - 2007-11-05 Just to mention it: sterile + highslide - jayray999 - 2007-11-05 @acrylian: If you look closely I did mention both points you make (Safari bug and highslide license) in the passing. But I agree it is important to highlight these facts in case someone wants to use the theme as it stands. Thanks. @bigjimmy and everyone else: Any thoughts about the Safari (plus Opera) bug that @acrylian mentions? sterile + highslide - acrylian - 2007-11-05 @Jayray999: I indeed didn't read carefully enough. You did mention the licence! I just took a look at the demo the highslide site. Sorry for that! What I meant, too, is that the licence is not included with the above link. According the Safari/Opera Bug, I took a quick look: images {
} ` sterile + highslide - jayray999 - 2007-11-05 @acrylian: Thanks, it works. Test site updated. |