Jul
6
6
Elastislide – links to pages does not work. How to fix it.
I’ve recently used the Elastislide slider on a WordPress site and got some problems when adding links to pages inside the slider.
I’ve found the problem and here is how you fix the Elastislide bug:
Open the javascript file jquery.elastislide.js and go to line 265.
Find the code that says:
// item click event
this.jQueryitems.bind(‘click.elastislide’, function( event ) {
instance.options.onClick( jQuery(this) );
return false;
});
Just change “return false;” to “return: true;”
OR
Add an ‘onClick’ option to your initialise object …
ie
$(‘#carousel’).elastislide({
imageW : 120,
minItems : 2,
border : 0,
onClick : true
});
That’s it!
11 Comments to “Elastislide – links to pages does not work. How to fix it.”
Leave a comment
Welcome to my blog! I hope you find some useful info here. I will try to update it regularly.
The Latest Stuff
- Lost in translation – Premier League Newcomer Chippa Mpengesi
- Some outtakes from Gordon Ramsey in Hell’s Kitchen
- Photography 101: Choosing the Right Camera That Suits You
- BMW GS1200 Bike stolen on 22 April 2013 in Edenvale with registration WTW 648 GP. Please comment if you know anything.
- Win a one-way ticket to Mars never to come back, apply now!
- Metallica Johannesburg – All you need to know to make sure you get into the stadium as quick and easy as possible – Big Concerts
- Jozi Craft Beer Festival 4 May Marks Park Emmerentia
- Win a holiday to Thailand for two! PartyofaLifetime
- CANSA’s 10th Shavathon – shave it, spray it, stencil it or gel it!
- MotoMia Scooter review: The Java 170cc scooter from MotoMia Rosebank
- Russell Brand interviews two members of the Westboro Baptist Church
- MASSIVE HAIL STORM EXPECTED 21 Nov 2012 in the afternoon in the East Rand!
- Buy your Metallica tickets online now. Computicket and Eventshopper Johannesburg and Cape Town
- The Anne Hirsch Show : S01 E15 Zolani Mahola (Freshlyground)
- The Making Of: DIE ANTWOORD – FATTY BOOM
- The Athlete Machine – Red Bull Kluge
- Jack Parrow on The Anne Hirsch Show S01 E13
- Unlock the 007 in you. You have 70 seconds!
- St Francis Bay SOS – fire burning down over 100 houses 11 Nov 2012
- World War Z – New Movie Trailer
- Fake Red Light District tour with happy ending [LifeHunters]
- Arno Carstens on the Anne Hirsch Show S01 E13
- Chuck Norris stops a chainsaw bare handed. Ha ha classic Chuck Norris
- The 1Time liquidation situation and how to get your money back for booked flight tickets with credit card refund
- A Good Day to Die Hard Official Trailer 2013 – Bruce Willis brand new Die Hard Movie
- Please donate to my Movember page. It’s for a good cause.
- New episode on The Anne Hirsch show. Colin Moss (Halloween Edition) S01 E12
- Some tips on how to grow a full and thick moustache for Movember with Nick Offerman
- The Great Zombie Walk 2012 – Zombies invade Cape Town
- Opa Sandy Style – Two guys doing Gangnam style on the weather channel reporting hurricane Sandy
- The Adventures of Francdore is on 12 000 visits per month. Let’s try and make it more. Thank you!
- Ozzy Osbourne – Who the fuck is Justin Bieber. Interview by Mark Hoppus
- How the gentlemen died out
- A tiny problem
- Emo Adams (Actor/Musician) on The Anne Hirsch Show : S01 E11
- The new official Iron Man 3 movie trailer
- Biggest hale storm I’ve ever seen in Edenvale, Boksburg, Benoni and Midrand
- The Anne Hirsch Show : S01 E10 Francois van Coke (Fokofpolisiekar)
- I think you’re a cunt
- Traditional ghosts and sexy ghosts









Thank you but i think better idea is to change “return false” to “return true”
Acutally all you need to do is add an ‘onClick’ option to your initialise object …
ie
$(‘#carousel’).elastislide({
imageW : 120,
minItems : 2,
border : 0,
onClick : true
});
Thanks for the comment.
Thank you.
it`s work.
thanks.. for your help.
Thanks ! That saved me a lot of trouble and time !
Pleasure man!
Great feedback. Its workıng now… Thank you a lot
Thank you! Save me a lot of time.
I have been pulling my hair out trying to get Elastislide to work with WordPress, specifically on the Genesis Framework. Has anyone been able to successfully achieve this and if so, would you be willing to share? Thank you.
Thanks for this tip. This confirms what I experienced while trying to use Elastiside on a WordPress blog together with PrettyPhoto. PrettyPhoto was adding a link icon which was intended to be clickable but I discovered that Elastiside was preventing the click from working. I fixed it by commenting out the four lines after the comment // item click event.