Last active
December 17, 2015 15:09
-
-
Save Neo1981/5629535 to your computer and use it in GitHub Desktop.
This is code for applying a custom message when a site hits capacity.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Written by: Nadeem Ramjan on 5/22/2013 --> | |
| <!--Step 1: Add the followin above the "MetronDiv"--> | |
| <div id="CustomCapacityMessage"> | |
| <p> | |
| We apologize but the capacity for this meeting has been met.<br/> | |
| Please contact <A href="mailto:[email protected]">[email protected]</a> | |
| </p> | |
| </div> | |
| <!--Step 2:Add the following to the the bottom of the template--> | |
| <script> | |
| if( document.getElementById("Message_MessageLabel")!=null) | |
| { | |
| $("#Message_MessageImage").hide(); //hide standard message | |
| $("#Message_MessageLabel").hide(); //hide standard confirm message | |
| $("#CustomCapcityMessage").show(); //show custom confirm message | |
| } | |
| </script> | |
| <!--Step 3: Add the following CSS to the "<style>" section in the "head" of your template--> | |
| #CustomCapacityMessage {display:none;} | |
| <!-- Upload your file and test. With this code you can implement a custom confirmation message--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment