Skip to content

Commit

Permalink
Version 1.1.2 now supports an option for hilighting specific elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Pickhardt committed Aug 25, 2011
1 parent 1d42041 commit 5cc1d8e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Guiders.js (version 1.1.1)
Guiders.js (version 1.1.2)
=========================

Guiders are a user experience design pattern for introducing users to a web application.
Expand Down
File renamed without changes.
13 changes: 7 additions & 6 deletions guiders-1.1.1.js → guiders-1.1.2.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* guiders.js
*
* version 1.1.1
* version 1.1.2
*
* Developed at Optimizely. (www.optimizely.com)
* We make A/B testing you'll actually use.
Expand All @@ -17,7 +17,7 @@

var guiders = (function($){
var guiders = {
version: "1.1.1",
version: "1.1.2",

_defaultSettings: {
attachTo: null,
Expand Down Expand Up @@ -55,6 +55,7 @@ var guiders = (function($){
_guiders: {},
_currentGuiderID: null,
_lastCreatedGuiderID: null,
_zIndexForHilight: 101,

_addButtons: function(myGuider) {
// Add buttons
Expand Down Expand Up @@ -164,12 +165,12 @@ var guiders = (function($){
$("#guider_overlay").fadeIn("fast");
},

_highlightElement: function(ele) {
$(ele).css({'z-index': 11});
_highlightElement: function(selector) {
$(selector).css({'z-index': guiders._zIndexForHilight});
},

_dehighlightElement: function(ele) {
$(ele).css({'z-index': 1});
_dehighlightElement: function(selector) {
$(selector).css({'z-index': 1});
},

_hideOverlay: function() {
Expand Down

0 comments on commit 5cc1d8e

Please sign in to comment.