File tree Expand file tree Collapse file tree 6 files changed +1338
-4
lines changed Expand file tree Collapse file tree 6 files changed +1338
-4
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ ul.flex-direction-nav {
188
188
.member-level-icon {
189
189
display : block;
190
190
position : absolute;
191
- top : 90 px ;
191
+ top : 60 px ;
192
192
right : -50px ;
193
193
194
194
width : 225px ;
@@ -198,15 +198,15 @@ ul.flex-direction-nav {
198
198
}
199
199
200
200
.member-level-icon .fan {
201
- background : url (images/icn-fan.png) center top;
201
+ background : url (images/icn-fan.png) center top no-repeat ;
202
202
}
203
203
204
204
.member-level-icon .friend {
205
- background : url (images/icn-friend.png) center top;
205
+ background : url (images/icn-friend.png) center top no-repeat ;
206
206
}
207
207
208
208
.member-level-icon .hero {
209
- background : url (images/icn-hero.png) center top;
209
+ background : url (images/icn-hero.png) center top no-repeat ;
210
210
}
211
211
212
212
@@ -280,6 +280,10 @@ a.icon-search::before {
280
280
281
281
}
282
282
283
+ .member-level form a .button {
284
+ clear : none;
285
+ }
286
+
283
287
284
288
.choose-gifts {
285
289
background-color : # 378a9b ;
Original file line number Diff line number Diff line change @@ -89,6 +89,21 @@ $(function() {
89
89
var gift = $ ( this ) . nextAll ( ".choose-gifts" ) . slideToggle ( ) ;
90
90
gifts . not ( gift ) . slideUp ( ) ;
91
91
} ) ;
92
+
93
+ $ ( ".member-level .pay" ) . on ( "click" , function ( ) {
94
+ var a = $ ( this )
95
+ StripeCheckout . open ( {
96
+ key : 'pk_NjMf2QUPtR28Wg0xmyWtepIzUziVr' ,
97
+ image : a . data ( "image" ) ,
98
+ name : a . data ( "name" ) ,
99
+ description : a . data ( "description" ) ,
100
+ panelLabel : a . data ( "panel-label" ) ,
101
+ amount : a . data ( "amount" ) ,
102
+ token : function ( res ) {
103
+ alert ( res . id ) ;
104
+ }
105
+ } ) ;
106
+ } ) ;
92
107
} ) ( ) ;
93
108
} ) ;
94
109
You can’t perform that action at this time.
0 commit comments