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 ($('#some_element').length == 0) { | |
//Add it to the dom | |
} |
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
$pizzas_hot_ready = get_post_meta($menu_adminId, 'pizzas_hot_ready', false); | |
foreach ($pizzas_hot_ready as $key => $value) { | |
echo '<span class="titulo '.$value['key'].'">'.$value['nombre'].'</span>'; | |
echo '<span class="descripcion '.$value['key'].'">'.$value['descripcion'].'</span>'; | |
echo '<span class="imagen '.$value['key'].'">'.$mediapath.$value['imagen'].'</span>'; | |
echo '<span class="identificador '.$value['key'].'">'.$key.'</span>'; | |
echo '<span class="from '.$value['key'].'">pizzas_hot_ready</span>'; //Cuidado!!! esto se cambia para cada digamos aqui es para las hot_ready | |
} |
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
// media query event handler | |
if (matchMedia) { | |
var mq = window.matchMedia("(min-width: 500px)"); | |
mq.addListener(WidthChange); | |
WidthChange(mq); | |
} | |
// media query change | |
function WidthChange(mq) { |
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
.select { | |
position: absolute; | |
width: 300px; /* With the padding included, the width is 190 pixels: the actual width of the image. */ | |
height: 50px; | |
padding: 15px 50px 0px 20px; | |
color: #aaa; | |
font-family: 'avenir_lt_35_lightregular'; | |
font-size: 22px; | |
background: url(../media/imagenes/seguros-autos/selectbox.png) no-repeat #fff right center; | |
overflow: hidden; |
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
jQuery(document).ready(function($){ | |
var localTime = +Date.now(); | |
var timeDiff = serverTime - localTime; | |
setInterval(function () { | |
var realtime = +Date.now() + timeDiff; | |
var date = new Date(realtime); | |
// hours part from the timestamp | |
var hours = date.getHours(); | |
// minutes part from the timestamp |
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
var activeSlide; | |
$(document).ready(function() { | |
$('.cycle').cycle({ | |
containerResize: 1, | |
width: 'fit', | |
after: function(curr, next, obj) { | |
activeSlide = obj.currSlide; | |
} |
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
var activeSlide; | |
$(document).ready(function() { | |
$('.cycle').cycle({ | |
containerResize: 1, | |
width: 'fit', | |
after: function(curr, next, obj) { | |
activeSlide = obj.currSlide; | |
} |
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 (!strchr($_POST['email'],"@") || !strchr($_POST['email'],".")) { echo "No es un correo valido";} |
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
Public Sub Asdf() | |
MsgBox ActiveDocument.Path | |
ThisDocument.WebBrowser1.Navigate (ActiveDocument.Path & "\semicircunferencias.html") | |
End Sub |
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
<q class="right">"It's not just selling a cat in a bag"</q> |