CSS button for the forum and not only ucoz - UcozBaze All Scripts And Templates
  
Page 1 of 11
UcozBaze All Scripts And Templates » Scripts and Coding » Site Menu » CSS button for the forum and not only ucoz (CSS button for the forum and not only ucoz)
CSS button for the forum and not only ucoz
interoutDate: Thursday, 2011-10-20, 11:05 PM | Message # 1
Group: Administrators
Messages: 1021
33


In to CSS:

Code
input[type~="submit"],input[type~="button"],input[type~="reset"] {padding:6px 9px 6px 9px; margin:2px; color:#fff; font-weight:bold; background:url('http://igor-st.ucoz.ru/images/button-black.png') #4E4E4E; background-position:100% 0px; border:1px solid #2D2D2D; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; box-shadow:0px 0px 1px #fff inset; -moz-box-shadow:0px 0px 1px #fff inset; -webkit-box-shadow:0px 0px 1px #fff inset; text-shadow:0px -1px 0px #000;}
input[type~="submit"]:hover,input[type~="button"]:hover,input[type~="reset"]:hover {color:#fff; background-position:100% -28px;}
input[type~="submit"]:active,input[type~="button"]:active,input[type~="reset"]:active {color:#fff; background-position:100% -28px; box-shadow:0px 0px 5px #000 inset; -moz-box-shadow:0px 0px 5px #000 inset; -webkit-box-shadow:0px 0px 5px #000 inset;}


Forum:
General appearance of forum pages :

Code
<?if($USER_LOGGED_IN$)?>


and to:

Code
$BODY$

Code

<?if($USER_LOGGED_IN$)?>
<a href="javascript://" rel="nofollow" id="upml" class="fNavLink" onclick="window.open('$PM_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350');return false;"><!--<s3065>--><input type="button" value="Личные сообщения ($UNREAD_PM$)"><!--</s>--></a>
<?if($IS_NEW_PM$)?><script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml','')",500)</script><bgsound src="http://s54.ucoz.net/img/fr/pm.wav" loop="1" volume="0" balance="0">
<?endif?><?endif?>
<a class="fNavLink" href="$RECENT_POSTS_LINK$" rel="nofollow"><!--<s5209>--><input type="button" value="Новые сообщения"><!--</s>--></a>
<a class="fNavLink" href="$MEMBERS_LIST_LINK$" rel="nofollow"><!--<s5216>--><input type="button" value="Участники"><!--</s>--></a>
<a class="fNavLink" href="$BOARD_RULES_LINK$" rel="nofollow"><!--<s5166>--><input type="button" value="Правила форума"><!--</s>--></a>
<a class="fNavLink" href="$SEARCH_PAGE_LINK$" rel="nofollow"><!--<s3163>--><input type="button" value="Поиск"><!--</s>--></a>
<a class="fNavLink" href="$RSS_LINK$" rel="nofollow"><input type="button" value="RSS"></a> </td>
</tr>
</table>


 
Message


In to CSS:

Code
input[type~="submit"],input[type~="button"],input[type~="reset"] {padding:6px 9px 6px 9px; margin:2px; color:#fff; font-weight:bold; background:url('http://igor-st.ucoz.ru/images/button-black.png') #4E4E4E; background-position:100% 0px; border:1px solid #2D2D2D; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; box-shadow:0px 0px 1px #fff inset; -moz-box-shadow:0px 0px 1px #fff inset; -webkit-box-shadow:0px 0px 1px #fff inset; text-shadow:0px -1px 0px #000;}
input[type~="submit"]:hover,input[type~="button"]:hover,input[type~="reset"]:hover {color:#fff; background-position:100% -28px;}
input[type~="submit"]:active,input[type~="button"]:active,input[type~="reset"]:active {color:#fff; background-position:100% -28px; box-shadow:0px 0px 5px #000 inset; -moz-box-shadow:0px 0px 5px #000 inset; -webkit-box-shadow:0px 0px 5px #000 inset;}


Forum:
General appearance of forum pages :

Code
<?if($USER_LOGGED_IN$)?>


and to:

Code
$BODY$

Code

<?if($USER_LOGGED_IN$)?>
<a href="javascript://" rel="nofollow" id="upml" class="fNavLink" onclick="window.open('$PM_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350');return false;"><!--<s3065>--><input type="button" value="Личные сообщения ($UNREAD_PM$)"><!--</s>--></a>
<?if($IS_NEW_PM$)?><script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml','')",500)</script><bgsound src="http://s54.ucoz.net/img/fr/pm.wav" loop="1" volume="0" balance="0">
<?endif?><?endif?>
<a class="fNavLink" href="$RECENT_POSTS_LINK$" rel="nofollow"><!--<s5209>--><input type="button" value="Новые сообщения"><!--</s>--></a>
<a class="fNavLink" href="$MEMBERS_LIST_LINK$" rel="nofollow"><!--<s5216>--><input type="button" value="Участники"><!--</s>--></a>
<a class="fNavLink" href="$BOARD_RULES_LINK$" rel="nofollow"><!--<s5166>--><input type="button" value="Правила форума"><!--</s>--></a>
<a class="fNavLink" href="$SEARCH_PAGE_LINK$" rel="nofollow"><!--<s3163>--><input type="button" value="Поиск"><!--</s>--></a>
<a class="fNavLink" href="$RSS_LINK$" rel="nofollow"><input type="button" value="RSS"></a> </td>
</tr>
</table>

Author - interout
Date Added - 2011-10-20 в 11:05 PM
UcozBaze All Scripts And Templates » Scripts and Coding » Site Menu » CSS button for the forum and not only ucoz (CSS button for the forum and not only ucoz)
Page 1 of 11
Search:
                                                               
Statistics Forum
New Posts Popular topic Top Forum Users New User

type list Forumo Informatorius (2)
type list Pereiti i kita puslapi forume 1.2.3. Ucoz skriptas (1)
type list The script for the output of a random video from Youtube (0)
type list The script updates the block comment without refreshing the (0)
type list Information about your browser for uCoz (0)
type list Kaip isideti Forum Online/Offline Image Ucoz ? (4)
type list Highlight the code in one click (0)
type list The original form of statistics for uCoz (0)
type list The ban on the entry of certain characters in the Input (0)
type list Clock for site ucoz (0)

type list Skaiciuojam nuo 1 iki 1000 ! (557)
type list Forum SignatureBar (60)
type list Avatars (22)
type list Kaip pakeisti paveiksla mazas? (19)
type list Juokingos Fotkes :) (19)
type list Mini-Chatas islendantis is sono ucoz (15)
type list Mp3-Tau.do.am (13)
type list Шаблон форума для ucoz For-css (12)
type list Ucoz script - favicon (11)
type list Button scrolling up ucoz (10)

interout
GoblinaS
Adi
Esquire
BAtman
WaSHkaZ
Skacikas
meskis
Gytenas
vicka

designcobras
AnelsoNN
nemanjababin
defaultNick0568
mechoochite
mdcurren
yastreb
lad0s™
Lapuxa
th3kizaka


Site design by uCozBaze
uCozBaze © 2011-2016