Linking to a specific item on a jQuery portfolio-style gallery (Galleriffic)

I created a demo for you, here it is. 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.


You can use this:

$url  =  window.location.hash; 

this gives you the #imagex part of the url

Need Your Help

Export images embebbed in a Wordpress Database

sql database wordpress

I have imported a Blogger account into a Wordpress installation. But suddenly I saw that the table wp_posts grow up to 128 MiB, and I noticed that inside some posts there were embebbed images encod...

LinkedIn button shows up intermitent

button cross-domain linkedin

I am using the code to place a linkedIn Follow button (generated here on this page, (view Client Testimonials

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.