zhaoz / slidescale Goto Github PK
View Code? Open in Web Editor NEWPicture gallery with incremental image preloading
Home Page: http://enragedcoconut.net/slidescale/
Picture gallery with incremental image preloading
Home Page: http://enragedcoconut.net/slidescale/
The top section is offset the wrong amount on IE6. The thumbnails work as expected, but the top image shown doesn't match the selected thumbnail.
SlideScale currently calculates the path of image thumbnails as well as the detailed images by using the path passed into the "name" parameter. SlideScale should be able to take separate path for both thumbnails and detailed images. When these are present, SlideScale should use them. Otherwise it should fall back to its normal way of calculating paths from one partial path.
For usability, it would help if the left and right arrows had an option to be visible at all times. You mentioned that making them slightly visible was an option. I like that idea.
Right now the behavior is to center the first image at index 0, but I would like to center the image at index 1 in order to balance the layout. Having an arbitrary index to center would be nice. If the index doesn't exist with the images, the default could be to start at 0.
Since this is going to be used for showcasing products that customers would likely want to know more about, it would be nice if there was a way to include links within the gallery. One way that seems to make sense is to make the caption clickable. Perhaps ff a url is passed to an href parameter, slidescale will use it to make the caption a link.
Currently, slidescale assumes that you are going to be using a relative path such as "catalog/my_image.jpg" for the value for "name". When I attempt to use an absolute path such as "http://host.com/my_image.jpg" it is turned into "/http://host.com/my_image.jpg" (note the leading slash). I would expect that slidescale detects when a url begins with "http://" and adjusts the way it builds the path.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.