function shareOrkut(titulo, subtitulo, seletorImagem, linkPagina){
var params = {};
var url = 'http://promote.orkut.com/preview?nt=orkut.com';
if (linkPagina == undefined){
url += '&du=' + encodeURIComponent(window.location.href);
}else{
url += '&du=' + encodeURIComponent(linkPagina);
}
url += '&tt=' + encodeURIComponent(titulo);
url += '&cn=' + encodeURIComponent(subtitulo);
url += '&tn=http://www2.claro.com.br/promocoes/pre-pago/img/share.jpg';
var parametros = "height=495,width=680,directories=0,location=1,menubar=0,resizable=0,scrollbars=1,status=1,toolbar=0";
janela = window.open(url,'orkut',parametros);
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.