BETAforum

Объявление

Техническая помощь Дизайнерская помощь
Навигация по форуму
Третий баннер Четвертый баннер
By Leonheart

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » BETAforum » Тестовый форум » Тестовое сообщение


Тестовое сообщение

Сообщений 11 страница 20 из 28

11

<script type="text/javascript">
$(function() {
$('a.permalink').each(function(){
$(this).append('<div id="share" style="margin: -18px 10px 0 0; text-align: right;"><g:plusone size="medium"  href="'+$(this).attr('href')+'"></g:plusone><a title="Опубликовать ВКонтакте" href="http://vkontakte.ru/share.php?url='+$(this).attr('href')+'"><img src="http://livetweet.ru/style/imgs/shricn_vk.ico" ></a><a title="Опубликовать в Facebook" href="http://www.facebook.com/share.php?u='+$(this).attr('href')+'"><img src="http://livetweet.ru/style/imgs/shricn_fb.ico" ></a> <a title="Опубликовать в Twitter" href="http://twitter.com/share?url='+$(this).attr('href')+'"><img src="http://livetweet.ru/style/imgs/shricn_tw.ico" ></a> <a title="Опубликовать на Одноклассниках" href="http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl='+$(this).attr('href')+'"><img src="http://livetweet.ru/style/imgs/shricn_cl.ico" ></a> <a title="Опубликовать в Моем Мире" href="http://connect.mail.ru/share?share_url='+$(this).attr('href')+'"><img src="http://livetweet.ru/style/imgs/shricn_mm.png" ></a> <a title="Опубликовать на Я.ру" href="http://share.yandex.ru/go.xml?service=yaru&url='+$(this).attr('href')+'"><img src="http://livetweet.ru/style/imgs/shricn_ya.ico" ></a> <a title="Опубликовать в ЖЖ" href="http://www.livejournal.com/update.bml?event='+$(this).attr('href')+'"><img src="http://livetweet.ru/style/imgs/shricn_lj.png" ></a> <a title="Добавить в Memory" href="http://memori.ru/link/?sm=1&u_data[url]='+$(this).attr('href')+'"><img src="http://livetweet.ru/style/imgs/shricn_me.ico" ></a></div>');
    }); });
</script><script type="text/javascript" src="https://apis.google.com/js/plusone.js">{lang: 'ru'}</script>

0

12

1

0

13

2

0

14

3

0

15

3

0

16

4

0

17

5

0

18

Код:
<!--Дизайн-->
<script type="text/javascript">
var linkStyles='<link rel="stylesheet" type="text/css" href="';
function setcookie(a,b,c) {if(c){var d = new Date();d.setDate(d.getDate()+c);}if(a && b) document.cookie = a+'='+b+(c ? '; expires='+d.toUTCString() : '');else return false;}
function getcookie(a) {var b = new RegExp(a+'=([^;]){1,}');var c = b.exec(document.cookie);if(c) c = c[0].split('=');else return false;return c[1] ? c[1] : false;}
function clearSet(L){if(L){setcookie("changeStyle",L,30);$("link[rel='stylesheet']:first").replaceWith(linkStyles+L+'"/>')}};var Lmem=getcookie("changeStyle");clearSet(Lmem);
</script>
<style>#changeStyle img{border:solid 2px transparent;}
.STYLselect {border-color:red!important;}
</style>
<div id="changeStyle" style="top:0; left: 3px; position:fixed!important;">
<img src="http://www.10pix.ru/img1/3444/5439522.jpg" alt="http://forum.mybb.ru/style/Mybb_Strange_Vision/Mybb_Strange_Vision.css"/>
<br> 
<img src="http://www.10pix.ru/img1/3492/5439523.jpg" alt="http://forum.mybb.ru/style/Mybb_Space/Mybb_Space.css"/>
<br> 
<img src="http://www.10pix.ru/img1/3492/5439523.jpg" alt="http://forum.mybb.ru/style/Mybb_Sloven/Mybb_Sloven.css"/>
<br>
</div>
<script>$("#changeStyle img[alt='"+Lmem+"']").addClass("STYLselect");$('#changeStyle img[alt]').click(function(){L=$(this).attr("alt");$('#changeStyle img[alt]').removeClass("STYLselect");$(this).addClass("STYLselect");clearSet(L)});</script>

0

19

http://uploads.ru/i/W/M/r/WMrD1.jpg

0

20

http://uploads.ru/i/W/J/s/WJsdu.jpg

0


Вы здесь » BETAforum » Тестовый форум » Тестовое сообщение