• Seite 1 von 2
  • 1
  • 2
  • »
Gemeinschaft uCoz » uCoz Module » Dateiverzeichnis » Download art ändern??
Download art ändern??
hidmen
Beiträge: 467
Ruf: 8
Beitrag # 1 | 12:19
Hallo, ich habn problem mit dem downloadbereich.

Momentan sieht es ja so aus wenn man bei mir was downloadet:

Ichmöchte aber das es so aussieht:

Ich möchte das vor dem Download erst 60 Sekunden mehr/weniger je nach download und account gewartet werden muss.
Kann mir jemand die schablone bitte so um schreiben das das funktioniert?? Als dank würde der jenige einen VIP-Account bekommen!

Anhänge: 8760337.png (18.1 Kb) · 8199820.png (25.1 Kb)

Minecraft Server 24/7

www.hiddentown.de
alfabm
Beiträge: 748
Ruf: 14
Beitrag # 2 | 09:49
allso für ein Button hätte ich einen Script:
Der Script ist auf 25 Sekunden ein gestellt kann man aber ändern.
Jetzt brauchen wir nur noch jemanden der das ganze in die Seite einbaut.
Code

<html>
<body>

<script>
var time = new Date;
//Ab hier anpassen
var time = time.getTime();
var to = "document.forms['name'].elements['name']"; //Referentz auf den Button
var bis = time+25; //25 Durch die Anzahl der Sekunden ersetzen
var text = "Download"; //Der Text der im Button stehen soll
//Bis hier

function activate()
{
noch = bis-time-1;
eval(to+".disabled = true");
if(time < bis)
{
eval(to+'.value = "(" + noch + ") ' + text + '"');
time = time+1;
window.setTimeout("activate()", 1000);
}
else
{
eval(to+".disabled = false");
eval(to+".value = \"" + text+ "\"");
}
}
</script>
<body onload="activate()"><!--Wichtig das onload gesetzt ist-->
<form id="name" name="name" method="post" action="">
    <input name="name" type="submit" id="name" value="" />
</form>

</body>
</html>

Du kannst den Script auch testen unter: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro
Einfach zwischen <body> und< /body> einfügen


Beitrag wurde von alfabm - Montag, 02.08.2010, 09:51 bearbeitet
hidmen
Beiträge: 467
Ruf: 8
Beitrag # 3 | 10:27
ja den code hätte ich auch aber ich weis leider nicht wie ich ihn in die schablone einbau
meiner ist etwas anders:
Code
<p>
<div style="float:left"><script
   language="JavaScript1.1"
   type="text/javascript"
   src=".js?atp=bnr&adim=10&c=20574&aftxt=1&s=26279&rnd=1">  
</script></div>
<center><b>File Name: </b>Downloader.rar
<center><b></b><br /><br /><p><div id="dl" align="center">

   
If you're seeing this message, you need to enable JavaScript
   
</div>
   
<script language="Javascript">  
x678=10;
function countdown()  
{
  if ((0 <= 100) || (0 > 0))
  {
   x678--;
   if(x678 == 0)
   {
document.getElementById("dl").innerHTML = '<input type="submit" value="Download" onClick="window.location=\'http://www.fileuploadx.de/download2.php?a=355726&b=ec2c3772b45783b78674c78e1bebf736\'">';
   }
   if(x678 > 0)
   {
  document.getElementById("dl").innerHTML = '<input type=submit value=\"Download in '+x678+' seconds..\">';
    setTimeout('countdown()',1000);
   }
  }
}
countdown();
</script><p><p>

Minecraft Server 24/7

www.hiddentown.de
alfabm
Beiträge: 748
Ruf: 14
Beitrag # 4 | 10:29
ich weiß auch nicht aber wo ist nur unsere Johann der hätte schon längst was gebastelt.
Cheboratur was sagst du dazu?

hidmen
Beiträge: 467
Ruf: 8
Beitrag # 5 | 12:48
genau wo ist er sad

Minecraft Server 24/7

www.hiddentown.de
Cheburator
Beiträge: 2172
Ruf: 83
Beitrag # 6 | 14:27
hidmen, ich bin hier biggrin
Ich gebe dir den Code etwas später!


Meine uCoz Website: uScripts.de
Mein Blog: *Soon*
hidmen
Beiträge: 467
Ruf: 8
Beitrag # 7 | 15:55
aber nicht vergessen, ok! cry
ich will nicht trängeln aber ich che den code so schnell wie möglich

Minecraft Server 24/7

www.hiddentown.de
Cheburator
Beiträge: 2172
Ruf: 83
Beitrag # 8 | 15:57
hidmen, dont worry ^^ Bin gerade mit einer Page fertig geworden ^^ smile
Muss jetzt los, wenn ich wieder komme sende ich dir den Script zu.


Meine uCoz Website: uScripts.de
Mein Blog: *Soon*
Cheburator
Beiträge: 2172
Ruf: 83
Beitrag # 9 | 16:33
Hier bitte smile

1. Logge dich im Verwaltungspanel ein.
2. Gehe dort auf Designverwaltung -> Dateiverzeichnis -> Seite mit dem Material und den Kommentaren dazu.
3. Füge diesen Code, dort ein wo du ihn haben willst:

Code
<a class="dload" href="javascript://" onclick="dload('$FILE_URL$',this);">
  <div style="font-size: 22px; padding-top: 25px; padding-right: 12px;">
   <b>Download</b>
  </div>
  <div style="font-size: 11px; font-family: tahoma; padding-top: 6px; padding-right: 16px;">
   Größe: $FILE_SIZE$, Downloads: $LOADS$
  </div>
</a>   
<script type="text/javascript">   
function dload(link,obj){   

_uWnd.alert('<span id="timer0">Warte bitte <b id="timer1">60</b> Sek.</span>','',   

{w:200,h:80,tm:60000,pad:20});   
obj.disabled = true;   
var out = 59;   
var timer2 = setInterval(function(){   
document.getElementById('timer1').innerHTML = out;   
out--;   
if(out == 0){   
obj.disabled = false;   
location.replace(link);   
clearInterval(timer2);   
document.getElementById('timer0').innerHTML = 'Speichern';   
}   
},1000);   

}   
</script>

4. Gehe zurück in die Designverwaltung, und gehe dann dort auf Cascading Style Sheets (CSS), und füge dort diesen CSS-Code ganz unten ein:
Code
a.dload:link, a.dload:visited, a.dload:active, .dload:link, .dload:visited, .dload:active {text-decoration:none; font-family:arial; color:#fff; background:url('/images/download_bg.png') no-repeat top right; height:70px; width:305px; display:block;}   
a.dload:hover, .dload:hover, a.dload:focus, .dload:focus {text-decoration:none; font-family:arial; color:#fff; background:url('/images/download_bg.png') no-repeat bottom right; height:70px; width:305px; display:block;}

5. Lade jetzt das Archiv runter, entpacke es, und lade das bild bei dir in den Ordner images hoch!

Fertig!

Jetzt kommen wir dazu wie dieser Script funktioniert:
Nachdem man auf Download klickt, muss man 60 Sek. warten, und dann kommt der Download in erscheinung smile

Anhänge: download_bg.rar (29.4 Kb)


Meine uCoz Website: uScripts.de
Mein Blog: *Soon*
hidmen
Beiträge: 467
Ruf: 8
Beitrag # 10 | 16:46
Cheburator, danke dafür bekommst du lebenslang vip wenn ich fertig bin!!

edit:
ich glaub ich bin zu blöd:

so sieht mein code jetz aus

Code
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>$ENTRY_TITLE$ - $CAT_NAME$ <?if($SECTION_NAME$)?>- $SECTION_NAME$<?endif?> - $MODULE_NAME$ - $SITE_NAME$</title>
<?$META_DESCRIPTION$?>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
</head>
              
         <a class="dload" href="javascript://" onclick="dload('$FILE_URL$',this);">
       <div style="font-size: 22px; padding-top: 25px; padding-right: 12px;">
        <b>Download</b>
       </div>
       <div style="font-size: 11px; font-family: tahoma; padding-top: 6px; padding-right: 16px;">
        Größe: $FILE_SIZE$, Downloads: $LOADS$
       </div>
</a>        
<script type="text/javascript">        
function dload(link,obj){        

_uWnd.alert('<span id="timer0">Warte bitte <b id="timer1">60</b> Sek.</span>','',        

{w:200,h:80,tm:60000,pad:20});        
obj.disabled = true;        
var out = 59;        
var timer2 = setInterval(function(){        
document.getElementById('timer1').innerHTML = out;        
out--;        
if(out == 0){        
obj.disabled = false;        
location.replace(link);        
clearInterval(timer2);        
document.getElementById('timer0').innerHTML = 'Speichern';        
}        
},1000);        

}        
</script>
              
              

<body style="padding:0;margin:0;" bgcolor="#FFFFFF">
$ADMIN_BAR$
$GLOBAL_AHEADER$
<center>
<div style="width:98%">
<table border="0" cellpadding="0" cellspacing="0" width="96%" align="center">
<tr>
<td width="200" valign="top" style="padding-bottom:20px;">
$GLOBAL_CLEFTER$

</td>
<td valign="top" class="mFrame">

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="60%"><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?><!--<s5200>-->Sie sind angemeldet als<!--</s>--> <a href="$PERSONAL_PAGE_LINK$"><b>$USERNAME$</b></a> · <!--<s3167>-->Gruppe<!--</s>--> "<u>$USER_GROUP$</u>"<?else?><!--<s5212>-->Willkommen<!--</s>-->, <b>$USERNAME$</b><?endif?><?endif?><?if($RSS_LINK$)?> · <a href="$RSS_LINK$">RSS</a><?endif?></td>
<td align="right" class="copy">$DATE$, $TIME$</td>
</tr>
</table>
<hr>
<!-- <middle> -->
<!-- <body> --><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="80%"><a href="$HOME_PAGE_LINK$"><!--<s5176>-->Hauptseite<!--</s>--></a> » <a href="$MODULE_URL$"><!--<s5182>-->Dateien<!--</s>--></a> <?if($SECTION_NAME$)?>» <a href="$SECTION_URL$">$SECTION_NAME$</a><?endif?> » <a href="$CAT_URL$">$CAT_NAME$</a></td>
<td align="right" style="white-space: nowrap;"><?if($ADD_ENTRY_LINK$)?>[ <a href="$ADD_ENTRY_LINK$"><!--<s5186>-->Material hinzufügen<!--</s>--></a> ]<?endif?></td>
</tr>
</table>
<hr />
<div class="eTitle" style="padding-bottom:3px;"><?if($MODER_PANEL$)?><div style="float:right">$MODER_PANEL$</div><?endif?>$ENTRY_TITLE$ $VERSION$</div>
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="eBlock">
<tr><td width="85%">
<?if($FILE_URL$ || $RFILE_URL$ || $SCREEN_URL$)?>[ <?if($FILE_URL$)?><a href="$FILE_URL$"><!--<s5223>-->Downloaden<!--</s>--></a> ($FILE_SIZE$)<?endif?>
<?if($RFILE_URL$)?> · <a href="$RFILE_URL$" target="_blank"><!--<s5224>-->Downloaden (Mirror)<!--</s>--></a> ($RFILE_SIZE$)<?endif?>
<?if($SCREEN_URL$)?> · <a href="$SCREEN_URL$" target="_blank"><!--<s5187>-->Screenshot<!--</s>--></a><?endif?> ]<?endif?>
</td><td align="right" style="font-size:7pt;white-space: nowrap;">$ADD_DATE$, $ADD_TIME$</td></tr>
<tr><td class="eText" colspan="2">$MESSAGE$</td></tr>
<tr><td class="eDetails1" colspan="2"><?if($RATING$)?><div style="float:right"><?$RSTARS$('12','/.s/img/stars/3/12.png','1','float')?></div>
<?endif?><!--<s3179>-->Kategorie<!--</s>-->: <a href="$CAT_URL$">$CAT_NAME$</a><?if($USER$)?> | <!--<s3178>-->Hinzugefügt von<!--</s>-->: <a href="$PROFILE_URL$">$USER$</a><?endif?>
<?if($TAGS$)?> | <!--<s5308>-->Tags<!--</s>-->: $TAGS$<?endif?>
</td></tr>
<tr><td class="eDetails2" colspan="2"><!--<s3177>-->Aufrufe<!--</s>-->: <b>$READS$</b> | <!--<s3181>-->Downloads<!--</s>-->: <b>$LOADS$</b>
<?if($COMMENTS_NUM$)?>| <!--<s3039>-->Kommentare<!--</s>-->: <b>$COMMENTS_NUM$</b><?endif?>
<?if($RATING$)?>| <!--<s3119>-->Rating<!--</s>-->: <b><span id="entRating$ID$">$RATING$</span></b>/<b><span id="entRated$ID$">$RATED$</span></b><?endif?></td></tr>
</table>

<?if($COM_IS_ACTIVE$)?>
<?if($COM_CAN_READ$)?>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td width="60%" height="25"><!--<s5183>-->Kommentare insgesamt<!--</s>-->: <b>$COM_NUM_ENTRIES$</b></td><td align="right" height="25">$COM_PAGE_SELECTOR$</td></tr>
<tr><td colspan="2">$COM_BODY$</td></tr>
<tr><td colspan="2" align="center">$COM_PAGE_SELECTOR1$</td></tr>
<tr><td colspan="2" height="10"></td></tr>
</table>
<?endif?>

<?if($COM_CAN_ADD$)?>
$COM_ADD_FORM$
<?else?>
<?if($USER_LOGGED_IN$)?><?else?><div align="center" class="commReg"><!--<s5237>-->Nur registrierte Benutzer können Kommentare hinzufügen.<!--</s>--><br />[ <a href="$REGISTER_LINK$"><!--<s3089>-->Registrieren<!--</s>--></a> | <a href="$LOGIN_LINK$"><!--<s3087>-->Login<!--</s>--></a> ]</div><?endif?>
<?endif?>
<?endif?><!-- </body> -->
<!-- </middle> -->
</td>
</tr>
</table>

</div></center>
$GLOBAL_BFOOTER$

</body>
</html>

und hier css

Code
/* General Style */
a:link {text-decoration:underline; color:#4D6D91;}
a:active {text-decoration:underline; color:#4D6D91;}
a:visited {text-decoration:underline; color:#4D6D91;}
a:hover {text-decoration:underline; color:#000000;}

td, body {font-family:verdana,arial,helvetica; font-size:8pt;}
form {padding:0px;margin:0px;}
input,textarea,select {vertical-align:middle; font-size:8pt; font-family:verdana,arial,helvetica;}
.copy {font-size:7pt;}

a.noun:link {text-decoration:none; color:#4D6D91}
a.noun:active {text-decoration:none; color:#4D6D91}
a.noun:visited {text-decoration:none; color:#4D6D91}
a.noun:hover {text-decoration:none; color:#000000}

hr {color:#8EA8C4;height:1px;}
label {cursor:pointer;cursor:hand}

.blockTitle {padding-left:19px; font-weight:bold; color:#FFFFFF; font-size:12px; background: url('/.s/t/211/10.gif') no-repeat 7px 6px;text-transform:capitalize;}

a.menu1:link {text-decoration:underline; color:#DDEEF7}
a.menu1:visited {text-decoration:underline; color:#DDEEF7}
a.menu1:hover {text-decoration:underline; color:#FFFFFF}
a.menu1:active {text-decoration:underline; color:#FFFFFF}
.menuTd {font-family:Tahoma,Arial,Helvetica; padding-left:15px;padding-right:12px; background: url('/.s/t/211/11.gif') no-repeat 0px 3px;}

.mTd {padding-left:12px;padding-top:5px;padding-right:1px;}
.pageTitle {font-family:Tahoma,Arial,Helvetica; font-size:8pt; font-weight:bold; color:#FFFFFF; padding-left:10px; padding-right:10px;}
.mframe {padding-left:15px; padding-bottom:20px; padding-right:3px;}

.blockT1 {border-left:1px solid #5694B5;}
.blockT2 {padding:5px;}
/* ------------- */

/* Menus */
ul.uz, ul.uMenuRoot {list-style: none; margin: 0 0 0 0; padding-left: 0px;}
li.menus {margin: 0; padding: 0 0 0 13px; background: url('/.s/t/211/12.gif') no-repeat 3px 4px; margin-bottom: .6em;}
/* ----- */

/* Site Menus */
.uMenuH li {float:left;padding:0 5px;}

.uMenuV .uMenuItem {font-family:Tahoma,Arial,Helvetica;}
.uMenuV li a:link {text-decoration:none; color:#4D6D91}
.uMenuV li a:visited {text-decoration:none; color:#4D6D91}
.uMenuV li a:hover {text-decoration:none; color:#4D6D91; font-weight:bold;}
.uMenuV li a:active {text-decoration:none; color:#4D6D91; font-weight:bold;}

.uMenuV .uMenuItemA {font-weight:bold;}
.uMenuV a.uMenuItemA:link {text-decoration:none; color:#4D6D91}
.uMenuV a.uMenuItemA:visited {text-decoration:none; color:#4D6D91}
.uMenuV a.uMenuItemA:hover {text-decoration:none; color:#4D6D91;}
.uMenuV .uMenuArrow {position:absolute;width:10px;height:10px;right:0;top:3px;background:url('/.s/img/wd/1/ar1.gif') no-repeat 0 0;}
.uMenuV li {border-bottom:1px solid #8EA8C4; margin: 0 2 0 0px; padding: 0 0 2 13px; background: url('/.s/t/211/12.gif') no-repeat 3px 4px; margin-bottom: .6em;}
/* --------- */

/* Module Part Menu */
.catsTd {padding: 0 0 3px 12px; background: url('/.s/t/211/12.gif') no-repeat 2px 4px;}
.catName {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;}
.catNameActive {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;}
.catNumData {font-size:7pt;color:#4D6D91;}
.catDescr {font-size:7pt; padding-left:10px;}
a.catName:link {text-decoration:none; color:#4D6D91;}
a.catName:visited {text-decoration:none; color:#4D6D91;}
a.catName:hover {text-decoration:underline; color:#4D6D91;}
a.catName:active {text-decoration:underline; color:#4D6D91;}
a.catNameActive:link {text-decoration:underline; color:#4D6D91;}
a.catNameActive:visited {text-decoration:underline; color:#4D6D91;}
a.catNameActive:hover {text-decoration:underline; color:#4D6D91;}
a.catNameActive:active {text-decoration:underline; color:#4D6D91;}
/* ----------------- */

/* Entries Style */
.eBlock {}
.eTitle {font-family:Arial,Sans-Serif;font-size:15px;font-weight:bold;color:#4D6D91; padding: 0 0 0 20px; background: url('/.s/t/211/13.gif') no-repeat 1px 3px;}
.eMessage {text-align:justify;padding-bottom:5px;}
.eText {text-align:justify;padding-bottom:5px;padding-top:5px;border-top:1px dashed #DDDDDD;}
.textHr {color:#DDDDDD;height:1px;border:1px dashed #DDDDDD;}

.eDetails {border-top:1px dashed #DDDDDD;border-bottom:1px dashed #DDDDDD;font-family:Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:7pt;}
.eDetails1 {border-top:1px dashed #DDDDDD;border-bottom:1px dashed #DDDDDD;font-family:Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:8pt;}
.eDetails2 {border-bottom:1px dashed #DDDDDD;font-family:Tahoma,Arial,Sans-Serif;color:#1A1A1A;padding-bottom:5px;padding-top:3px;text-align:left;font-size:8pt;}

.eRating {font-size:7pt;}

.eAttach {margin: 16px 0 0 0; padding: 0 0 0 15px; background: url('/.s/t/211/14.gif') no-repeat 0px 0px;}
/* ------------- */

/* Entry Manage Table */
.manTable {}
.manTdError {color:#FF0000;}
.manTd1 {}
.manTd2 {}
.manTd3 {}
.manTdSep {}
.manHr {}
.manTdBrief {}
.manTdText {}
.manTdFiles {}
.manFlFile {}
.manTdBut {}
.manFlSbm {}
.manFlRst {}
.manFlCnt {}
/* ------------------ */

/* Comments Style */
.cAnswer {padding-left:15px;padding-top:4px;font-style:italic;}

.cBlock1 {border:1px solid #8EA8C4;background:#FFFFFF;}
.cBlock2 {border:1px solid #8EA8C4;background:#FFFFFF;}
/* -------------- */

/* Comments Form Style */
.commTable {}
.commTd1 {color:#000000;}
.commTd2 {}
.commFl {width:100%;}
.smiles {border:1px inset;background:#FAFCFE;}
.commReg {padding: 10 0 10 0px; text-align:center;}
.commError {color:#FF0000;}
.securityCode {}
/* ------------------- */

/* News/Blog Archive Menu */
.archUl {list-style: none; margin:0; padding-left:0;}
.archLi {padding: 0 0 3px 10px; background: url('/.s/t/211/23.gif') no-repeat 0px 4px;}
.archActive {text-decoration:underline;}
.archLi {font-family:Tahoma,Arial,Sans-Serif;font-size:11px;}
a.archLink:link {text-decoration:none; color:#4D6D91;}
a.archLink:visited {text-decoration:none; color:#4D6D91;}
a.archLink:hover {text-decoration:underline; color:#4D6D91;}
a.archLink:active {text-decoration:underline; color:#4D6D91;}
/* ---------------------- */

/* News/Blog Archive Style */
.archiveCalendars {text-align:center;color:#0000FF;}
.archiveDateTitle {font-weight:bold;color:#4D6D91;padding-top:15px;}
.archEntryHr {width:250px;color:#DDDDDD;}
.archiveeTitle li {margin-left: 15px; padding: 0 0 0 15px; background: url('/.s/t/211/24.gif') no-repeat 0px 3px; margin-bottom: .6em;}
.archiveEntryTime {width:65px;font-style:italic;}
.archiveEntryComms {font-size:9px;color:#C3C3C3;}
a.archiveDateTitleLink:link {text-decoration:none; color:#4D6D91}
a.archiveDateTitleLink:visited {text-decoration:none; color:#4D6D91}
a.archiveDateTitleLink:hover {text-decoration:underline; color:#4D6D91}
a.archiveDateTitleLink:active {text-decoration:underline; color:#4D6D91}
.archiveNoEntry {text-align:center;color:#0000FF;}
/* ------------------------ */

/* News/Blog Calendar Style */
.calMonth {text-align:right; }
.calWday {border:1px outset; background:#77B5D6; width:17px;}
.calWdaySe {border:1px outset; background:#77B5D6; width:17px; font-weight:bold;}
.calWdaySu {border:1px outset; background:#77B5D6; width:17px; font-weight:bold; color:#FF0000;}
.calMday {border:1px inset; background:#F5F5F5;}
.calMdayA {border:1px inset; background:#F5F5F5; font-weight:bold;}
.calMdayIs {border:1px outset; background:#EFEFEF;}
.calMdayIsA {border:1px outset; background:#EFEFEF;font-weight:bold;}
a.calMonthLink:link {text-decoration:none; color:#4D6D91;}
a.calMonthLink:visited {text-decoration:none; color:#4D6D91;}
a.calMonthLink:hover {text-decoration:underline; color:#4D6D91;}
a.calMonthLink:active {text-decoration:underline; color:#000000;}
a.calMdayLink:link {text-decoration:underline; color:#4D6D91;}
a.calMdayLink:visited {text-decoration:underline; color:#4D6D91;}
a.calMdayLink:hover {text-decoration:underline; color:#000000;}
a.calMdayLink:active {text-decoration:underline; color:#000000;}
/* ------------------------ */

/* Poll styles */
.pollBut {width:110px;}

.pollBody {padding:7px; margin:0px; background:#FFFFFF}
.textResults {background:#E2E6EA}
.textResultsTd {background:#FFFFFF}

.pollNow {border-bottom:1px solid #E2E6EA; border-left:1px solid #E2E6EA; border-right:1px solid #E2E6EA;}
.pollNowTd {}

.totalVotesTable {border-bottom:1px solid #E2E6EA; border-left:1px solid #E2E6EA; border-right:1px solid #E2E6EA;}
.totalVotesTd {background:#FFFFFF}
/* ---------- */

/* User Group Marks */
a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:blue;}
a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:red;}
a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:green;}
/* ---------------- */

/* Other Styles */
.replaceTable {background:#F5F9FD;height:100px;width:300px;border:1px solid #597798;}

.legendTd {font-size:7pt;}
/* ------------ */

/* ===== forum Start ===== */

/* General forum Table View */
.gTable {background:#597798}
.gTableTop {padding:2px;background:#597798;color:#E2EBF5;font-weight:bold;height:22px;padding-left:10px;font-size:10pt;background-image: url('/.s/t/211/26.gif');}
.gTableSubTop {padding:2px;background:#ACC6E5;color:#000000;height:20px;background-image: url('/.s/t/211/27.gif');}
.gTableBody {padding:2px;background:#EFF3FE;}
.gTableBody1 {padding:2px;background:#FFFFFF;}
.gTableBottom {padding:2px;background:#EFF3FE;}
.gTableLeft {padding:2px;background:#E7EEF8;font-weight:bold;color:#4D6D91}
.gTableRight {padding:2px;background:#F5F9FD}
.gTableError {padding:2px;background:#EFF3FE;color:#FF0000;}
/* ------------------------ */

/* Forums Styles */
.forumNameTd,.forumLastPostTd {padding:2px;background:#FFFFFF}
.forumIcoTd,.forumThreadTd,.forumPostTd {padding:2px;background:#EFF3FE}
.forumLastPostTd,.forumArchive {padding:2px;font-size:7pt;}

a.catLink:link {text-decoration:none; color:#E2EBF5;}
a.catLink:visited {text-decoration:none; color:#E2EBF5;}
a.catLink:hover {text-decoration:underline; color:#E2EBF5;}
a.catLink:active {text-decoration:underline; color:#E2EBF5;}

.lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold}
.archivedForum{font-size:7pt;color:#FF0000;font-weight:bold;}
/* ------------- */

/* forum Titles & other */
.forum {font-weight:bold;font-size:9pt;}
.forumDescr,.forumModer {color:#858585;font-size:7pt;}
.forumViewed {font-size:9px;}
a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {text-decoration:none; color:#4D6D91;}
a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {text-decoration:none; color:#4D6D91;}
a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {text-decoration:underline; color:#6F8EB3;}
a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {text-decoration:underline; color:#4D6D91;}
/* -------------------- */

/* forum Navigation Bar */
.forumNamesBar {padding-bottom:7px;font-weight:bold;font-size:7pt;}
.forumBarKw {font-weight:normal;}
a.forumBarA:link {text-decoration:none; color:#000000;}
a.forumBarA:visited {text-decoration:none; color:#000000;}
a.forumBarA:hover {text-decoration:none; color:#4D6D91;}
a.forumBarA:active {text-decoration:underline; color:#4D6D91;}
/* -------------------- */

/* forum Fast Navigation Blocks */
.fastNav,.fastSearch,.fastLoginForm {font-size:7pt;}
/* ---------------------------- */

/* forum Fast Navigation Menu */
.fastNavMain {background:#C7D7EF;}
.fastNavCat {background:#E7EEF8;}
.fastNavCatA {background:#E7EEF8;color:#0000FF}
.fastNavForumA {color:#0000FF}
/* -------------------------- */

/* forum Page switches */
.switches {background:#B4CBE7;}
.pagesInfo {background:#FFFFFF;padding-right:10px;font-size:7pt;}
.switch {background:#FFFFFF;width:15px;font-size:7pt;}
.switchActive {background:#E7EEF8;font-weight:bold;color:#4D6D91;width:15px}
a.switchDigit:link,a.switchBack:link,a.switchNext:link {text-decoration:none; color:#000000;}
a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {text-decoration:none; color:#000000;}
a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover {text-decoration:underline; color:#FF0000;}
a.switchDigit:active,a.switchBack:active,a.switchNext:active {text-decoration:underline; color:#FF0000;}
/* ------------------- */

/* forum Threads Style */
.threadNametd,.threadAuthTd,.threadLastPostTd {padding:2px;padding:2px;background:#FFFFFF}
.threadIcoTd,.threadPostTd,.threadViewTd {padding:2px;background:#EFF3FE}
.threadLastPostTd {padding:2px;font-size:7pt;}
.threadDescr {color:#858585;font-size:7pt;}
.threadNoticeLink {font-weight:bold;}
.threadsType {padding:2px;background:#EFF3FE;height:25px;font-weight:bold;font-size:7pt;color:#4D6D91;padding-left:40px;}
.threadsDetails {padding:2px;background:#EFF3FE;height:25px;color:#4D6D91;}
.forumOnlineBar {padding:2px;background:#EFF3FE;height:25px;color:#4D6D91;}

a.threadPinnedLink:link {text-decoration:none; color:#0000FF;}
a.threadPinnedLink:visited {text-decoration:none; color:#0000FF;}
a.threadPinnedLink:hover {text-decoration:none; color:#FF0000;}
a.threadPinnedLink:active {text-decoration:underline; color:#FF0000;}

a.threadLink:link {text-decoration:none; color:#4D6D91;}
a.threadLink:visited {text-decoration:none; color:#4D6D91;}
a.threadLink:hover {text-decoration:underline; color:#000000;}
a.threadLink:active {text-decoration:underline; color:#000000;}

.postpSwithces {font-size:7pt;}
.thDescr {font-weight:normal;}
.threadFrmBlock {font-size:7pt;text-align:right;}
/* ------------------- */

/* Posts View */
.postTable {}
.postPoll {background:#EEF2F7;text-align:center;}
.postFirst {background:#F5F9FD;border-bottom:3px solid #597798;}
.postRest1 {background:#EEF2F7;}
.postRest2 {background:#F5F9FD;}
.postSeparator {height:3px;background:#8394B2;}

.postTdTop,.postBottom {background:#D1DCEB;height:20px}
.postUser {font-weight:bold;}
.postTdInfo {text-align:center;padding:5px;}
.postRankName {margin-top:5px;}
.postRankIco {margin-bottom:5px;margin-bottom:5px;}
.reputation {margin-top:5px;}
.signatureHr {margin-top:20px;color:#597798;}
.posttdMessage {padding:5px;}

.postPoll {padding:5px;}
.pollQuestion {text-align:center;font-weight:bold;}
.pollButtons,.pollTotal {text-align:center;}
.pollSubmitBut,.pollreSultsBut {width:140px;font-size:7pt;}
.pollSubmit {font-weight:bold;}
.pollEnd {text-align:center;height:30px;}

.codeMessage {background:#FFFFFF;font-size:9px;}
.quoteMessage {background:#FFFFFF;font-size:9px;}

.signatureView {font-size:7pt;}
.edited {padding-top:30px;font-size:7pt;text-align:right;color:gray;}
.editedBy {font-weight:bold;font-size:8pt;}

.statusBlock {padding-top:3px;}
.statusOnline {color:#0000FF;}
.statusOffline {color:#FF0000;}
/* ---------- */

/* forum AllInOne Fast Add */
.newThreadBlock {background: #F9F9F9;border: 1px solid #B2B2B2;}
.newPollBlock {background: #F9F9F9;border: 1px solid #B2B2B2;}
.newThreadItem {padding: 0 0 0 8px; background: url('/.s/t/211/28.gif') no-repeat 0px 4px;}
.newPollItem {padding: 0 0 0 8px; background: url('/.s/t/211/28.gif') no-repeat 0px 4px;}
/* ----------------------- */

/* forum Post Form */
.codeButtons {font-size:7pt;background:#FFFFFF;border:1px solid #4D6D91;}
.codeCloseAll {font-size:7pt; color:#4D6D91;font-weight:bold;background:#FFFFFF;border:1px solid #4D6D91;}
.postNameFl,.postDescrFl {width:400px}
.postPollFl,.postQuestionFl {width:400px}
.postResultFl {width:50px}
.postAnswerFl {width:300px}
.postTextFl {width:550px;height:150px}
.postUserFl {width:300px}

.pollHelp {font-weight:normal;font-size:7pt;padding-top:3px;}
.smilesPart {padding-top:5px;text-align:center}
/* ----------------- */

/* ====== forum End ====== */

a.dload:link, a.dload:visited, a.dload:active, .dload:link, .dload:visited, .dload:active {text-decoration:none; font-family:arial; color:#fff; background:url('/images/download_bg.png') no-repeat top right; height:70px; width:305px; display:block;}
a.dload:hover, .dload:hover, a.dload:focus, .dload:focus {text-decoration:none; font-family:arial; color:#fff; background:url('/images/download_bg.png') no-repeat bottom right; height:70px; width:305px; display:block;}

leider kann man jetz gar nichts meh downloaden weil kein button und kein link zum download zu sehen ist! weil der button unsichtbar ist!
nur wenn ich mich als admin einlogge kann ich den blauen link noch sehen aber gäste sehen nichts!

=======================wichtig===================
wäre es vieleicht möglich das da so ein button ist auf dem die zeit abläuft!
ich finde das sieht schöner aus(es gefällt mir nicht das da dieses schild kommt wo die zeit abläuft)
und könnte es so gemacht werden das wenn VIP nutzer etwas downloaden das die nicht warten müssen?? (Neme der Benutzergruppe: VIP)

am besten wie auf meinem bild ganz oben!

wenn meine ansprüche jedoch zu hoch sind sagt es !


Minecraft Server 24/7

www.hiddentown.de
Cheburator
Beiträge: 2172
Ruf: 83
Beitrag # 11 | 17:58
hidmen, der 1. code kommt nicht zwischen <head> und </head> sondern da, wo der button angezeigt werden soll smile


Meine uCoz Website: uScripts.de
Mein Blog: *Soon*
hidmen
Beiträge: 467
Ruf: 8
Beitrag # 12 | 18:07
der code ist doch auch nicht zwischen head und /head.
der steht darunter

Minecraft Server 24/7

www.hiddentown.de
Cheburator
Beiträge: 2172
Ruf: 83
Beitrag # 13 | 18:22
der code kommt eigentlich da rein, wo die beschreibung etc... vom Material ist, nicht irgent wo über den header smile


Meine uCoz Website: uScripts.de
Mein Blog: *Soon*
hidmen
Beiträge: 467
Ruf: 8
Beitrag # 14 | 18:31
häää? cry

Minecraft Server 24/7

www.hiddentown.de
Cheburator
Beiträge: 2172
Ruf: 83
Beitrag # 15 | 18:52
hidmen, ja den code z.B. nach $MESSAGE$ hinzufügen smile

Quote (hidmen)
wäre es vieleicht möglich das da so ein button ist auf dem die zeit abläuft!
ich finde das sieht schöner aus(es gefällt mir nicht das da dieses schild kommt wo die zeit abläuft)

Man müsste den code dann etwas umschreiben!

Quote (hidmen)
und könnte es so gemacht werden das wenn VIP nutzer etwas downloaden das die nicht warten müssen?? (Neme der Benutzergruppe: VIP)

Code
<?if($USER_GROUP_ID$ = 'X')?><a class="dload" href="$FILE_URL$">
   <div style="font-size: 22px; padding-top: 25px; padding-right: 12px;">
    <b>Download</b>
   </div>
   <div style="font-size: 11px; font-family: tahoma; padding-top: 6px; padding-right: 16px;">
    Größe: $FILE_SIZE$, Downloads: $LOADS$
   </div>
</a>   <?else?><a class="dload" href="javascript://" onclick="dload('$FILE_URL$',this);">
   <div style="font-size: 22px; padding-top: 25px; padding-right: 12px;">
    <b>Download</b>
   </div>
   <div style="font-size: 11px; font-family: tahoma; padding-top: 6px; padding-right: 16px;">
    Größe: $FILE_SIZE$, Downloads: $LOADS$
   </div>
</a>    
<script type="text/javascript">    
function dload(link,obj){    

_uWnd.alert('<span id="timer0">Warte bitte <b id="timer1">60</b> Sek.</span>','',    

{w:200,h:80,tm:60000,pad:20});    
obj.disabled = true;    
var out = 59;    
var timer2 = setInterval(function(){    
document.getElementById('timer1').innerHTML = out;    
out--;    
if(out == 0){    
obj.disabled = false;    
location.replace(link);    
clearInterval(timer2);    
document.getElementById('timer0').innerHTML = 'Speichern';    
}    
},1000);    

}    
</script><?endif?>

ersetze im code das X durch die ID der Benutzergruppe von den VIPs



Meine uCoz Website: uScripts.de
Mein Blog: *Soon*
Gemeinschaft uCoz » uCoz Module » Dateiverzeichnis » Download art ändern??
  • Seite 1 von 2
  • 1
  • 2
  • »
Suche: