A simple, accessible and customizable HTML5, YouTube and Vimeo media player.
<input type="range">
for volume and <progress>
for progress and well,<button>
s for buttons. There’s no <span>
or <a href="#">
button hacksThe clip-path property allows you to make complex shapes in CSS by clipping an element to a basic shape (circle, ellipse, polygon, or inset), or to an SVG source.
Can you use it ? Check CanIUse ..
Clippy allows you to create those clip paths with use. Use presets or create your own. Copy and past css and you are done ;)
“Gravity Forms for WordPress is a full featured contact form plugin that features a drag and drop interface, advanced notification routing, lead capture, conditional logic fields, multi-page forms, pricing calculations and the ability to create posts from external forms.”
There are multiple options how to handle the confirmation page. Gravity form allows you to send query parameters to the page it is redirecting to.
You can send all form information in the clear, via query variables, but that looks really messy. Its better to use something like this .. lead_id={entry_id} and query form information on the actual confirmation page.
This will output the submitted form data as an array, with all fields linked by field id.
1 2 |
$lead_id = intval( $_GET['lead_id'] ); $lead = RGFormsModel::get_lead($lead_id); |
When you are reusing the field data for your own purposes, its easier to deal with field names than with fields ids. So we get the form meta data
1 2 3 4 5 6 7 8 9 10 |
$form = RGFormsModel::get_form_meta( $lead['form_id'] ); foreach( $form['fields'] as $field ) { $values[$field['id']] = array( 'id' => $field['id'], 'label' => $field['label'], 'value' => $lead[ $field['id'] ], ); } |
and extend the lead array.
1 2 3 4 5 6 |
foreach($lead as $key => $val){ if(is_numeric($key)){ $lead_key = str_replace(" ", "_", strtolower($values[$key]['label'])); $lead[$lead_key] = $val; } } |
Before you needed to know the actual field id to get its value. Now you can use the generated lead key to get that value.
1 2 |
$field_key = 10; echo $lead[$field_key]; |
1 2 |
$field_key = "e-mail"; echo $lead[$field_key]; |
Much easier to reuse and remember :)
Crunz is a framework-agnostic package to schedule periodic tasks (cron jobs) in PHP using a fluent API.
MJML is a markup language designed to reduce the pain of coding a responsive email. Its semantic syntax makes it easy and straightforward and its rich standard components library speeds up your development time and lightens your email codebase. MJML’s open-source engine generates high quality responsive HTML compliant with best practices.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<mjml> <mj-body> <mj-container> <mj-section> <mj-column> <mj-image width="100" src="/assets/img/logo-small.png"></mj-image> <mj-divider border-color="#F45E43"></mj-divider> <mj-text font-size="20px" color="#F45E43" font-family="helvetica">Hello World</mj-text> </mj-column> </mj-section> </mj-container> </mj-body> </mjml> |
Blisk is a free Chromium-based browser built to increase quality and speed of web development and testing.
The browser is currently only available for Windows, Mac & Linux versions are following soon.
A JavaScript plugin for snazzy background particle systems.
1 2 3 4 |
particleground(document.getElementById('your-element'), { dotColor: '#ff0000', lineColor: '#ff0000' }); |
A simple plugin to create multi scrolling websites with two vertical scrolling panels.
“multiScroll.js is fully functional on all modern browsers, as well as some old ones such as Internet Explorer 8, 9, Opera 12… It works with browsers with CSS3 support and with the ones who don’t have it, making it ideal for old browsers compatibility. It is designed to work as well on touch devices such as mobile phones or tablets.”