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
| function removeEvent( ellement , type , callback ) | |
| { | |
| if ( ellement.detachEvent ) | |
| { | |
| ellement.detachEvent( 'on' + type , callback ); | |
| } | |
| else | |
| { | |
| ellement.removeEventListener( type , callback ); | |
| } |
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
| function triggerEvent( ellement , type ) | |
| { | |
| if ( 'createEvent' in document ) | |
| { | |
| var e = document.createEvent( 'HTMLEvents' ); | |
| e.initEvent( type , false , true ); | |
| ellement.dispatchEvent( e ); | |
| } | |
| else | |
| { |
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
| function depend( url , callback ) | |
| { | |
| var script = document.createElement( 'script' ); | |
| var scripts = document.getElementsByTagName( 'script' )[0]; | |
| script.async = true; | |
| script.onload = function() | |
| { | |
| script.onload = null; | |
| callback(); | |
| } |
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
| <gmap data-lat='12.3456789' data-lan='2.345678' data-zoom='17' data-type='roadmap'> | |
| <marker data-lat="12.3456789" data-lan="2.345678" data-open="true"> | |
| <h4>Company name</h4> | |
| <p>Here goes a company description</p> | |
| </marker> | |
| </gmap> |
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
| <gmap data-type='roadmap' data-mapAutoCenter='true'> | |
| <marker data-lat="12.3456789" data-lan="2.345678"> | |
| <h4>Company name</h4> | |
| <p>Here goes a company description</p> | |
| </marker> | |
| <marker data-lat="13.3456789" data-lan="3.345678"> |
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
| /* | |
| -- VA79 Typography | |
| */ | |
| html, body { | |
| font-family: 'Open Sans', Helvetica, sans-serif; | |
| font-size: 15px; | |
| } | |
| * { | |
| font-family: 'Open Sans', Helvetica, sans-serif; |
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
| # | |
| ### HTACCESS RULES TO SPEED UP WORDPRESS | |
| # | |
| ### / START DEFLATE COMPRESSION | |
| <IfModule mod_deflate.c> | |
| AddOutputFilterByType DEFLATE application/javascript | |
| AddOutputFilterByType DEFLATE application/rss+xml | |
| AddOutputFilterByType DEFLATE application/vnd.ms-fontobject | |
| AddOutputFilterByType DEFLATE application/x-font | |
| AddOutputFilterByType DEFLATE application/x-font-opentype |
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
| <?php | |
| /* Add a action to enqueue styles */ | |
| function my_theme_enqueue_styles() | |
| { | |
| } | |
| add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); | |
| ?> |