Dleshka.org

DLE Support

+11
TipTop 12-01-2010, 23:11 DLE 2
DLE  Support



jQuery.


...

1. , ICQ, Skype, .

2. templates/ /images/support/skype.gif

3. ( templates ) , {THEME} !

4. " " {_support}, :
----------------------------------------------------------------------------------------------------
<P align=right><A class=close href="#"><IMG src="/templates/slaed_cms/images/support/close.gif"></A></P>
<TABLE>
<TBODY>
<TR>
<TD><IMG alt=" ICQ  UserNumber" src="http://web.icq.com/whitepages/online?icq=000000&amp;img=5"></TD>
<TD>578793410 []</TD>
<TD rowSpan=9><p align=center><IMG src="/templates/slaed_cms/images/support/support.png"></p></TD></TR>
<TR>
<TD><IMG border=0 alt="" src="/templates/slaed_cms/images/support/skype.gif" width=16 height=16></TD>
<TD><A href="skype:Necromnec?call">Necrom</A></TD></TR>
<TR>
<TD><IMG border=0 alt="" src="/templates/slaed_cms/images/support/mob.gif" width=16 height=16></TD>
<TD><A href="skype:000-000-0000?call">000-000-0000</A></TD></TR>
<TR>
<TD><IMG border=0 alt="" src="/templates/slaed_cms/images/support/mail.gif" width=16 height=16></TD>
<TD><A href="index.php?do=feedback"> </A></TD></TR>
<TR>
<TD></TD>
<TD>
<P align=left><B>:</B></P></TD></TR>
<TR>
<TD><IMG border=0 alt="" src="/templates/slaed_cms/images/support/dollar.png" width=16 height=16></TD>
<TD><A href="wmk:payto?Purse=Z000000000000&amp;Desc=%20&amp;BringToFront=Y">Z000000000000</A></TD></TR>
<TR>
<TD><IMG border=0 alt="" src="/templates/slaed_cms/images/support/euro.png" width=16 height=16></TD>
<TD><A href="wmk:payto?Purse=E000000000000&amp;Desc=%20&amp;BringToFront=Y">E00000000000</A></TD></TR>
<TR>
<TD><IMG border=0 alt="" src="/templates/slaed_cms/images/support/rubl.png" width=16 height=16></TD>
<TD><A href="wmk:payto?Purse=R000000000000&amp;Desc=%20&amp;BringToFront=Y">R000000000000</A></TD></TR>
<TR>
<TD></TD>
<TD></TD></TR></TBODY></TABLE>
<p align=center><A href="http://www.webmoney.ru" target=_blank><IMG style="MARGIN: 4px" border=0 alt="" src="/templates/slaed_cms/images/support/webmoney1.gif"></A>&nbsp;<A href="https://passport.webmoney.ru/asp/certview.asp?wmid=000000000000" target=_blank><IMG style="MARGIN: 4px" border=0 alt="" src="/templates/slaed_cms/images/support/webmoney2.gif"></A></p>


5. : {_support} :

<div id="boxes">
<div id="dialog" class="window"> 
{_support}
</div></div>
<div id="mask"></div>



</div>
</body></html>




6. [/b], :
<script type="text/javascript" src="/templates/dleshka/js/jquery-1.3.2.min.js"></script>
<script>

$(document).ready(function() {

//select all the a tag with name equal to modal
$('a[name=modal]').click(function(e) {
//Cancel the link behavior
e.preventDefault();
//Get the A tag
var id = $(this).attr('href');

//Get the screen height and width
var maskHeight = $(document).height();
var maskWidth = $(window).width();

//Set heigth and width to mask to fill up the whole screen
$('#mask').css({'width':maskWidth,'height':maskHeight});

//transition effect
$('#mask').fadeIn(1000);
$('#mask').fadeTo("slow",0.8);

//Get the window height and width
var winH = $(window).height();
var winW = $(window).width();

//Set the popup window to center
$(id).css('top',winH/2-$(id).height()/2);
$(id).css('left', winW/2-$(id).width()/2);

//transition effect
$(id).fadeIn(2000); 

});

//if close button is clicked
$('.window .close').click(function (e) {
//Cancel the link behavior
e.preventDefault();
$('#mask, .window').hide();
});

//if mask is clicked
$('#mask').click(function () {
$(this).hide();
$('.window').hide();
});

});

</script>



7. [b]style.css
:

///////////////////////////////Xak Support by Necrom//////////////////////////

body {
font-family:verdana;
font-size:15px;
}

a {color:#333; text-decoration:none}
a:hover {color:#ccc; text-decoration:none}

#mask {
position:absolute;
left:0;
top:0;
z-index:9000;
background-color:#000;
display:none;
}

#boxes .window {
position:absolute;
left:0;
top:0;
width:440px;
height:240px;
display:none;
z-index:9999;
padding:20px;
}

#boxes #dialog {
width:375px; 
height:243px;
padding:10px;
background:url(../images/support/fonsupport.jpg) no-repeat 0 0 transparent;
}

#boxes #dialog1 {
width:375px; 
height:203px;
}

#dialog1 .d-header {
background:url(images/login-header.png) no-repeat 0 0 transparent; 
width:375px; 
height:150px;
}

#dialog1 .d-header input {
position:relative;
top:60px;
left:100px;
border:3px solid #cccccc;
height:22px;
width:200px;
font-size:15px;
padding:5px;
margin-top:4px;
}

///////////////////////////////END Xak Support by Necrom//////////////////////////



8. ,:) :

<a href="#dialog" name="modal">Support</a>



! .


!!!Enjoy!!!

sergeevizh
13 2010 01:10
" " ....
, ....
>>>> http://www.assault-plus.ru/templates/Placebo_dayl/images/support/fonsupport.png
MoS
14 2010 23:01
web-, !!! wink

, , .