MaxRom | Scripturi uCoz Romania

Bannerul tau aici
[ Mesaje noi · Membrii · Regulamentul forumului · RSS ]
  • Pagina 1 din 1
  • 1
Butoane in admin bar
Devil Date: Luni, 2011-05-16, 16:05 | Message # 1
Mesaje: 425
Awards: 15
« 29 »

Instalare:

Pe toate paginile unde vreti sa apara butoanele dupa <body> puneti codu :

Code
<!--Admin bar-->
<?if($USER_LOGGED_IN$)?>
<div id="user-bar" style="height:24px; width:100%; z-index:6; background:url('http://devil-scripts.do.am/maxrom/images/adminbar/adminbar.png') repeat-x;">
<div style="position:absolute; position:fixed; top:0; left:0; z-index:99;">
<a style="cursor:pointer;" class="back_btn" onclick="javascript:history.back()" title="Inapoi"></a>
<a style="cursor:pointer;" class="forward_btn" onclick="javascript:history.forward()" title="Inainte"></a>
<a style="cursor:pointer;" class="reload_btn" onclick="window.location.reload();" title="Refresh"></a>
<a style="cursor:pointer;" class="home_btn" href="$HOME_PAGE_LINK$" title="Acasa"></a>

</div>
</div>
<?endif?>
<!--END -->

Iar in "CSS"

Code
/*Admin bar*/
#puzadpn {position:absolute; left:100px !important; z-index:80 !important; }
#uzadmp {padding-left:100px !important; height:24px !important; background:url('http://devil-scripts.do.am/maxrom/images/adminbar/adminbar.png') repeat-x !important; -moz-box-shadow:0 1px 5px #2E2E2E;box-shadow:0 1px 5px #000;-webkit-box-shadow:0 1px 5px #000;}
/*-Bar-*/
a.home_btn {width:22px; height:22px; background:url('http://devil-scripts.do.am/maxrom/images/adminbar/home.png') no-repeat; display:block; float:left; margin:2px;}
a.home_btn:hover {background-position:0 -22px;}

a.back_btn {width:22px; height:22px; background:url('http://devil-scripts.do.am/maxrom/images/adminbar/back.png') no-repeat; display:block; float:left; margin:1px;}
a.back_btn:hover {background-position:0 -22px;}

a.forward_btn {width:22px; height:22px; background:url('http://devil-scripts.do.am/maxrom/images/adminbar/forward.png') no-repeat; display:block; float:left; margin:1px;}
a.forward_btn:hover {background-position:0 -22px;}

a.reload_btn {width:22px; height:22px; background:url('http://devil-scripts.do.am/maxrom/images/adminbar/reload.png') no-repeat; display:block; float:left; margin:1px;}
a.reload_btn:hover {background-position:0 -22px;}

a.reload_btn {width:22px; height:22px; background:url('http://devil-scripts.do.am/maxrom/images/adminbar/reload.png') no-repeat; display:block; float:left; margin:1px;}
a.reload_btn:hover {background-position:0 -22px;}

Rezultat:

Cam atat


 
clod123 Date: Duminică, 2012-04-29, 17:55 | Message # 2
Mesaje: 46
Awards: 11
« -1 »

am bagat in css dar miarata bara atat vezi imaginea rog ajutor

 
  • Pagina 1 din 1
  • 1
Căutare: