|
Book preview: JQuery 1.4 Animation Techniques: Beginners Guide |
||||||||
I've just been sent a preview copy of the new JQuery 1.4 Animation techniques: beginners Guide from Packt publishing.
It is pitched as:
I'll be reading through it over the Easter break and putting a review up here, so keep an eye out.
In the meantime you can see a synopsis and read a preview chapter here:
https://www.packtpub.com/jquery-14-animation-techniques-beginners-guide/book

|
Triggering functions when closing a fancybox pop up |
||||||||
I needed to have the parent page change when the user had performed an action within the pop up. But how to do this?
FancyBox (http://fancybox.net/) has a 'onClosed' option to allow you to embed a function call whenever the user closes the lightbox.
The format of this is a little tricky, so here is an example:
2$.fancybox({
3 'autoDimensions': false,
4 'speedIn' : 600,
5 'speedOut' : 200,
6 'overlayShow' : true,
7 'width' : 440,
8 'height' : 340,
9 'type' : 'iframe',
10 'scrolling' : 'no',
11 'transitionIn' : 'elastic',
12 'transitionOut' : 'fade',
13 'enableEscapeButton' : 'true',
14 'overlayOpacity' : 0.5,
15 'title' : '',
16 'href' : 'yourpage.htm',
17 'onClosed' : function() { alert('closed'); }
You can build any function you want in this call, it is normal JavaScript after all, if you just wanted to reload the page you could have a refresh function:
2
3parent.location.reload(true);
4
5}
This seems to work for any method of closing the Fancybox as well, so it will always fire.
|
Plesk 10.1.1 release adds ColdFusion 9 support |
||||||||
Previously Plesk could only integrate with ColdFusion 8 as it caused instability issues with ColdFusion 9.
There isn't much about this in the release notes, just a simple statement.
The full release notes article is here: http://download1.parallels.com/Plesk/PP10/10.1.1/release-notes/parallels-plesk-panel-10.1.1-for-windows-based-os.html
I'm hoping it works well as I've just commissioned a new server running both these software versions.
|
Getting Video thumbnails from YouTube |
||||||||
There is a demo of this here: http://www.mccran.co.uk/examples/youtube-thumbs/








