Aqui el codigo:
Código HTML :
<html> <head> </head> <body> <a href=# class="btn1"> <img src="buttons/fb.png" width=100 height=100></img> </a> <div id="facebookstream" style="display:none;"> <iframe src="facebook.html" frameborder=0 height="300px" width="275" scrolling=no></iframe></img> </div> <a href=# class="btn2"> <img src="buttons/twitter.png" width=100 height=100></img> </a> <div id="twitterstream" style="display:none;"> <iframe src="twitter.html" frameborder=0 height="300px" width="275" scrolling=no></iframe> </div> </body> </html>
el JS
Código Javascript :
$(document).ready(function(){ $(".btn2").click(function(){ $("#facebookstream").slideToggle('slow'); }); $(".btn1").click(function(){ $("#twitterstream").slideToggle('slow'); }); });
el css
Código :
#facebookstream { height: 300px; width: 275px; border: 1px black; position: absolute; bottom: 150px; left: 550px; overflow-y: scroll:none; display:none; z-index: 1000 } #twitterstream { height: 300px; width: 275px; border: 1px black; position: absolute; bottom: 150px; left: 650px; overflow-y: scroll:none; display:none; z-index: 1000 }
Ojala alguien me pueda ayudar...desde ya muchas gracias