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

Update responsiveslides.js #264

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions responsiveslides.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"pause": false, // Boolean: Pause on hover, true or false
"pauseControls": true, // Boolean: Pause when hovering controls, true or false
"prevText": "Previous", // String: Text for the "previous" button
"nameClassNext":"next", // String: Name for the class of button "next"
"nameClassPrev":"prev", // String: Name for the class of button "prev"
"nextText": "Next", // String: Text for the "next" button
"maxwidth": "", // Integer: Max-width of the slideshow, in pixels
"navContainer": "", // Selector: Where auto generated controls should be appended to, default is after the <ul>
Expand Down Expand Up @@ -308,8 +310,8 @@
// Navigation
if (settings.nav) {
var navMarkup =
"<a href='#' class='" + navClass + " prev'>" + settings.prevText + "</a>" +
"<a href='#' class='" + navClass + " next'>" + settings.nextText + "</a>";
"<a href='#' class='" + navClass +" "+settings.nameClassPrev +"' >" + settings.prevText + "</a>" +
"<a href='#' class='" + navClass +" "+settings.nameClassNext +"' >" + settings.nextText + "</a>";

// Inject navigation
if (options.navContainer) {
Expand Down