Я использую следующий код, чтобы отобразить поле «Следуй за мной» слева от моего сайта.
Я хотел бы создать вторую кнопку прямо под этой кнопкой, которая отправляла бы людей, которые щелкали по ней, по ссылке RSS.
Как я мог это сделать?
Спасибо !,
Азим
<!-- by Twitter Follow Me Box v1.1 -->
<script type=\"text/javascript\">
//<![CDATA[
jQuery(document).ready(function(){
jQuery(\"body\").append(\"<div id=\\\"tfmBox\\\"></div>\");
jQuery(\"#tfmBox\").css({'position' : 'fixed', 'top' : '$top', 'width' : '30px', 'height' : '119px', 'z-index' : '1000', 'cursor' : 'pointer', 'background' : '#$color url(" . WP_PLUGIN_URL . "/twitter-follow-me-box/follow-me.png) no-repeat scroll $imagem_side top', '$side' : '0'});
jQuery(\"#tfmBox\").click(function () {
window.open('http://twitter.com/$twitter_account/');
});
});
//]]>
</script>
<!-- /by Twitter Follow Me Box -->