It is currently Mon Sep 22, 2014 4:10 am Advanced search

Highslide now supports easing

News and announcements from the author.

Highslide now supports easing

Postby torstein.honsi » Fri Jan 25, 2008 12:50 am

Take full control over the way the slides open and close! Robert Penner's Easing Equations can now be called directly from Highslide. See hs.easing for demonstrations.
User avatar
torstein.honsi
Site Admin
 
Posts: 9198
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Postby EarlyOut » Fri Jan 25, 2008 2:35 am

I must be missing something, but I can't detect any difference at all in those examples, either in FF or IE7.

Correction - I actually can detect some differences, but it's very, very subtle!
User avatar
EarlyOut
 
Posts: 1705
Joined: Sun Nov 11, 2007 11:22 pm
Location: Sector R

Postby torstein.honsi » Fri Jan 25, 2008 9:43 am

If you are on an old system the easing may be lost. The easeInBack and easeOutBack are the most visible examples.
User avatar
torstein.honsi
Site Admin
 
Posts: 9198
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Postby EarlyOut » Fri Jan 25, 2008 3:19 pm

Yes, I'm on a 5-year-old PC that doesn't have a dedicated graphics card, so that may be the problem. Some of the easing examples just look slightly more uneven and jerky than the others, with a little "bounce" at the beginning or end, but that's about it.

Edit - Fiddling with hardware acceleration settings helps make the effects more visible. Time to get a new PC, but I'm dreading getting lumbered with Vista. :(
Last edited by EarlyOut on Sat Jan 26, 2008 3:17 am, edited 1 time in total.
User avatar
EarlyOut
 
Posts: 1705
Joined: Sun Nov 11, 2007 11:22 pm
Location: Sector R

Postby alan927 » Sat Jan 26, 2008 1:53 am

admin wrote:If you are on an old system the easing may be lost. The easeInBack and easeOutBack are the most visible examples.


easeInBack and easeOutBack are awesome! Definitely unique.
alan927
 
Posts: 42
Joined: Fri Sep 21, 2007 1:08 am

Postby EarlyOut » Sat Jan 26, 2008 5:20 am

One nasty little side-effect to using easeInBack: if the expanded image is wide enough to take up the entire browser window, the slight expansion just before the image closes causes scrollbars to appear, both in IE7 and in FF.

It can be avoided by setting easingClose to one of the other easing methods, like easeInQuad.
User avatar
EarlyOut
 
Posts: 1705
Joined: Sun Nov 11, 2007 11:22 pm
Location: Sector R

Postby torstein.honsi » Sat Jan 26, 2008 11:45 am

Code: Select all
Yes, I'm on a 5-year-old PC

That's why nobody made a thumbnail expansion script five years ago...
User avatar
torstein.honsi
Site Admin
 
Posts: 9198
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Postby bobsc » Mon Jan 28, 2008 1:44 am

Could you add "ActionScript 1.0 Equations" to the Configurator?
bobsc
 
Posts: 28
Joined: Sat Nov 24, 2007 10:39 pm

Postby torstein.honsi » Mon Jan 28, 2008 9:21 am

Right now the Configurator only covers customisation of the highslide.js itself, and the Easing Equations do not require any modication. But it would be nice to have the opportunity to experiment with it visually, so I will think about how easily it can be done.
User avatar
torstein.honsi
Site Admin
 
Posts: 9198
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Postby bobsc » Mon Jan 28, 2008 3:23 pm

It would be nice to add the Easing Equations to the Configurator because then you would have 1 less JS file and you could also pack it.

Mootools does it.
bobsc
 
Posts: 28
Joined: Sat Nov 24, 2007 10:39 pm

XP is *still* available!

Postby ericob » Sat Feb 02, 2008 11:06 am

EarlyOut wrote: <snip> Time to get a new PC, but I'm dreading getting lumbered with Vista. :(
XP is still for sale... you don't have to use Vista. :) And if you really really prefer XP, it could be worth the money to buy XP Professional: the end of life horizon is much farther out than for XP Home.
ericob
 
Posts: 2
Joined: Fri Jan 04, 2008 11:22 pm
Location: Seattle, Washington, USA

Postby velocity » Sat Mar 01, 2008 3:16 am

Very nice, great addition.

Could a rute from exanding to open be done in not-straight way?

Lets say the image does a circle in his expanding process.

I imagine it isnt so simple as it sounds(even if u have Robert Penner's Easing Equations )

And i said b4, very nice!
free will
velocity
 
Posts: 4
Joined: Thu Jan 31, 2008 11:39 pm

Postby torstein.honsi » Sat Mar 01, 2008 6:33 pm

Thanks velocity,

I believe this can be done if you hack the code for the expanding. Like it is now, if you set the easing, the top, left, width and height all follow the same setting. If you separate them I think you could make the image expand in funny ways. The place to hack this is the for loop in the changeSize function.
User avatar
torstein.honsi
Site Admin
 
Posts: 9198
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Postby vaikava » Wed Sep 17, 2008 3:09 am

This is awesome  but on images only. I can't see any effect on iframe-popups. Is this supported?
vaikava
 
Posts: 16
Joined: Tue Aug 19, 2008 1:46 pm

Postby torstein.honsi » Wed Sep 17, 2008 9:40 am

I can't see any effect on iframe-popups. Is this supported?


Yes, I just tested it with example-iframe.html and it works well.
User avatar
torstein.honsi
Site Admin
 
Posts: 9198
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