dhdhdhhd
fhgfh
Сообщений 1 страница 7 из 7
Поделиться22010-02-15 11:19:28
парампам, чтоб не грохнули))
Поделиться42012-03-08 10:50:25
адын-адын
Поделиться52012-03-29 09:04:38
[nvk-верх <style type="text/css">
#wrapper {width: 600px;}
/* вкладки доп смайлов */
ul.tabs {height: 25px;line-height: 20px;margin: 0 0 3px;list-style: none;}
ul.tabs li {float: left;margin-right: 1px; cursor:pointer;}
ul.tabs li a {background: url("http://flowplayer.org/img/global/tabs.png") no-repeat scroll -652px 0 transparent;color: #444444;cursor: pointer;display: block;margin-bottom: -1px;padding: 0 14px 1px;position: relative;text-decoration: none;width: 84px;}
ul.tabs li a:hover {color:#EFEFEF;padding: 0 14px;background: url("http://flowplayer.org/img/global/tabs.png")no-repeat scroll;background-position: -652px -31px; text-decoration:none;}
ul.tabs li.tab-current a {color: #444;padding: 0px 14px 2px;border:medium hidden;line-height: 22px;background-position: -652px -62px;}
ul.tabs li.tab-current a:hover {color: #6A5ACD;}
div.t2,div.t3 {display: none;width: 450px;}
</style>
хтмл-низ
<!--смайлики-->
<script type="text/javascript">
var nabor2 = ['http://savepic.net/428106.gif',
'http://savepic.net/426058.gif',
'http://savepic.net/433226.gif',
'http://savepic.net/419914.gif',
'http://savepic.net/420938.gif',
'http://savepic.net/424010.gif',
'http://savepic.net/422986.gif',
'http://savepic.net/416842.gif',
'http://savepic.net/402506.gif',
'http://savepic.net/396362.gif',
'http://savepic.net/453709.gif',
'http://savepic.net/451661.gif',
'http://savepic.net/454733.gif',
'http://savepic.net/455757.gif',
'http://savepic.net/445517.gif',
'http://savepic.net/448589.gif',
'http://savepic.net/446541.gif',
'http://savepic.net/437325.gif',
'http://savepic.net/440397.gif',
'http://savepic.net/428109.gif',
'http://savepic.net/426061.gif',
'http://savepic.net/432205.gif',
'http://savepic.net/430157.gif',
'http://savepic.net/419917.gif',
'http://savepic.net/427084.gif',
'http://savepic.net/432204.gif',
'http://savepic.net/430156.gif',
'http://savepic.net/431180.gif',
'http://savepic.net/420940.gif',
'http://savepic.net/417868.gif',
'http://savepic.net/424012.gif',
'http://savepic.net/425036.gif',
'http://savepic.net/421964.gif',
'http://savepic.net/412748.gif',
'http://savepic.net/409676.gif',
'http://savepic.net/410700.gif',
'http://savepic.net/416844.gif',
'http://savepic.net/414796.gif',
'http://savepic.net/404556.gif',
'http://savepic.net/402508.gif',
'http://savepic.net/407628.gif',
'http://savepic.net/408652.gif',
'http://savepic.net/406604.gif',
'http://savepic.net/393292.gif',
'http://savepic.net/399436.gif',
'http://savepic.net/397388.gif'];
var nabor3 = ['http://www.kolobok.us/smiles/standart/mosking.gif',
'http://www.kolobok.us/smiles/standart/grin.gif',
'http://www.kolobok.us/smiles/standart/smoke.gif',
'http://www.kolobok.us/smiles/standart/boast.gif',
'http://www.kolobok.us/smiles/standart/dirol.gif',
'http://www.kolobok.us/smiles/standart/pleasantry.gif',
'http://www.kolobok.us/smiles/standart/snooks.gif',
'http://www.kolobok.us/smiles/standart/no2.gif',
'http://www.kolobok.us/smiles/standart/secret.gif',
'http://www.kolobok.us/smiles/standart/aggressive.gif',
'http://www.kolobok.us/smiles/standart/not_i.gif',
'http://www.kolobok.us/smiles/standart/blush.gif',
'http://www.kolobok.us/smiles/standart/acute.gif',
'http://www.kolobok.us/smiles/standart/fool.gif',
'http://www.kolobok.us/smiles/standart/i-m_so_happy.gif',
'http://www.kolobok.us/smiles/standart/bad.gif',
'http://www.kolobok.us/smiles/standart/cray.gif',
'http://www.kolobok.us/smiles/standart/wink3.gif',
'http://www.kolobok.us/smiles/standart/sorry.gif',
'http://www.kolobok.us/smiles/standart/good.gif',
'http://www.kolobok.us/smiles/standart/pardon.gif',
'http://www.kolobok.us/smiles/standart/swoon2.gif',
'http://www.kolobok.us/smiles/standart/sad.gif',
'http://www.kolobok.us/smiles/standart/don-t_mention.gif',
'http://www.kolobok.us/smiles/standart/victory.gif',
'http://www.kolobok.us/smiles/standart/scare2.gif',
'http://www.kolobok.us/smiles/standart/yahoo.gif',
'http://www.kolobok.us/smiles/standart/nea.gif',
'http://www.kolobok.us/smiles/standart/rofl.gif',
'http://www.kolobok.us/smiles/standart/derisive.gif',
'http://www.kolobok.us/smiles/standart/lazy.gif',
'http://www.kolobok.us/smiles/standart/don-t_mention.gif',
'http://www.kolobok.us/smiles/standart/victory.gif',
'http://www.kolobok.us/smiles/standart/scare2.gif',
'http://www.kolobok.us/smiles/standart/yahoo.gif',
'http://www.kolobok.us/smiles/standart/nea.gif',
'http://www.kolobok.us/smiles/standart/rofl.gif',
'http://www.kolobok.us/smiles/standart/derisive.gif',
'http://www.kolobok.us/smiles/standart/lazy.gif',
'http://www.kolobok.us/smiles/standart/thank_you.gif',
'http://www.kolobok.us/smiles/standart/yes.gif',
'http://www.kolobok.us/smiles/standart/yes3.gif',
'http://www.kolobok.us/smiles/standart/drinks.gif',
'http://www.kolobok.us/smiles/standart/clapping.gif',
'http://www.kolobok.us/smiles/standart/blush2.gif',
'http://www.kolobok.us/smiles/standart/yes2.gif',
'http://www.kolobok.us/smiles/rpg/king.gif',
'http://www.kolobok.us/smiles/rpg/butcher.gif',
'http://www.kolobok.us/smiles/rpg/queen.gif',
'http://www.kolobok.us/smiles/rpg/king2.gif',
'http://www.kolobok.us/smiles/madhouse/suicide_fool-edit.gif',
'http://www.kolobok.us/smiles/madhouse/man_in_love.gif',
'http://www.kolobok.us/smiles/madhouse/girl_crazy.gif',
'http://www.kolobok.us/smiles/madhouse/girl_wacko.gif',
'http://www.kolobok.us/smiles/madhouse/dash2.gif',
'http://www.kolobok.us/smiles/madhouse/wacko2.gif',
'http://www.kolobok.us/smiles/madhouse/girl_hospital.gif',
'http://www.kolobok.us/smiles/madhouse/mail1.gif',
'http://www.kolobok.us/smiles/he_and_she/curtsey.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_blum2.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_witch.gif',
'http://www.kolobok.us/smiles/he_and_she/give_heart.gif',
'http://www.kolobok.us/smiles/he_and_she/hysteric.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_hide.gif',
'http://www.kolobok.us/smiles/he_and_she/parting.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_dance.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_cray.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_sigh.gif',
'http://www.kolobok.us/smiles/he_and_she/feminist.gif',
'http://www.kolobok.us/smiles/he_and_she/give_rose.gif',
'http://www.kolobok.us/smiles/he_and_she/first_move.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_in_love.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_haha.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_cray2.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_impossible.gif',
'http://www.kolobok.us/smiles/he_and_she/spruce_up.gif',
'http://www.kolobok.us/smiles/light_skin/give_heart2.gif',
'http://www.kolobok.us/smiles/other/spam.gif',
'http://www.kolobok.us/smiles/big_madhouse/wacko3.gif',
'http://www.kolobok.us/smiles/artists/vishenka/l_hug.gif',
'http://www.kolobok.us/smiles/artists/vishenka/l_daisy.gif',
'http://www.kolobok.us/smiles/user/KidRock_01.gif',
'http://www.kolobok.us/smiles/user/KidRock_05.gif',
'http://www.kolobok.us/smiles/user/KidRock_04.gif',
'http://www.kolobok.us/smiles/user/moinmoin_01.gif',
'http://www.kolobok.us/smiles/user/KidRock_02.gif',
'http://www.kolobok.us/smiles/user/KidRock_07.gif',
'http://www.kolobok.us/smiles/user/Rulezzz_07.gif',
'http://www.kolobok.us/smiles/user/KidRock_06.gif',
'http://i.smiles2k.net/nations_smiles/3dflagsdotcom_russi_2faws.gif',
'http://www.kolobok.us/smiles/user/FinouCat_02.gif',
'http://www.kolobok.us/smiles/user/unknown_singer.gif',
'http://www.kolobok.us/smiles/user/FinouCat_03.gif',
'http://i019.radikal.ru/0802/f3/d401bcb531b6.gif',
'http://www.kolobok.us/smiles/artists/just_cuz/JC_thinking.gif',
'http://www.kolobok.us/smiles/artists/just_cuz/JC_goody.gif',
'http://www.kolobok.us/smiles/artists/just_cuz/JC_ThankYou.gif',
'http://www.kolobok.us/smiles/artists/laie/Laie_59.gif',
'http://www.kolobok.us/smiles/artists/laie/Laie_91B.gif',
'http://www.kolobok.us/smiles/artists/connie/connie_24.gif',
'http://s3.rimg.info/beaa699fcde2e3c4ca5c8f9b18456a5a.gif',
'http://s.rimg.info/f325950a4c405129073ea4913b1e50dc.gif',
'http://s.rimg.info/7db8d4a173121954ab1800219b0f4164.gif',
'http://s6.rimg.info/61f3eb871c0466af154c188f2142d161.gif',
'http://smailiki.nm.ru/text/mit10.gif',
'http://i.smiles2k.net/padre_smiles/samtakoj.gif',
'http://i.smiles2k.net/plakat_smiles/dura.gif',
'http://i.smiles2k.net/plakat_smiles/ubey_sebia.gif',
'http://i.smiles2k.net/plakat_smiles/ahuet.gif',
'http://i.smiles2k.net/plakat_smiles/admintutja.gif',
'http://i.smiles2k.net/admin_moder_smiles/img.gif',
'http://i.smiles2k.net/hello_byby_smiles/1_012.gif',
'http://s8.rimg.info/31de369cff30c8d259395fbd50f4e52f.gif',
'http://s8.rimg.info/c3ca2590ebd73942f5dad2754de1a374.gif',
'http://funportal.info/smiles/smile66.gif',
'http://s7.rimg.info/00d3b01c3604095f552bf20667af2e58.gif',
'http://s5.rimg.info/a871d0a789e1de16896c111b159d5d5d.gif',
'http://funportal.info/smiles/smile146.gif',
'http://s8.rimg.info/42e1a8deb81188c73bd6e2a4e74d32eb.gif',
'http://s9.rimg.info/a24fe349ad000250c34d1c3bff09b9a6.gif',
'http://s8.rimg.info/d2d9c61661288a3606417bb24dcc265b.gif',
'http://s9.rimg.info/ca92124f75f67cd09ab3ed9d4df29dfe.gif',
'http://s9.rimg.info/45d296af09b36683bdb03b306506e82e.gif',
'http://s.rimg.info/f904c4b040270ea61019c644838fb9cc.gif',
'http://s.rimg.info/76609ad7ca2d11817fa97bc5231b0965.gif'];
$(document).ready(function() {
$('#smilies-block').addClass('t1');
$('#smilies-area').prepend('<div id="wrapper"><ul class="tabs tabs1" onclick="return changeVisibility (\'smilies-area\', false)"><li class="t1 tab-current"><a>Первый набор</a></li><li class="t2"><a>Второй набор</a></li><li class="t3"><a>Третий набор</a></li></ul><div class="t2"></div><div class="t3"><br></div></div>');
$.each(nabor2, function(i) {
$('div.t2').append('<img src="'+nabor2[i]+'" onclick=smile(\'--\') />');
});
$.each(nabor3, function(i) {
$('div.t3').append('<img src="'+nabor3[i]+'" onclick=smile(\'--\') />');
});
$('ul.tabs.tabs1 li').click(function(){
var thisClass = this.className.slice(0,2);
$('div.t1, div.t2, div.t3').hide();
$('div.' + thisClass).fadeToggle('slow');
$('ul.tabs.tabs1 li').removeClass('tab-current');
$(this).addClass('tab-current');
}); });
</script>
Поделиться62012-03-29 09:57:01
<!-- spoiler -->
<style>
#button-spoiler {background-image:url('https://forumupload.ru/uploads/0000/12/13/488-1.gif'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%}
</style>
<script type="text/javascript">
function tag_spoiler(){
var y = prompt("Введите надпись для кнопки",'');
if(y!='null' && y!='' && typeof(y)!='object' && typeof(y)!='undefined'){
var x = prompt("Введите текст для обратной стороны кнопки",'');
if(x=='null' || x=='' || typeof(x)=='object' || typeof(x)=='undefined') bbcode('
','
'); else bbcode('
','
');}
else bbcode('
','
')
}
function addSpoiler(str,from,internal){
var pos=0,pos2=0,pos_c=0,pos_l=0,newpos=0,string='',close='',open='';
if((pos=str.indexOf("[spoiler",from))==-1) return str;
if((pos2=str.indexOf("[/spoiler]"),pos+9)==-1) return str;
if(((pos_c=str.indexOf("]",pos+8))!=-1) && ((pos_c!=pos+8)&&(pos_c!=pos+9))){
string = str.substring(pos+9,pos_c);
if((pos_l = string.indexOf("|"))!=-1){
close = string.substring(0,pos_l);
open = string.substring(pos_l+1,string.length);
}
else{
close = string;
open = string;
}
}
else{
close = 'Показать спойлер';
open = 'Скрыть спойлер';
}
newpos=str.indexOf("[spoiler",pos+9)
if(newpos<pos2 && newpos!=-1) str=addSpoiler(str,pos+9,true)
if((pos2=str.indexOf("[/spoiler]",pos+9))==-1) return str;
str=str.substring(0,pos)+makeSpoiler(str.substring(pos_c+1,pos2),open,close)+str.substring(pos2+10,str.length)
if( str.indexOf("[spoiler")!=-1 && internal==false) str=addSpoiler(str,0,false)
return str;
}
function makeSpoiler(txt,open,close){
txt='<div class="quote-box" style="padding:1px;background: none; border: 0;"><cite style="width:100%;margin:0;"><input id="'+open+'" class="spoiler-button" style="width:140px;font-size:10px; margin:0;" type="button" value="'+close+'"></cite><blockquote class="quote-box" style="display:none; width: 80%;border: 1px solid black;margin:0;">'+txt+'</blockquote></div>'
return txt;
}
$(document).ready(function(){
$("div.quote-box > cite > input.spoiler-button").click(function(){
$(this).parents("div.quote-box:first").find("blockquote.quote-box:first").toggle("slow");
var a = $(this).attr('value');$(this).attr('value',$(this).attr('id'));$(this).attr('id',a);
});
});
if((document.URL.indexOf("viewtopic.php")!=-1) || (document.URL.indexOf("post.php")!=-1)){
elm=document.getElementById("pun-main").getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content"){
var post=elm[x]
post.innerHTML=addSpoiler(post.innerHTML,0,false)
}
}
if(form=document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(16).innerHTML="<img id=\"button-spoiler\" title=\"Спойлер\" onclick=\"tag_spoiler('
','
')\" src=\"/i/blank.gif\" />"
</script>