fixed up chat some more
This commit is contained in:
parent
425350d402
commit
9bab32d2ae
18 changed files with 1204 additions and 180 deletions
|
@ -1,54 +0,0 @@
|
|||
document.domain = "ponytopia.net";
|
||||
|
||||
function notice() {
|
||||
document.getElementById('notice').play();
|
||||
}
|
||||
function play(source) {
|
||||
if(window.parent.bgmusic!=false){
|
||||
updateSource(source);
|
||||
document.getElementById('audioPlayer').play();
|
||||
}
|
||||
}
|
||||
function changenotice(file) {
|
||||
var zeit = new Date();
|
||||
var ms = zeit.getMilliseconds();
|
||||
var audio = $('#notice').empty();
|
||||
var newSrc = $("<source>").attr("src", "//chat.ponytopia.net/modules/chat/sound/"+file+"_notice.ogg?id="+ms).appendTo(audio);
|
||||
var newSrc2 = $("<source>").attr("src", "//chat.ponytopia.net/modules/chat/sound/"+file+"_notice.mp3?id="+ms).appendTo(audio);
|
||||
audio[0].pause();
|
||||
audio[0].load();
|
||||
}
|
||||
|
||||
function reload_locations() {
|
||||
window.parent.refresh();
|
||||
}
|
||||
function pause() {
|
||||
document.getElementById('audioPlayer').pause();
|
||||
}
|
||||
var as=true;
|
||||
var asoff=false;
|
||||
function doscroll() {
|
||||
if (as != false && asoff==false) {
|
||||
window.scrollTo(1, 500000);
|
||||
}
|
||||
window.setTimeout("doscroll()", 200);
|
||||
}
|
||||
function scroll_toggle() {
|
||||
if(as==false){
|
||||
as=true;
|
||||
window.scroll(1, 500000);
|
||||
}else{
|
||||
as=false;
|
||||
}
|
||||
|
||||
}
|
||||
doscroll();
|
||||
function updateSource(file) {
|
||||
var zeit = new Date();
|
||||
var ms = zeit.getMilliseconds();
|
||||
var audio = $('#audioPlayer');
|
||||
$('#oggSource').attr('src',"//chat.ponytopia.net/modules/chat/sound/"+file+".ogg?id="+ms).detach().appendTo($('#audioPlayer'));
|
||||
$('#mp3Source').attr('src',"//chat.ponytopia.net/modules/chat/sound/"+file+".mp3?id="+ms).detach().appendTo($('#audioPlayer'));
|
||||
audio[0].pause();
|
||||
audio[0].load();
|
||||
}
|
|
@ -94,7 +94,7 @@ class chat extends module{
|
|||
curl_setopt($ch, CURLOPT_HEADER, false);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, 3);
|
||||
// führe die Aktion aus und gebe die Daten an den Browser weiter
|
||||
// führe die Aktion aus und gebe die Daten an den Browser weiterChanged VCall name back
|
||||
$fh=curl_exec($ch);
|
||||
//var_dump(curl_getinfo($ch));
|
||||
|
||||
|
@ -493,7 +493,7 @@ function xmeta(){
|
|||
function repmeta(){
|
||||
global $yacsid,$config;
|
||||
$meta.="<script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js?ver=1213232\"></script>
|
||||
<link type=\"text/css\" href=\"/themes/austria/base/jquery-ui-1.9.2.custom.css?ver=1238732\" rel=\"Stylesheet\" />
|
||||
<link type=\"text/css\" href=\"/themes/funchat/base/jquery-ui-1.9.2.custom.css?ver=1238732\" rel=\"Stylesheet\" />
|
||||
<script src=\"//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js?ver=123324732\"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
|
@ -554,7 +554,7 @@ function inmeta2(){
|
|||
else return true;
|
||||
}
|
||||
</script>';
|
||||
$meta.='<script type="text/javascript" src="/modules/chat/chat_ws.js?id=432113132"></script>';
|
||||
$meta.='<script type="text/javascript" src="/modules/chat/js/chat_ws.js?id=432113132"></script>';
|
||||
/* $meta.='<script type="text/javascript">
|
||||
function play() {
|
||||
notice();
|
||||
|
@ -646,7 +646,8 @@ function inmeta2(){
|
|||
$('#chatlog').append('Error! Please check your browsers console for the error message.');
|
||||
window.onbeforeunload = null;
|
||||
if(as!=false){
|
||||
$('#chatlog').slimscroll({ scrollBy : '5000px' });
|
||||
var target = $('#chatlog');
|
||||
target.animate({ scrollTop: target.height()}, 500 );
|
||||
}
|
||||
}
|
||||
socket.onclose = function(){
|
||||
|
@ -654,7 +655,8 @@ function inmeta2(){
|
|||
$('#chatlog').append('Disconnected!');
|
||||
window.onbeforeunload = null;
|
||||
if(as!=false){
|
||||
$('#chatlog').slimscroll({ scrollBy : '5000px' });
|
||||
var target = $('#chatlog');
|
||||
target.animate({ scrollTop: target.height()}, 500 );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -662,7 +664,8 @@ function inmeta2(){
|
|||
$('#chatlog').append('Disconnected with error: '+exception+'!');
|
||||
window.onbeforeunload = null;
|
||||
if(as!=false){
|
||||
$('#chatlog').slimscroll({ scrollBy : '5000px' });
|
||||
var target = $('#chatlog');
|
||||
target.animate({ scrollTop: target.height()}, 500 );
|
||||
}
|
||||
console.log(exception);
|
||||
}
|
||||
|
@ -717,7 +720,7 @@ function inmeta2(){
|
|||
}
|
||||
|
||||
function reportwindow(name){
|
||||
$('#repwindow').html('<div id=\"'+name+'_report\" title=\"'+name+'\"><div id=\"'+name+'_report_text\" style=\"height:70%; width:95%; text-align:left; overflow:hidden;\"><div id=\"'+name+'_report_input\"><textarea id=\"'+name+'_report_input_text\" autocomplete=\"off\" spellcheck=\"true\" style=\"width:95%; height:166px; padding:none;\"/></div></div>');
|
||||
$('#repwindow').html('<div id=\"'+name+'_report\" title=\"'+name+'\"><div id=\"'+name+'_report_text\" style=\"height:70%; width:95%; text-align:left; overflow-y:auto;\"><div id=\"'+name+'_report_input\"><textarea id=\"'+name+'_report_input_text\" autocomplete=\"off\" spellcheck=\"true\" style=\"width:95%; height:166px; padding:none;\"/></div></div>');
|
||||
var obj = $('#'+name+'_report');
|
||||
obj.dialog({ autoOpen: false, maxWidth: 600, maxHeight: 530, height: 300, minHeight: 250, title: 'Report '+name });
|
||||
$('#'+name+'_report_input_text').keydown(function(event) {
|
||||
|
@ -740,22 +743,16 @@ function inmeta2(){
|
|||
if(youfirst==null)youfirst = false;
|
||||
if(inittext != \"\" && inittext != undefined){
|
||||
if(!youfirst){
|
||||
$('#whispers').append('<div id=\"'+name+'_whisper\" title=\"'+name+'\"><div id=\"'+name+'_whisper_text\" style=\"height:70%; width:95%; text-align:left; overflow:hidden;\"><span style=\"color: #000000;\">'+name+': '+inittext+'</span><br /></div><div id=\"'+name+'_whisper_input\"><textarea id=\"'+name+'_whisper_input_text\" autocomplete=\"off\" spellcheck=\"true\" style=\"width:95%; min-height:30px; height:30px; padding: 6px 15px; margin:none;\"/></div></div>');
|
||||
$('#whispers').append('<div id=\"'+name+'_whisper\" title=\"'+name+'\"><div id=\"'+name+'_whisper_text\" style=\"height:70%; width:95%; text-align:left; overflow-y:auto;\"><span style=\"color: #000000;\">'+name+': '+inittext+'</span><br /></div><div id=\"'+name+'_whisper_input\"><textarea id=\"'+name+'_whisper_input_text\" autocomplete=\"off\" spellcheck=\"true\" style=\"width:95%; min-height:30px; height:30px; padding: 6px 15px; margin:none;\"/></div></div>');
|
||||
}else{
|
||||
$('#whispers').append('<div id=\"'+name+'_whisper\" title=\"'+name+'\"><div id=\"'+name+'_whisper_text\" style=\"height:70%; width:95%; text-align:left; overflow:hidden;\"><span style=\"color: #585858;\">Du: '+inittext+'</span><br /></div><div id=\"'+name+'_whisper_input\"><textarea id=\"'+name+'_whisper_input_text\" autocomplete=\"off\" spellcheck=\"true\" style=\"width:95%; min-height:30px; height:30px; padding: 6px 15px; margin:none;\"/></div></div>');
|
||||
$('#whispers').append('<div id=\"'+name+'_whisper\" title=\"'+name+'\"><div id=\"'+name+'_whisper_text\" style=\"height:70%; width:95%; text-align:left; overflow-y:auto;\"><span style=\"color: #585858;\">Du: '+inittext+'</span><br /></div><div id=\"'+name+'_whisper_input\"><textarea id=\"'+name+'_whisper_input_text\" autocomplete=\"off\" spellcheck=\"true\" style=\"width:95%; min-height:30px; height:30px; padding: 6px 15px; margin:none;\"/></div></div>');
|
||||
}
|
||||
}else{
|
||||
$('#whispers').append('<div id=\"'+name+'_whisper\" title=\"'+name+'\"><div id=\"'+name+'_whisper_text\" style=\"height:70%; width:95%; text-align:left; overflow:hidden;\"></div><div id=\"'+name+'_whisper_input\"><textarea id=\"'+name+'_whisper_input_text\" autocomplete=\"off\" spellcheck=\"true\" style=\"width:95%; min-height:30px; height:30px; padding: 6px 15px; margin:none;\"/></div></div>');
|
||||
$('#whispers').append('<div id=\"'+name+'_whisper\" title=\"'+name+'\"><div id=\"'+name+'_whisper_text\" style=\"height:70%; width:95%; text-align:left; overflow-y:auto;\"></div><div id=\"'+name+'_whisper_input\"><textarea id=\"'+name+'_whisper_input_text\" autocomplete=\"off\" spellcheck=\"true\" style=\"width:95%; min-height:30px; height:30px; padding: 6px 15px; margin:none;\"/></div></div>');
|
||||
}
|
||||
var obj = $('#'+name+'_whisper');
|
||||
obj.dialog({ autoOpen: false, maxWidth: 600, maxHeight: 530, height: 300, minHeight: 250 });
|
||||
$('#'+name+'_whisper_text').slimscroll({
|
||||
color: '#00f',
|
||||
size: '10px',
|
||||
width: '95%',
|
||||
height: '88%',
|
||||
start: 'bottom'
|
||||
});
|
||||
obj.dialog({ autoOpen: false, maxWidth: 600, maxHeight: 530, width: 400, height: 300, minHeight: 250 });
|
||||
|
||||
$('#'+name+'_whisper_input_text').keydown(function(event) {
|
||||
if (event.keyCode != null) kCode = event.keyCode;
|
||||
else if (event.which != null) kCode = event.which;
|
||||
|
@ -789,11 +786,10 @@ function inmeta2(){
|
|||
$('#notchan').html(noticename[ncounter]);
|
||||
}
|
||||
</script>
|
||||
<link type=\"text/css\" href=\"".$config["path"]."/themes/austria/base/jquery-ui-1.9.2.custom.css?ver=1238732\" rel=\"Stylesheet\" />
|
||||
<link type=\"text/css\" href=\"".$config["path"]."/themes/austria/jquery.rightClickMenu.css?ver=12328732\" rel=\"Stylesheet\" />
|
||||
<link type=\"text/css\" href=\"".$config["path"]."/themes/funchat/base/jquery-ui-1.9.2.custom.css?ver=1238732\" rel=\"Stylesheet\" />
|
||||
<link type=\"text/css\" href=\"".$config["path"]."/themes/funchat/jquery.rightClickMenu.css?ver=12328732\" rel=\"Stylesheet\" />
|
||||
<script src=\"//ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js?ver=123324732\"></script>
|
||||
<script type=\"text/javascript\" src=\"/modules/chat/js/jquery.rightClickMenu-1.0.js?ver=17843\"></script>
|
||||
<script type=\"text/javascript\" src=\"/modules/chat/js/jquery.slimscroll.min.js?ver=1786172643\"></script>
|
||||
<script type=\"text/javascript\">
|
||||
var startcol;
|
||||
|
||||
|
@ -869,7 +865,8 @@ function inmeta2(){
|
|||
$('#'+whispt[1]+'_whisper_text').append('<span style=\"color: #585858;\">Du: '+whispt[2]+'</span><br />');
|
||||
$('#'+whispt[1]+'_whisper').dialog('open');
|
||||
$('#'+whispt[1]+'_whisper').dialog('moveToTop');
|
||||
$('#'+whispt[1]+'_whisper_text').slimscroll({ scrollBy: '500px' });
|
||||
var wtarget = $('#'+whisp[1]+'_whisper_text');
|
||||
$('#'+whisp[1]+'_whisper_text').animate({ scrollTop: wtarget.height()}, 500 );
|
||||
}else{
|
||||
create_whisper(whispt[1],whispt[2],true);
|
||||
}
|
||||
|
@ -880,7 +877,8 @@ function inmeta2(){
|
|||
$('#'+whisp[1]+'_whisper_text').append('<span style=\"color: #000000;\">'+whisp[1]+': '+whisp[2]+'</span><br />');
|
||||
$('#'+whisp[1]+'_whisper').dialog('open');
|
||||
$('#'+whisp[1]+'_whisper').dialog('moveToTop');
|
||||
$('#'+whisp[1]+'_whisper_text').slimscroll({ scrollBy: '500px' });
|
||||
var wtarget = $('#'+whisp[1]+'_whisper_text');
|
||||
$('#'+whisp[1]+'_whisper_text').animate({ scrollTop: wtarget.height()}, 500 );
|
||||
}else{
|
||||
create_whisper(whisp[1],whisp[2]);
|
||||
}
|
||||
|
@ -896,7 +894,8 @@ function inmeta2(){
|
|||
}
|
||||
$('#chatlog').append(msg);
|
||||
if(as!=false){
|
||||
$('#chatlog').slimscroll({ scrollBy: '5000px' });
|
||||
var target = $('#chatlog');
|
||||
target.animate({ scrollTop: target.height()}, 500 );
|
||||
}
|
||||
}//End message()
|
||||
|
||||
|
|
1
modules/chat/js/jquery.slimscroll.min.js
vendored
1
modules/chat/js/jquery.slimscroll.min.js
vendored
|
@ -1 +0,0 @@
|
|||
(function(e){jQuery.fn.extend({slimScroll:function(n){var r={width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:false,disableFadeOut:false,railVisible:false,railColor:"#333",railOpacity:.2,railDraggable:true,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:false,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"};var i=e.extend(r,n);this.each(function(){function x(t){if(!r){return}var t=t||window.event;var n=0;if(t.wheelDelta){n=-t.wheelDelta/120}if(t.detail){n=t.detail/3}var s=t.target||t.srcTarget||t.srcElement;if(e(s).closest("."+i.wrapperClass).is(m.parent())){T(n,true)}if(t.preventDefault&&!v){t.preventDefault()}if(!v){t.returnValue=false}}function T(e,t,n){v=false;var r=e;var s=m.outerHeight()-E.outerHeight();if(t){r=parseInt(E.css("top"))+e*parseInt(i.wheelStep)/100*E.outerHeight();r=Math.min(Math.max(r,0),s);r=e>0?Math.ceil(r):Math.floor(r);E.css({top:r+"px"})}c=parseInt(E.css("top"))/(m.outerHeight()-E.outerHeight());r=c*(m[0].scrollHeight-m.outerHeight());if(n){r=e;var u=r/m[0].scrollHeight*m.outerHeight();u=Math.min(Math.max(u,0),s);E.css({top:u+"px"})}m.scrollTop(r);m.trigger("slimscrolling",~~r);k();L()}function N(){if(window.addEventListener){this.addEventListener("DOMMouseScroll",x,false);this.addEventListener("mousewheel",x,false)}else{document.attachEvent("onmousewheel",x)}}function C(){l=Math.max(m.outerHeight()/m[0].scrollHeight*m.outerHeight(),d);E.css({height:l+"px"});var e=l==m.outerHeight()?"none":"block";E.css({display:e})}function k(){C();clearTimeout(a);if(c==~~c){v=i.allowPageScroll;if(h!=c){var e=~~c==0?"top":"bottom";m.trigger("slimscroll",e)}}else{v=false}h=c;if(l>=m.outerHeight()){v=true;return}E.stop(true,true).fadeIn("fast");if(i.railVisible){w.stop(true,true).fadeIn("fast")}}function L(){if(!i.alwaysVisible){a=setTimeout(function(){if(!(i.disableFadeOut&&r)&&!s&&!u){E.fadeOut("slow");w.fadeOut("slow")}},1e3)}}var r,s,u,a,f,l,c,h,p="<div></div>",d=30,v=false;var m=e(this);if(m.parent().hasClass(i.wrapperClass)){var g=m.scrollTop();E=m.parent().find("."+i.barClass);w=m.parent().find("."+i.railClass);C();if(e.isPlainObject(n)){if("height"in n&&n.height=="auto"){m.parent().css("height","auto");m.css("height","auto");var y=m.parent().parent().height();m.parent().css("height",y);m.css("height",y)}if("scrollTo"in n){g=parseInt(i.scrollTo)}else if("scrollBy"in n){g+=parseInt(i.scrollBy)}else if("destroy"in n){E.remove();w.remove();m.unwrap();return}T(g,false,true)}return}i.height=i.height=="auto"?m.parent().height():i.height;var b=e(p).addClass(i.wrapperClass).css({position:"relative",overflow:"hidden",width:i.width,height:i.height});m.css({overflow:"hidden",width:i.width,height:i.height});var w=e(p).addClass(i.railClass).css({width:i.size,height:"100%",position:"absolute",top:0,display:i.alwaysVisible&&i.railVisible?"block":"none","border-radius":i.railBorderRadius,background:i.railColor,opacity:i.railOpacity,zIndex:90});var E=e(p).addClass(i.barClass).css({background:i.color,width:i.size,position:"absolute",top:0,opacity:i.opacity,display:i.alwaysVisible?"block":"none","border-radius":i.borderRadius,BorderRadius:i.borderRadius,MozBorderRadius:i.borderRadius,WebkitBorderRadius:i.borderRadius,zIndex:99});var S=i.position=="right"?{right:i.distance}:{left:i.distance};w.css(S);E.css(S);m.wrap(b);m.parent().append(E);m.parent().append(w);if(i.railDraggable){E.bind("mousedown",function(n){var r=e(document);u=true;t=parseFloat(E.css("top"));pageY=n.pageY;r.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY;E.css("top",currTop);T(0,E.position().top,false)});r.bind("mouseup.slimscroll",function(e){u=false;L();r.unbind(".slimscroll")});return false}).bind("selectstart.slimscroll",function(e){e.stopPropagation();e.preventDefault();return false})}w.hover(function(){k()},function(){L()});E.hover(function(){s=true},function(){s=false});m.hover(function(){r=true;k();L()},function(){r=false;L()});m.bind("touchstart",function(e,t){if(e.originalEvent.touches.length){f=e.originalEvent.touches[0].pageY}});m.bind("touchmove",function(e){if(!v){e.originalEvent.preventDefault()}if(e.originalEvent.touches.length){var t=(f-e.originalEvent.touches[0].pageY)/i.touchScrollStep;T(t,true);f=e.originalEvent.touches[0].pageY}});C();if(i.start==="bottom"){E.css({top:m.outerHeight()-E.outerHeight()});T(0,true)}else if(i.start!=="top"){T(e(i.start).position().top,null,true);if(!i.alwaysVisible){E.hide()}}N()});return this}});jQuery.fn.extend({slimscroll:jQuery.fn.slimScroll})})(jQuery)
|
13
modules/chat/js/slimScroll.min.js
vendored
13
modules/chat/js/slimScroll.min.js
vendored
|
@ -1,13 +0,0 @@
|
|||
/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la)
|
||||
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
|
||||
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
|
||||
*
|
||||
* Version: 0.5.0
|
||||
*
|
||||
*/
|
||||
(function(d){jQuery.fn.extend({slimScroll:function(o){var a=ops=d.extend({wheelStep:20,width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:0.4,alwaysVisible:!1,railVisible:!1,railColor:"#333",railOpacity:"0.2",railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,scroll:0},o);this.each(function(){function h(a,d,e){var f=a;d&&(f=parseInt(c.css("top"))+a*B/100*c.outerHeight(),d=b.outerHeight()-c.outerHeight(),
|
||||
f=Math.min(Math.max(f,0),d),c.css({top:f+"px"}));k=parseInt(c.css("top"))/(b.outerHeight()-c.outerHeight());f=k*(b[0].scrollHeight-b.outerHeight());e&&(f=a,a=f/b[0].scrollHeight*b.outerHeight(),c.css({top:a+"px"}));b.scrollTop(f);p();i()}function w(){q=Math.max(b.outerHeight()/b[0].scrollHeight*b.outerHeight(),o);c.css({height:q+"px"})}function p(){w();clearTimeout(x);l=C&&k==~~k;q>=b.outerHeight()?l=!0:(c.stop(!0,!0).fadeIn("fast"),y&&g.stop(!0,!0).fadeIn("fast"))}function i(){m||(x=setTimeout(function(){!r&&
|
||||
!s&&(c.fadeOut("slow"),g.fadeOut("slow"))},1E3))}var t,r,s,x,q,k,o=30,l=!1,B=parseInt(a.wheelStep),j=a.width,z=a.height,e=a.size,D=a.color,E=a.position,A=a.distance,u=a.start,F=a.opacity,m=a.alwaysVisible,y=a.railVisible,G=a.railColor,H=a.railOpacity,C=a.allowPageScroll,n=a.scroll,b=d(this);if(b.parent().hasClass("slimScrollDiv"))n&&(c=b.parent().find(".slimScrollBar"),g=b.parent().find(".slimScrollRail"),h(b.scrollTop()+parseInt(n),!1,!0));else{n=d("<div></div>").addClass(a.wrapperClass).css({position:"relative",
|
||||
overflow:"hidden",width:j,height:z});b.css({overflow:"hidden",width:j,height:z});var g=d("<div></div>").addClass(a.railClass).css({width:e,height:"100%",position:"absolute",top:0,display:m&&y?"block":"none","border-radius":e,background:G,opacity:H,zIndex:90}),c=d("<div></div>").addClass(a.barClass).css({background:D,width:e,position:"absolute",top:0,opacity:F,display:m?"block":"none","border-radius":e,BorderRadius:e,MozBorderRadius:e,WebkitBorderRadius:e,zIndex:99}),j="right"==E?{right:A}:{left:A};
|
||||
g.css(j);c.css(j);b.wrap(n);b.parent().append(c);b.parent().append(g);c.draggable({axis:"y",containment:"parent",start:function(){s=!0},stop:function(){s=!1;i()},drag:function(){h(0,d(this).position().top,!1)}});g.hover(function(){p()},function(){i()});c.hover(function(){r=!0},function(){r=!1});b.hover(function(){t=!0;p();i()},function(){t=!1;i()});var v=function(a){if(t){var a=a||window.event,b=0;a.wheelDelta&&(b=-a.wheelDelta/120);a.detail&&(b=a.detail/3);h(b,!0);a.preventDefault&&!l&&a.preventDefault();
|
||||
l||(a.returnValue=!1)}};(function(){window.addEventListener?(this.addEventListener("DOMMouseScroll",v,!1),this.addEventListener("mousewheel",v,!1)):document.attachEvent("onmousewheel",v)})();w();"bottom"==u?(c.css({top:b.outerHeight()-c.outerHeight()}),h(0,!0)):"object"==typeof u&&(h(d(u).position().top,null,!0),m||c.hide())}});return this}});jQuery.fn.extend({slimscroll:jQuery.fn.slimScroll})})(jQuery);
|
|
@ -1,72 +1,17 @@
|
|||
<div class="pmnotice"></div>
|
||||
<footer class="s-footer">
|
||||
|
||||
<div class="row s-footer__top">
|
||||
<div class="column">
|
||||
{if $user.is_admin==1}
|
||||
mySQL Queries: {$queries} | Memory usage: {$memory}
|
||||
{/if}
|
||||
</div>
|
||||
</div> <!-- end footer__top -->
|
||||
|
||||
<div class="row s-footer__bottom">
|
||||
|
||||
<div class="large-6 tab-full column s-footer__info">
|
||||
</div>
|
||||
|
||||
<div class="large-6 tab-full column">
|
||||
<div class="row">
|
||||
<!--<div class="large-8 tab-full column">
|
||||
|
||||
<h3 class="h6">Photostream</h3>
|
||||
|
||||
<ul class="photostream group">
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
</ul>
|
||||
|
||||
</div>-->
|
||||
|
||||
<div class="large-4 tab-full column">
|
||||
<h3 class="h6">Navigation</h3>
|
||||
|
||||
<ul class="s-footer__list s-footer-list--nav group">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/nutzungsbedingungen.html">Nutzungsbedingungen</a></li>
|
||||
<li><a href="/datenschutzerklaerung.html">Datenschutzerklärung</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ss-copyright">
|
||||
<span>© Copyright 2025 FunCh.at.</span>
|
||||
<span>Design by <a href="https://www.styleshout.com/">StyleShout</a></span>
|
||||
</div>
|
||||
|
||||
</div> <!-- end footer__bottom -->
|
||||
|
||||
|
||||
<div class="ss-go-top">
|
||||
<a class="smoothscroll" title="Back to Top" href="#top">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0l8 9h-6v15h-4v-15h-6z"/></svg>
|
||||
</a>
|
||||
</div> <!-- end ss-go-top -->
|
||||
|
||||
</footer> <!-- end Footer-->
|
||||
|
||||
|
||||
<!-- Java Script
|
||||
================================================== -->
|
||||
<script src="{$themepath}/js/main.js"></script>
|
||||
<script src="/js/odo/odometer.min.js"></script>
|
||||
{$footer}
|
||||
<div class="wrapper col6">
|
||||
<div id="footer">
|
||||
<br class="clear">
|
||||
</div>
|
||||
</div>
|
||||
<!-- ####################################################################################################### -->
|
||||
<div class="wrapper col7">
|
||||
<div id="copyright">
|
||||
<p class="fl_left">© Copyright 2025 FunCh.at</p> <p class="fl_left"> | </p> <p class="fl_left"><a href="/t/nutzungsbedingungen.html">Nutzungsbedingungen</a></p> <p class="fl_left"> | </p> <p class="fl_left"><a href="/t/datenschutzerklaerung.html">Datenschutzerklärung</a> <p class="fl_left"> | <a rel="me" href="https://fedi.at/@genuineparts">Mastodon</a></p></p>
|
||||
<br class="clear">
|
||||
</div>
|
||||
</div>
|
||||
<script src="/js/odo/odometer.min.js"></script>
|
||||
{$footer}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div id="container">
|
||||
<div id="content" style="height: 80vh;">
|
||||
<div class="topbar"><a id="notchan">Ding</a> | <a href="//funch.at/forum/help-8.html" target="_blank" onclick="return popup('//funch.at/forum/help-8.html','width=800, height=800, resizeable,scrollbars=yes');">Hilfe</a> | <a href="//funch.at/forum/misc.php?action=smilies&popup=true" target="_blank" onclick="return popup('//funch.at/forum/misc.php?action=smilies&popup=true','width=600, height=600, resizeable,scrollbars=yes');">Smilies</a> | <a id="notsw">Benachrichtigung: An</a> | <a id="scrolling">Scrolling: An</a> | <a id="whwindow">{$whtext}</a> | <a id="submit">{$submit}</a> | <a id="logout">Logout</a></div>
|
||||
<div id="chatlog" style="z-index:1; position:relative;"></div>
|
||||
<div id="chatlog" style="overflow-y:auto; height: 95%; z-index:1; position:relative;"></div>
|
||||
</div>
|
||||
<div id="column">
|
||||
<div class="userlist">
|
||||
|
@ -21,16 +21,4 @@
|
|||
<div id="whispers" style="display:none;">
|
||||
</div>
|
||||
<div id="repwindow" style="display:none;">
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$('#chatlog').slimScroll({
|
||||
color: '#00f',
|
||||
size: '10px',
|
||||
width: '90%',
|
||||
wheelStep: 10,
|
||||
height: '90%',
|
||||
start: 'bottom'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -14,11 +14,6 @@ No users.
|
|||
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$('#users').slimscroll({
|
||||
color: '#00f',
|
||||
size: '10px',
|
||||
height: '300px'
|
||||
});
|
||||
{if $js!=""}
|
||||
{$js}
|
||||
$(".notice").rightClickMenu(menu);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue