It is currently Mon Jul 28, 2014 8:27 pm Advanced search

Reorganised CSS

News and announcements from the author.

Reorganised CSS

Postby torstein.honsi » Fri Oct 31, 2008 11:30 am

In the latest release, 4.0.8, the CSS was reorganised into one singe highslide.css file. This makes it easier for all implementing Highslide, as the relative graphic paths don't have to be updated. The downside is the increased weight, but the file is well commented so removing parts of it should be relatively easy.

The latest release also includes a very clean looking new example with the caption text overlaid on the dark page background.
User avatar
torstein.honsi
Site Admin
 
Posts: 9185
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Postby RoadRash » Fri Oct 31, 2008 12:17 pm

Image
Hilde
Highslide Support Team

Overview of my Highslide sample pages: RoadRash.no
User avatar
RoadRash
 
Posts: 8207
Joined: Tue Jul 15, 2008 8:43 pm
Location: Fredrikstad, Norway

Re: Reorganised CSS

Postby EarlyOut » Fri Oct 31, 2008 6:07 pm

admin wrote:The latest release also includes a very clean looking new example with the caption text overlaid on the dark page background.

Very appealing, but with a large image and a multi-line caption, the expander doesn't "know" about the caption, and pushes it beyond the viewport. :cry:
User avatar
EarlyOut
 
Posts: 1705
Joined: Sun Nov 11, 2007 11:22 pm
Location: Sector R

Postby torstein.honsi » Sat Nov 01, 2008 11:24 am

Yes. That's the downside of the free floating caption. So for large captions you are better off either using a normal caption or using a higher marginBottom.
User avatar
torstein.honsi
Site Admin
 
Posts: 9185
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Postby EarlyOut » Sat Nov 01, 2008 4:26 pm

That was one of the nice surprises in version 4 - I no longer had to give my users a slider to select extra padding on the bottom margin to accommodate longer captions. :D

I never had any way of predicting how many lines of caption material there would be, since line-wrapping would produce different results depending on monitor resolution, font size chosen, etc. So, that was always a "take a guess" setting. Happy to get rid of it.
User avatar
EarlyOut
 
Posts: 1705
Joined: Sun Nov 11, 2007 11:22 pm
Location: Sector R

Postby torstein.honsi » Sun Nov 02, 2008 11:09 am

Yes me too. As for the free-floating caption, it is not really a new feature. I was just experimenting with the CSS when it struck me that I could set position:absolute to make Highslide ignore it's height.
User avatar
torstein.honsi
Site Admin
 
Posts: 9185
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway


Return to News

Who is online

Users browsing this forum: No registered users and 0 guests