GoblinaS | Date: Tuesday, 2011-11-15, 11:26 PM | Message # 1 |
Group: S-Moderator
Messages: 380
|
Script to log in to the corner of a page
Put script in the and of SITE PAGE
Code <?if($LOGIN_LINK$)?><style type="text/css"> .uPanel{background:rgba(0,0,0,0.8);color:#fff;float:left;box-shadow: 0 2px 7px ; rgba(0, 0, 0, 0.7);-moz-box-shadow: 0 2px 7px rgba(0, 0, 0, 0.7);-webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, 0.7);padding: 4px 5px 4px 5px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;position:fixed;bottom:7px;left:7px;} .uPanel a.url,.uPanel a.url:visited{display:block;float:left;color:#fff;font- weight:bold;height:26px;line-height:26px;-moz-transition:all 0.4s ease;-webkit-transition:all 0.4s ease;-o-transition:all 0.4s ease;transition:all 0.4s ease;opacity:0.4;padding:0px 7px 0px 7px;position:relative;} .uPanel a.url img{vertical-align:-8px;} .uPanel a.url:hover{text-shadow:0px 0px 5px #fff;color:#fff;opacity:1.0;} .uPanel a.url.highlighted{opacity:1.0;} .uPanel a.url span {display:block;position:absolute;bottom:0px;left:20px;color:#fff;background:red;padding:0px 3px 0px 3px;height:14px;line-height:14px;font-size:7pt;font-weight:bold;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;} </style>
<div class="uPanel"> <a href="$LOGIN_LINK$"><img align="absmiddle" title="Авторизация" src="http://mnogo-shara.ru/img/283522690.png"> [b]Log In[/b]</a> </div>
<script>$("#uPanel").fadeIn('normal');$("#uPanel a.url").tipsy({gravity: 'sw', http://gamaportal.ucoz.ru/:275 Uncaught TypeError: Object #<Object> has no method 'tipsy' html: true});</script><?endif?>
|
|
|
|