Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MultiformeIngegno
346
:cool: :cool: :cool: :cool:
347
Dragooon? :whistle:
348
Thanks for the reply! :)
I added it at the end of the page but if I visit http://lorenzoraffio.com/test.php#image7 it stills display the first image/caption in the big div..
349
Need a little help with this jQuery portfolio-style gallery.
As you can see there is a main image with a related caption and other small images below. If you click one of them the main image/caption changes to display the one you selected. If you notice when you hover the pointer on any of the images below the big one you get a link like test.php/#image3 or test.php/#image6.

I'm looking for a way to have that if you visit test.php/#image3 (directly, not through the onClick event) you have the #image3 as main image (so without having to click on it). The same for test.php/#image4 / #image5, etc.

The gallery uses the Galleriffic plugin for jQuery...

This is a small piece of the code:
Code: [Select]
// Global function that looks up an image by its hash and displays the image.
// Returns false when an image is not found for the specified hash.
// @param {String} hash This is the unique hash value assigned to an image.
gotoImage: function(hash) {
var imageData = $.galleriffic.getImage(hash);
if (!imageData)
return false;

var gallery = imageData.gallery;
gallery.gotoImage(imageData);

return true;
},

I think I need a script that adds onLoad the same even that happens onClick, using window.location.hash; to match the part after the # with the image.
350
The Pub / Re: I can add... oh wait...
« on January 2nd, 2013, 01:39 PM »
Seems a nice idea!
351
Features / Re: Badges and the displaying thereof
« on January 1st, 2013, 04:03 PM »
Looking good!! :D
352
Off-topic / Re: Happy New Years
« on January 1st, 2013, 02:23 PM »
I hope it's not as bad as 2012 has been
353
Off-topic / Re: How to Apply Thermal Paste the Kentucky Way
« on December 22nd, 2012, 11:25 AM »
Poor Depardieu :P
354
Off-topic / Re: Programming styles, and does it really matter?
« on December 17th, 2012, 12:18 AM »
How is IPB going?
355
Off-topic / Re: GMail domains
« on December 17th, 2012, 12:13 AM »
I only knew gmail.com and googlemail.com ... :)
356
Off-topic / Re: Programming styles, and does it really matter?
« on December 15th, 2012, 07:58 AM »
For what I know and understand, I agree with live. Pick the tool you need and you're more comfortable with, and be sure to be consistent and clear (it would help you in primis). :)
357
No no, of course it's not usable on Wedge (in fact I posted on Off Topic), I just wanted to share with you what seems a really interesting technique for big CDN/proxies. :)
359
The Pub / Re: Documentary Videos
« on December 5th, 2012, 07:32 PM »
I'm probably wrong and this wouldn't work but.. what if we serve the video from a different host/domain totally cached (it would only be the videos) by CloudFlare?
360
Plugins / Re: Word Count Limits
« on December 5th, 2012, 11:29 AM »
Nice! :))
On StackOverflow there are some limitations and every error appear in one line (so without mixing them: "you posted a too short message AND used badwords")..