TOP

v65:ageGate

<v65:ageGate></v65:ageGate>

Description: Asks the visitor to confirm that they are old enough to enter the site with a simple yes/no questionaire. Content is pulled for the age gate tag from a page in the admin panel with a keyword of "AgeGate"

Optional Attributes:

NoLink: this attribute sets the URL that you are redirected to if you answer no.

default: https://www.centurycouncil.org/
usage: <v65:ageGate NoLink="https://www.centurycouncil.org/"></v65:ageGate>

to override the redirect:
<v65:ageGate NoLink=""></v65:ageGate>

HTML Source Output:

<div id="v65-modalContainer">
 
     <div id="v65-modalViel">&nbsp;</div>

     <div id="v65-modalAgeVerification">
  
          <div id="v65-modalContent">
   
               <p>Content from your page with the "AgeGate" keyword.</p>

               <div class="v65-ageGate-yes">
                    <a href="/index.cfm?method=homepage.ageGate&referrerQueryString=">Yes</a>
               </div>
               <div class="v65-ageGate-no">
                    <a href="https://www.centurycouncil.org/">No</a>
               </div>

          </div>

     </div>

</div>

Base CSS from vin65.css:
#v65-modalContainer
#v65-modalViel
#v65-modalAgeVerification
#v65-modalContent
.v65-ageGate-yes
.v65-ageGate-no

Resource Bundle Elements:
AgeGateYes: Yes
AgeGateNo: No