Skip to content

Instantly share code, notes, and snippets.

View Mashpy's full-sized avatar

Akhlasur Rahman (Mashpy) Mashpy

View GitHub Profile
<head>
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.2.min.js"></script>
</head>
<script>
$( document ).ready(function() {
$('.telephone').each(function(index){
var tel = $(this).attr('href');
var text_val = 'tel:'+ $(this).text().replace('-', '');
<countdown>00:00:00</countdown>
<input type="hidden" name="checkyear" id="checkyear" value="">
<script>
var countdown = document.getElementsByTagName('countdown')[0],
start = document.getElementById('start'),
stop = document.getElementById('stop'),
clear = document.getElementById('clear'),
seconds = 0, minutes = 0, hours = 0,
<iframe src="https://maps.google.com/maps?&amp;q=Your+location&amp;output=embed" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
http://robjscott.com/how-to-set-up-cpanel-whm-on-amazon-web-services/
http://tecadmin.net/setup-whm-cpanel-on-aws/
http://sanketdangi.com/post/58728960906/install-configure-host-website-whm-cpanel-aws
http://sanketdangi.com/post/57319414019/cpanel-compatibility-on-aws
http://www.inmotionhosting.com/support/edu/whm/creating-and-managing-accounts/how-to-create-a-cpanel-account
ptn3.mashpy13.10.k.1f
/*-----------------------------------------------------------------------------------*/
/* 5. Navigation
/*-----------------------------------------------------------------------------------*/
.menu, .menu * {
margin:0;
padding:0;
list-style:none;
}
.menu { line-height:1.0 }
.main-nav {
<div class="row">
[staff_loop]
<div class="span2">
<div class="backoverlay">
<img class="staff-member-photo" src="[staff-photo-url]" alt="[staff-name] : [staff-position]">
<div class="overlay" />
</div>
<div class="staff-member-info-wrap">
[staff-name-formatted]
[staff-position-formatted]
<div class="staff-member" >
<div class="span2">
<img alt="Per L. Saxegaard : Founder and Executive Chairman" src="http://bfp-new-mashpy-1-1.c9users.io/wp-content/uploads/2014/04/V6M4083.jpg" class="staff-member-photo">
<div class="staff-member-info-wrap">
<h3 class="staff-member-name">Per L. Saxegaard</h3>
<h4 class="staff-member-position">Founder and Executive Chairman</h4>
<a title="Email Per L. Saxegaard" href="mailto:per@businessforpeace.org" class="staff-member-email">per@businessforpeace.org</a>
</div>
</div>
</div>
<!DOCTYPE html>
<!--[if IE 8]>
<html xmlns="http://www.w3.org/1999/xhtml" class="ie8 wp-toolbar" lang="en-US">
<![endif]-->
<!--[if !(IE 8) ]><!-->
<html xmlns="http://www.w3.org/1999/xhtml" class="wp-toolbar" lang="en-US">
<!--<![endif]-->
function wpb_list_child_pages() {
global $post;
if ( is_page() && $post->post_parent )
$childpages = wp_list_pages( 'sort_column=menu_order&title_li=&child_of=' . $post->post_parent . '&echo=0' );
else
$childpages = wp_list_pages( 'sort_column=menu_order&title_li=&child_of=40&echo=0&depth=1' );