Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple Scrollable demo for Tools 1.2.6 needs updating #15

Open
alibby251 opened this issue Aug 30, 2011 · 1 comment
Open

Simple Scrollable demo for Tools 1.2.6 needs updating #15

alibby251 opened this issue Aug 30, 2011 · 1 comment

Comments

@alibby251
Copy link
Contributor

This needs updating on the site to use jQuery Tools 1.2.6 and jQuery 1.6.2 - example of fixed version at http://www.tribalmystic.com/tools/demos/scrollable/gallery.html.

@alibby251
Copy link
Contributor Author

This is the fix that needs to be applied:

// call this function after it's loaded
img.onload = function() {

// make wrapper fully visible
/wrap.fadeTo("fast", 1);/

// change the image
wrap.find("img").attr("src", url);

// fade-in image
$("#image_wrap img").hide().fadeIn('fast');

// get handle to element that wraps the image and make it semi-transparent
var wrap = $("#image_wrap")/.fadeTo("medium", 0.5)/;
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant