knutsford01
New Coder
I am using card-circle.js
My Layout is
Thisis part of card-circle.js
How in Card.prototype.openCard = function(callback) {} can I pick up the value of
<input type="hidden" name="ClientID" id="ClientID" value="<% Response.Write(trim(rstList("ClientID"))) %>">
please
My Layout is
Code:<div class="card"> <div class="card__container card__container--closed"> ''''''''' <div class="card__content"> <i class="card__btn-close fa fa-times"></i> <div class="card__caption"> '''' </div> <div class="card__copy"> ''''''''' <br> <br> <form method="post" action="/" name="BookForm" id="BookForm" style="margin: 0px; padding: opx;"> <input type="hidden" name="ClientID" id="ClientID" value="<% Response.Write(trim(rstList("ClientID"))) %>"> <input type="hidden" name="BookThisArtist" id="BookThisArtist" value="Yes"> <button type="submit" class="btn btn-primary btn-sm">Book <% Response.Write(trim(rstList("ArtistBandName"))) %> Now</button> </form> <br> </h5> </span> </div>
Thisis part of card-circle.js
Code:
function Card(id, el) {
this.id = id;
this._el = el;
// Get elements.
this._container = $(this._el).find(SELECTORS.container)[0];
this._clip = $(this._el).find(SELECTORS.clip)[0];
this._content = $(this._el).find(SELECTORS.content)[0];
this.isOpen = false;
this._TL = null;
};
/**
* Open card.
* @param {Function} callback The callback [ICODE]onCardMove[/ICODE].
*/
Card.prototype.openCard = function(callback) {
this._TL = new TimelineLite;
var slideContentDown = this._slideContentDown();
var clipImageIn = this._clipImageIn();
var floatContainer = this._floatContainer(callback);
var clipImageOut = this._clipImageOut();
var slideContentUp = this._slideContentUp();
// Compose sequence and use duration to overlap tweens.
this._TL.add(slideContentDown);
this._TL.add(clipImageIn, 0);
this._TL.add(floatContainer, '-=' + clipImageIn.duration() * 0.6);
this._TL.add(clipImageOut, '-=' + floatContainer.duration() * 0.3);
this._TL.add(slideContentUp, '-=' + clipImageOut.duration() * 0.6);
How in Card.prototype.openCard = function(callback) {} can I pick up the value of
<input type="hidden" name="ClientID" id="ClientID" value="<% Response.Write(trim(rstList("ClientID"))) %>">
please
Last edited: