<style>
.showMore {
background: url("http://www.directcall.com.br/public/img/arrow.png") no-repeat scroll left center transparent;
cursor: pointer;
padding-left: 20px;
}
.showMoreBox{
display:none;
}
</style>
<script>
function renderDirectCall(){
$.ajax({
dataType: 'jsonp',
data: 'retorno=retorno&slug=teste-menu-api-3',
jsonp: 'jsonp_callback',
url: 'http://www.directcall.com.br/index/proxy',
success: function () {
// do stuff
},
});
}
function retorno(json){
$("#conteudo").html(json.conteudo);
$('.showMore').click(function(){
var display = $(this).attr('display');
$('#'+display).slideToggle();
});
}
setTimeout("renderDirectCall()", 500);
</script>
<div id="conteudo"></div> |