This is a nifty way to animate you mobile menu button into an x when it is open.
A Pen by Reyjay Solares on CodePen.
<!--- This is the video link ---> | |
<a href="##"><img src="#videoItem.getImageUrl()#" data-link="#videoItem.getVideoLink()#" alt="#videoItem.getTitle()#"></a> | |
<!-- Video modal --> | |
<div class="modal videoModal" id="videoModal"> | |
<div class="modal-dialog"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><span class="glyphicon glyphicon-remove-sign"></span></button> | |
</div> |
#REReplaceNoCase(text, "<[^[:space:]][^>]*>", "", "ALL")# |
<cfscript> | |
/** | |
* Deletes a var from a query string. | |
* Idea for multiple args from Michael Stephenson ([email protected]) | |
* | |
* @param variable A variable, or a list of variables, to delete from the query string. | |
* @param qs Query string to modify. Defaults to CGI.QUERY_STRING. | |
* @return Returns a string. | |
* @author Nathan Dintenfass ([email protected]@changemedia.com) | |
* @version 1.1, February 24, 2002 |
<script type="text/javascript"> | |
// jQuery plugin to prevent double submission of forms | |
jQuery.fn.preventDoubleSubmission = function() { | |
$(this).on('submit',function(e){ | |
var $form = $(this); | |
if ($form.data('submitted') === true) { | |
// Previously submitted - don't submit again | |
e.preventDefault(); | |
alert('prevented'); |
<cfif $.slatwall.getProductSmartList().getPageRecordsShow() eq 10> | |
<cfset $.slatwall.getProductSmartList().setPageRecordsShow( 15 ) /> | |
</cfif> |
<cfif #$.content().getStats().getComments()# gte 1 > | |
<hr/> | |
</cfif> |
<cfset rs=application.contentManager.getCategoriesByHistID(request.contentBean.getContentHistID())> | |
<cfloop query="rs"> | |
#name# | |
</cfloop> |
Associated Image URL - #item.getImageURL()# | |
*****ATRIBUTE SET**** | |
Add custom attribute set to iterator loop - #item.getValue('ContentTypes')# | |
<cfproperty name="contentHistID" type="string" default="" required="true" /> |