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

Added separate linking from primary image panel #26

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
65 changes: 65 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,71 @@
GalleryView - jQuery Content Gallery Plugin
Author: Jack Anderson

Version 3.0 DEV 2 - 2012-07-10
Change author: Joel Etherton
----------------------------------------
Removed option "panel_clickable". Added option "clickable" as a string to specify which items respond to the item link.

New options:
- clickable
- STRING: specifies which element responds to the item link. Valid options: all|panel|overlay|none

Usage-script:

$(function () {
$('#myGallery').galleryView({
clickable: 'all'
});
});

Version 3.0 DEV 2 - 2012-06-26
Change author: Joel Etherton
----------------------------------------
Added a new option to allow for the primary panel image to display in a random order while the "slideshow" is playing.
Also modified the showNext method to perform the randomness while the playing flag is set.

New option:
- play_random_order
- BOOLEAN: flag to indicate that the slideshow should be random

Usage-script:

$(function () {
$('#myGallery').galleryView({
play_random_order: true
});
});


Version 3.0 DEV 2 - 2012-06-26
Change author: Joel Etherton
----------------------------------------
Added image linking directly for the panel. Added 2 options to support this linking (described below).
The panel itself becomes a clickable link which can redirect to any url specified in the data-href attribute
of the original image html.

New options:
- panel_clickable
- BOOLEAN: flag to indicate that the panel should have a clickable link
- link_newwindow
- BOOLEAN: flag to indicate that panel links should/should not open in a new window

Usage-script:

$(function () {
$('#myGallery').galleryView({
panel_clickable: true,
link_newwindow: false
});
});

Usage-html:

<li><img src="myImage.jpg" data-href="http://www.google.com/" />

There are many more options that probably should be available, but this provides baseline functionality.


Version 3.0 DEV - 2012-03-21
----------------------------------------

Expand Down
4 changes: 4 additions & 0 deletions css/jquery.galleryview-3.0-dev.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,8 @@
width: 20px;
cursor: pointer;
background: url(themes/light/panel-prev.png) top right no-repeat;
}

.cursor_pointer {
cursor: pointer;
}
Loading