Skip to content

Instantly share code, notes, and snippets.

@agustinhaller
agustinhaller / product.html
Created November 13, 2012 22:26
nuevo modal
<ul class="log-in-options">
<li class="log-in-option">
<a data-popupTitle="Compartir en Facebook" href="https://www.facebook.com/sharer/sharer.php?u=http://bumbea.com" class="btn-block zocial facebook">Compartir en Facebook</a>
</li>
<li class="log-in-option">
<a data-popupTitle="Compartir en Twitter" href="https://twitter.com/intent/tweet?text=pepe&via=bumbea_com" class="btn-block zocial twitter">Compartir en Twitter</a>
</li>
<li class="log-in-option">
<a data-popupTitle="Compartir en Google+" href="https://plus.google.com/u/0/share?url=http://www.youtube.com/watch?v%3D61ScLjYlDKU%26feature%3Dshare%5Cu0026source%3Dyt">Compartir en Google+</a>
</li>
function saveCursor($cursor, $twitter_username)
{
$conn = connect_db();
if($conn!=false)
{
$q_uscht = "UPDATE users_followers
SET next_cursor = ".$cursor."
WHERE tw_account = '".$twitter_username."'";
@agustinhaller
agustinhaller / product.html
Created November 12, 2012 13:00
modal css
#authentication-modal #login-popover
{
text-align: center;
}
#authentication-modal ul.log-in-options
{
margin: 0px;
padding: 0px;
list-style: none;
@agustinhaller
agustinhaller / product.html
Created November 12, 2012 12:58
nueva partial de logon
<!-- Nueva Partial -->
<form action="/Account/LogOn" method="post">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="authentication-modal-label">Debes estar logueado para realizar esta acción</h3>
</div>
<div class="modal-body">
<!-- ESTO ES PARTE DE LA PARTIAL VIEJA -->
<div id="login-popover">
<ul class="log-in-options">
// Product images scroller
$(".thumbnails-list").delegate(".thumbnail-item", "click", function(event){
event.preventDefault();
var thumb_image = $("img", this).attr('src'),
$thumb_image_container = $("img", this),
big_image = $(".product-images-wrapper .displayed-image").attr('src'),
$big_image_container = $(".product-images-wrapper .displayed-image");
// Now lets switch images
var $container = $('.products-list'),
$pepe = $('<li class="product-item">'+
'<div class="thumbnail product-wrapper">'+
'<div class="product-image">'+
'<a href="#" title="product image">'+
'<img alt="" src="http://dev.bumbea.com/site/img/resources/user-photo-2.jpeg"/>'+
'</a>'+
'</div>'+
'<div class="review-details">'+
'<a class="reviewer-image" href="#" title="product image">'+
@agustinhaller
agustinhaller / index.html
Created November 11, 2012 22:38
estilos
.header-actions .social-presence
{
position: fixed;
background: #fff;
padding: 5px 10px;
border-top: none;
top: 0px;
right: 20px;
border-radius: 0px 0px 10px 10px;
}
ul.team-list li.team-member img.member-image
{
height: 200px;
}
ul.team-list li.team-member
{
width: 285px;
}
@agustinhaller
agustinhaller / about.html
Created November 11, 2012 20:25
estilos about
.main-content .basic-information
{
background: #FFF;
padding: 20px;
}
.basic-information h4
{
color: #777;
}
<div class="thumbnail basic-information">
<h3>Ayuda</h3>
<h4>¿Que es Bumbea?</h4>
<p>
bla bla bal bla
</p>
</div>