Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ALTE JAVASCRIPT
- -------------------------
- var uu_compactview=false;
- function douu()
- // draw the diagram that shows the other listeners
- {
- s='';
- total=0;
- for (b=0;b<nbands;b++) {
- if (!uu_compactview) {
- s+="<p><div align='left' style='width:1024px; background-color:black;'><div class=others>";
- for (i=0;i<uu_names.length;i++) if (uu_bands[i]==b && uu_names[i]!="") {
- s+="<div id='user"+i+"' align='center' style='position:relative;left:"+
- (uu_freqs[i]*1024-250)
- // Original Zeile zum User Anzeigen
- //+"px;width:500px; color:"+others_colours[i%8]+";'><b>"+uu_names[i]+"</b></div>";
- // Username ausgeblendet
- +"px;width:500px; color:"+others_colours[i%8]+";'>";
- s+="<b>|</b>";
- s+="</div>";
- total++;
- }
- s+="<img src="+bi[b].scaleimgs[0][0]+"></div></div></p>";
- } else {
- s+="<p><div align='left' style='width:1024px;height:15px;position:relative; background-color:black;'>";
- for (i=0;i<uu_names.length;i++) if (uu_bands[i]==b && uu_names[i]!="") {
- s+="<div id='user"+i+"' style='position:absolute;top:1px;left:"+
- (uu_freqs[i]*1024)
- +"px;width:1px;height:13px; background-color:"+others_colours[i%8]+";'></div>";
- total++;
- }
- s+="</div><div><img src="+bi[b].scaleimgs[0][0]+"></div></p>";
- }
- }
- usersobj.innerHTML=s;
- numusersobj.innerHTML=total;
- }
- NEUES JAVASCRIPT
- ---------------------
- var uu_compactview=false;
- function douu()
- {
- s='';
- total=0;
- for (b=0;b<nbands;b++) {
- if (!uu_compactview) {
- s+="<p><div style='width:1024px; background-color:black;border-radius: 4px;box-shadow: 4px 4px 15px 0px rgba(0,0,0);margin: 0px 5px 0px 5px;margin-left: auto;margin-right: auto;'><div class=others>";
- for (i=0;i<uu_names.length;i++) if (uu_bands[i]==b && uu_names[i]!="") {
- s+="<div id='user"+i+"' align='center' style='position:relative;left:"+(uu_freqs[i]*1024-250)+"px;width:500px; color:"+others_colours[i%8]+";'><b>"+uu_names[i]+"</b></div>";
- total++;
- }
- s+="<img src="+bi[b].scaleimgs[0][0]+"></div></div></p>";
- } else {
- s+="<p><div style='width:1024px;height:35px;position:relative; background-color:black;border-radius: 4px;box-shadow: 4px 4px 15px 0px rgba(0,0,0);margin: 0px 5px 0px 5px;margin-left: auto;margin-right: auto;'>";
- for (i=0;i<uu_names.length;i++) if (uu_bands[i]==b && uu_names[i]!="") {
- s+="<div id='user"+i+"' style='position:absolute;top:1px;left:"+
- (uu_freqs[i]*1024)
- +"px;width:1px;height:13px; background-color:"+others_colours[i%8]+";'></div>";
- total++;
- }
- s+="<div style='position:absolute;bottom:1px'><img src="+bi[b].scaleimgs[0][0]+"></div></div></p>";
- }
- }
- usersobj.innerHTML=s;
- numusersobj.innerHTML=total;
- }
Advertisement
Advertisement