Skip to content

Instantly share code, notes, and snippets.

@joanhey
joanhey / feed.phtml
Last active January 28, 2016 16:03
Kumbia Partial: show feed
<?php
/**
* Visualizar feed RSS por Joanhey
*
* @param string $name Nombre
* @param string $url URL completa del feed
* @return html
*/
if ($feed = simplexml_load_file($url)): ?>
@rickycheers
rickycheers / index.html
Created January 19, 2012 19:06
A very lightweight "Show/Hide" carousel in jQuery
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="showhide.js"></script>
<link rel="stylesheet" href="style.css" />
<title>Show Hide Snippet</title>
</head>
<body>
<div id="showhide_container">
<div class="showhide_element">Element #1</div>