<script type="text/javascript"> function fbs_click() { u = location.href; t = document.title; window.open('http://www.facebook.com/sharer.php?u=' + encodeURIComponent(u) + '&t=' + encodeURIComponent(t), 'sharer', 'toolbar=0,status=0,width=626,height=436');
<script type="text/javascript">
function fbs_click() {
u = location.href;
t = document.title;
window.open('
www.facebook.com + encodeURIComponent(u) + '&t=' + encodeURIComponent(t), 'sharer', 'toolbar=0,status=0,width=626,height=436');
return false;
}
</script>
-------------------------------------------------------------------------
u -> facebook ta ki kullanıcının tıkladığı zaman gideceği adres
t -> facebook ta gözükecek başlık
yazılmış.
adres ve başlığı nereye yazacağım.
u yu silip mi, location ı silip mi, href i silip mi?
bir örnek yapabilir miyiz?