A demonstration of text clipping
A Pen by Crisman Noble on CodePen.
| $('document').ready(function(){ | |
| $('.mc-form-example').submit(function(e){ | |
| //prevent the form from submitting via the browser redirect | |
| e.preventDefault(); | |
| //grab attributes and values out of the form | |
| var data = {email: $('#mc-email').val()}; | |
| var endpoint = $(this).attr('action'); | |
| <?php | |
| //fill in these values for with your own information | |
| $api_key = 'Y0UR_AP1_K3Y'; | |
| $datacenter = 'us6'; | |
| $list_id = '24d099dff7'; | |
| $email = $_POST['email']; | |
| $status = 'pending'; | |
| if(!empty($_POST['status'])){ |
| { | |
| "adult": false, | |
| "backdrop_path": null, | |
| "belongs_to_collection": null, | |
| "budget": 500000, | |
| "genres": [ | |
| { | |
| "id": 27, | |
| "name": "Horror" | |
| } |
| { | |
| "backdrop_path": "\/okhLwP26UXHJ4KYGVsERQqp3129.jpg", | |
| "created_by": [ | |
| { | |
| "id": 63554, | |
| "name": "Dave Erickson", | |
| "profile_path": null | |
| }, | |
| { | |
| "id": 1223867, |
| var tid = setInterval(function(){if (document.readyState!=='complete' ) return;clearInterval( tid );var head = document.head || document.getElementsByTagName('head')[0],style = document.createElement('style'), cssContent = ':before,:after{content:none !important}';style.type = 'text/css';if (style.styleSheet){style.styleSheet.cssText = cssContent;} else {style.appendChild(document.createTextNode(cssContent));}head.appendChild(style);setTimeout(function(){head.removeChild(style);}, 0);}, 40 );document.onreadystatechange; |
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_size = 2 | |
| indent_style = space | |
| insert_final_newline = false | |
| trim_trailing_whitespace = true |
| { | |
| "bold_folder_labels": true, | |
| "color_scheme": "Packages/Monokai Extended/Monokai Extended Bright.tmTheme", | |
| "convert_tabspaces_on_save": true, | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], | |
| "save_on_focus_lost": true, | |
| "tab_size": 2, |
| javascript:(function(){console.log('nothing');})(); |
| # editorconfig.org | |
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_size = 2 | |
| indent_style = space | |
| insert_final_newline = true |
A demonstration of text clipping
A Pen by Crisman Noble on CodePen.