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
| .SideModal__modal { | |
| max-width: 375px; | |
| width: 100%; | |
| height: 100%; | |
| background-color: #ffffff; | |
| position: fixed; | |
| top: 0; | |
| right: 0; | |
| z-index: 10001; | |
| transform: translateX(100%); |
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
| .ModalOverlay__container { | |
| top: 0px; | |
| position: fixed; | |
| height: 100%; | |
| width: 100%; | |
| z-index: 10002; | |
| } | |
| .ReviewPhotoGallery__container { | |
| height: 100%; |
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
| button { | |
| background-color: white; | |
| } | |
| div { | |
| background-color: #ddd; | |
| } | |
| div:hover { | |
| background-color: #000; |
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
| wp_register_script( 'home', get_template_directory_uri().'/js/home.js', array( 'site' ) ); // resgister the script and what you want it to load after | |
| $home_data = array( | |
| 'theme_url' => get_stylesheet_directory_uri() // create an array with any data you want to pass | |
| ); | |
| wp_localize_script( 'home', 'home_data', $home_data ); // localise that data and pass it through | |
| wp_enqueue_script( 'home' ); // enqueue the script ready for loading |
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
| $('body').on('click', '.overlay-box .button', function(){ | |
| console.log( $( this ).text() ); | |
| closeOverlay(); | |
| }); |
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
| require_once('external/bootstrap_nav_walker.php'); | |
| register_nav_menus( array( | |
| 'primary' => __( 'Primary Menu'), | |
| ) ); |
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
| // this is the id of the form | |
| $("#idForm").submit(function() { | |
| var url = "path/to/your/script.php"; // the script where you handle the form input. | |
| $.ajax({ | |
| type: "POST", | |
| url: url, | |
| data: $("#idForm").serialize(), // serializes the form's elements. | |
| success: function(data) |
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
| if (!mysqli_query($con,"INSERT INTO live_lounge_DB_1 (account_no_type, account_no, first_name, last_name, email, company, game_choice, already_tickets, guests, terms) VALUES ('$numberType','$accountNumber','$firstName','$lastName','$email','$companyName','$gameSelection','$alreadyTickets','$guests','$terms') ")){ | |
| echo("Error description: " . mysqli_error($con)); | |
| return false; | |
| } |
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
| <!-- Cycle output beginning using the div .job-wrapper as the wrapper for every 3 items --> | |
| <div class="grid full job-slider cycle-slideshow-jobs" data-cycle-slides=".job-wrapper" data-cycle-pager=".cycle-pager-jobs" data-cycle-timeout=5000 data-cycle-fx=scrollHorz> |
NewerOlder