ilch Forum » Ilch Clan 1.1 » Module und Modifikationen » Ts Slider - Rechte vergabe

Geschlossen
  1. #1
    User Pic
    DODOch Mitglied
    Registriert seit
    27.05.2008
    Beiträge
    30
    Beitragswertungen
    0 Beitragspunkte
    Halli Hallöle

    ich grüsse euch


    Hab da mal ne kleine frage:
    ich hab mir ne ts slider von "Template IceSheet" eingebaut muste halt die code raus kopieren und im template einbauen... so das ist ja jetzt nebensache es funtz ja lächeln
    da ich aber den ts slider ne rechte vergeben will ( ts slider erst sichtbar wen man eingelogt ist oder ab ne beschtimmte rechte ) um die nervtötende user auszuschlisen
    wolt ich mal frage wi das geht

    freu mich schon auf ne antwort



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>{TITLE}</title>
    <link rel="stylesheet" type="text/css" href="include/designs/mar_BlackSolution_modBC2/modBC2style.css">
    <script type="text/javascript" src="include/designs/mar_BlackSolution_modBC2/flash/js/swfobject/swfobject.js">
    <link href="_stylesheet.css" rel="stylesheet" type="text/css">
    <script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
    
    <!--Waitbox begin-->
    <div id="waitDiv" class="waitbox" style="left: 27%; visibility: hidden; position: absolute; top: 440px" align="center">
    <table cellpadding="6" summary="Splash-Screen Wait">
    
    <tbody>
    <tr>
    <td><div align="center"><b></b><br><img src="include/designs/mar_BlackSolution_modBC2/bilder/wait.gif" border="0" align="top"><br clear="all"></div></td>
    </tr>
    </tbody>
    </table>
    </div>
    
           <div id="ts_slid" class="ts_slid" style=" right: -256px; width: 300px; position: fixed; top: 0px; background: url(include/extras/tsslid/ts_slid_bg.png) repeat scroll 0% 0% transparent; height: 900px; z-index: 999;" >
       <div style="position:absolute;top:27px;left:60px;width:300px;height:900px;overflow:auto"> <div id="ts3viewer_981746" style="width:; background-color:;"> </div>
    
    <script type="text/javascript" src="http://static.tsviewer.com/short_expire/js/ts3viewer_loader.js"></script>
    
    <script type="text/javascript">
    <!--
    var ts3v_url_1 = "http://www.tsviewer.com/ts3viewer.php?ID=981746&text=&text_size=12&text_family=1&js=1&text_s_color=0691cc&text_s_weight=bold&text_s_style=normal&text_s_variant=normal&text_s_decoration=underline&text_s_color_h=e34119&text_s_weight_h=bold&text_s_style_h=normal&text_s_variant_h=normal&text_s_decoration_h=underline&text_i_color=b37e04&text_i_weight=normal&text_i_style=normal&text_i_variant=normal&text_i_decoration=none&text_i_color_h=b37e04&text_i_weight_h=normal&text_i_style_h=normal&text_i_variant_h=normal&text_i_decoration_h=underline&text_c_color=1d85cf&text_c_weight=normal&text_c_style=normal&text_c_variant=normal&text_c_decoration=none&text_c_color_h=e34119&text_c_weight_h=normal&text_c_style_h=normal&text_c_variant_h=normal&text_c_decoration_h=underline&text_u_color=4e7ec7&text_u_weight=bold&text_u_style=italic&text_u_variant=small-caps&text_u_decoration=underline&text_u_color_h=bd1a1a&text_u_weight_h=bold&text_u_style_h=italic&text_u_variant_h=small-caps&text_u_decoration_h=underline";
    ts3v_display.init(ts3v_url_1, 981746, 100);
    -->
    </script> </div></div>
    
    <script type="text/javascript">
    var DHTML = (document.getElementById || document.all || document.layers);
    function ap_getObj(name)
    {
    if (document.getElementById) { return document.getElementById(name).style; }
    else if (document.all) { return document.all[name].style; }
    else if (document.layers) { return document.layers[name]; }
    }
    function ap_showWaitMessage(div,flag)
    {
    if (!DHTML) return; var x = ap_getObj(div); x.visibility = (flag) ? 'visible':'hidden'
    if(! document.getElementById) if(document.layers) x.left=280/2; return true;
    }
    ap_showWaitMessage('waitDiv', 1);
    
    </script>
    <!--Waitbox end-->
    
    <script type="text/javascript" src="include/includes/js/jquery.js"></script>
    <script type="text/javascript" src="include/includes/js/messenger.js"></script>
    
    <link type="text/css" rel="stylesheet" media="all" href="include/includes/css/messenger/chat.css" />
    <link type="text/css" rel="stylesheet" media="all" href="include/includes/css/messenger/screen.css" />
    
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" media="all" href="include/includes/css/messenger/screen_ie.css" />
    <![endif]-->
    
    <style type="text/css">
    
    #dropmenudiv{
    border-left:0px none; border-right:0px none; border-top:0px none; border-bottom:0px none; position:absolute;
    line-height:18px;
    z-index:100; font-style:normal; font-variant:normal; font-weight:normal; font-size:12px; font-family:Verdana
    }
    
    #dropmenudiv a{
    width: 100%;
    display: block;
    text-indent: 3px;
    border-bottom: 0px solid black;
    padding: 1px 0;
    color: #a5a5a5;
    text-decoration: none;
    font-weight: bold;
    background-image:url('include/designs/mar_BlackSolution_modBC2/bilder/menu_stand.png');
    }
    
    #dropmenudiv a:hover{            /*hover background color*/
    color: #75A6EF;
    background-image:url('include/designs/mar_BlackSolution_modBC2/bilder/menu_over.png') ;
    }
    
    </style>
    
    <style type="text/css">
    {
    body { margin: 5% auto; text-align:center;}
    #cu3er-container {width:414px; outline:0;}
    }
    </style>
    <script type="text/javascript">
    		var flashvars = {};
    		flashvars.xml = "include/designs/mar_BlackSolution_modBC2/flash/config.xml";
    		flashvars.font = "font.swf";
    		var attributes = {};
    		attributes.wmode = "transparent";
    		attributes.id = "slider";
    		swfobject.embedSWF("include/designs/mar_BlackSolution_modBC2/flash/cu3er.swf", "cu3er-container", "414", "128", "9", "include/designs/mar_BlackSolution_modBC2/flash/js/swfobject/expressInstall.swf", flashvars, attributes);
    </script>
    
    <script type="text/javascript">
        var box = 4;
        var chosbox = 1;
        function togglebox (tshow) {
            tshow = isNaN(tshow) ? 1 : tshow;
            if (tshow < 1 || tshow > box) {
                tshow = (chosbox < box) ? chosbox + 1 : 1;
            }
            document.getElementById('boxx_'+chosbox).style.display = 'none';
            document.getElementById('boxx_'+tshow).style.display = '';
            chosbox = tshow;
        }
    </script>
    
    <script type="text/javascript">
    
    /***********************************************
    * AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    
    //Contents for menu 1
    var menu1=new Array()
    menu1[0]='<a href="?news">News</a>'
    menu1[1]='<a href="?gbook">GBooK</a>'
    menu1[2]='<a href="?treffen">Veranstaltungen</a>'
    menu1[3]='<a href="?kalender">Kalender</a>'
    
    //Contents for menu 2, and so on
    var menu2=new Array()
    menu2[4]='<a href="?trains">Training</a>'
    menu2[5]='<a href="?rules">Regeln</a>'
    
    //Contents for menu 3, and so on
    var menu3=new Array()
    menu3[0]='<a href="?forum">Forum</a>'
    menu3[2]='<a href="?links">Links</a>'
    menu3[4]='<a href="?awaycal">Away</a>'
    
    //Contents for menu 4, and so on
    var menu4=new Array()
    menu4[0]='<a href="?contact">Kontakt</a>'
    menu4[1]='<a href="?impressum">Imprint</a>'
    menu4[2]='<a href="?rules">Regelwerk</a>'
    menu4[3]='<a href="?history">Geschichte</a>'
    
    var menuwidth='123px' //default menu width
    var menubgcolor='write'  //menu bgcolor
    var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
    var hidemenu_onclick="yes" //hide menu when user clicks within menu?
    
    /////No further editting needed
    
    var ie4=document.all
    var ns6=document.getElementById&&!document.all
    
    if (ie4||ns6)
    document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
    
    function getposOffset(what, offsettype){
    var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
    var parentEl=what.offsetParent;
    while (parentEl!=null){
    totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
    parentEl=parentEl.offsetParent;
    }
    return totaloffset;
    }
    
    
    function showhide(obj, e, visible, hidden, menuwidth){
    if (ie4||ns6)
    dropmenuobj.style.left=dropmenuobj.style.top="-500px"
    if (menuwidth!=""){
    dropmenuobj.widthobj=dropmenuobj.style
    dropmenuobj.widthobj.width=menuwidth
    }
    if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
    obj.visibility=visible
    else if (e.type=="click")
    obj.visibility=hidden
    }
    
    function iecompattest(){
    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
    }
    
    function clearbrowseredge(obj, whichedge){
    var edgeoffset=0
    if (whichedge=="rightedge"){
    var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
    dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
    if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
    edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
    }
    else{
    var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
    var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
    dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
    if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
    edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
    if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
    edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
    }
    }
    return edgeoffset
    }
    
    function populatemenu(what){
    if (ie4||ns6)
    dropmenuobj.innerHTML=what.join("")
    }
    
    
    function dropdownmenu(obj, e, menucontents, menuwidth){
    if (window.event) event.cancelBubble=true
    else if (e.stopPropagation) e.stopPropagation()
    clearhidemenu()
    dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
    populatemenu(menucontents)
    
    if (ie4||ns6){
    showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
    
    dropmenuobj.x=getposOffset(obj, "left")
    dropmenuobj.y=getposOffset(obj, "top")
    dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
    dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
    }
    
    return clickreturnvalue()
    }
    
    function clickreturnvalue(){
    if (ie4||ns6) return false
    else return true
    }
    
    function contains_ns6(a, b) {
    while (b.parentNode)
    if ((b = b.parentNode) == a)
    return true;
    return false;
    }
    
    function dynamichide(e){
    if (ie4&&!dropmenuobj.contains(e.toElement))
    delayhidemenu()
    else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
    delayhidemenu()
    }
    
    function hidemenu(e){
    if (typeof dropmenuobj!="undefined"){
    if (ie4||ns6)
    dropmenuobj.style.visibility="hidden"
    }
    }
    
    function delayhidemenu(){
    if (ie4||ns6)
    delayhide=setTimeout("hidemenu()",disappeardelay)
    }
    
    function clearhidemenu(){
    if (typeof delayhide!="undefined")
    clearTimeout(delayhide)
    }
    
    if (hidemenu_onclick=="yes")
    document.onclick=hidemenu
    
    </script>
    <script type="text/javascript">
    var state = 0;
    var wait = false;
     
    function changeSlider1()
    {
    if(state==1){
    $('#ts_slid').animate({width: 300 }, "slow", function(){state = 0;}
    );
    }
    else
    $('#ts_slid').animate({width: 550 }, "slow", function(){state = 1;}
    );
    }
     
    $('#ts_slid').click(function(){
    changeSlider1();
    });
          </script>
    </head>
    <body>
    <div align="center"><div id="all">
    <!-- BREAK //-->
    
    <div id="img01" align="left" style="margin-top: 37px">
    </div>
                    <td><table width="517" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><img src="include/designs/mar_BlackSolution_modBC2/bilder/links_leer.png" name="image23" width="22" height="29" border="0"></a></td>
                      <td><a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '105px')" onMouseout="delayhidemenu()"><img src="include/designs/mar_BlackSolution_modBC2/bilder/infotainment.png" name="image1" width="105" height="29" border="0"></a></td>
                      <td><a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu2, '121px')" onMouseout="delayhidemenu()"><img src="include/designs/mar_BlackSolution_modBC2/bilder/clansection.png" name="image2" width="121" height="29" border="0"></a></td>
                      <td><a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu3, '129px')" onMouseout="delayhidemenu()"><img src="include/designs/mar_BlackSolution_modBC2/bilder/communityarea.png" name="image3" width="129" height="29" border="0"></a></td>
                      <td><a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu4, '123px')" onMouseout="delayhidemenu()"><img src="include/designs/mar_BlackSolution_modBC2/bilder/miscation.png" name="image4" width="123" height="29" border="0"></a></td>
                      <td><img src="include/designs/mar_BlackSolution_modBC2/bilder/rechts_leer.png" name="image29" width="17" height="29" border="0"></a></td>
                    </tr>
    </table>
    <div id="img02" align="left" valign="top" >
    </div>
    <div id="bsstatistik" align="left" valign="top"  style="margin-top: 56px">
          <div id="bsstatistik-inhalt">{_boxes_statistikgv}</div>
    </div></div>
    
    <div id="img03" align="left" valign="top">
          <div id="img03-login">{_boxes_loginbc}</div>
          <div id="img03-infopanel" align="left" ><div align="center">
    <a  href="javascript:void(0);" onclick="togglebox(1);"><img src="include/images/icons/boxen/lastbc.png" border="0" alt="Lastwars"></a>
    <a  href="javascript:void(0);" onclick="togglebox(2);"><img src="include/images/icons/boxen/nextbc.png" border="0" alt="Nextwars"></a>
    <a  href="javascript:void(0);" onclick="togglebox(3);"><img src="include/images/icons/boxen/trainbc.png" border="0" alt="Training"></a>
    </div>
    <div id="boxx_1">{_boxes_lastnewsbc}</div>
    <div id="boxx_2" style="display:none">{_boxes_lastforumbc}</div>
    <div id="boxx_3" style="display:none">{_boxes_allianzbc}</div></div>
          <div id="img03-slider"><div id="cu3er-container">
        <a href="http://www.adobe.com/go/getflashplayer">
            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
        </a>
    </div>
    </div></div>
    <div id="img04" align="left" valign="top" >
          <div></div>
    </div>
    
      <div id="contentbs">
     
     <div id="left_col">
           {_list_menunr1@
            <table width="210" cellpadding="0" cellspacing="0" border="0">
              <tr>
                <td style="width: 200px; height: 40px; background: url(include/designs/mar_BlackSolution_modBC2/bilder/boxmenu_links.png) no-repeat bottom left;" align="center"><b class="btitle">%1</b></td>
              </tr><tr>
                <td style="min-height:20px; padding: 4px;">%2</td>
              </tr>
            </table>
            <br />
            }
    
      </div>
        <div id="topmenu" align="left" valign="top" ><font><b> &nabla; </b>{HMENU}</font></div>
      <div id="main_col">{EXPLODE}</div>
    
      <div id="right_col1">
            {_list_menunr2@
            <table width="300" cellpadding="0" cellspacing="0" border="0">
              <tr>
                <td style="width: 300px; height: 40px; background: url(include/designs/mar_BlackSolution_modBC2/bilder/boxmenu_rechts.png) no-repeat bottom left;" align="center"><b class="btitle">%1</b></td>
              </tr><tr>
                <td style="min-height:20px; padding: 3px;">%2</td>
              </tr>
            </table>
            <br />
            }
    
      </div>
    
      <br style="clear: both;" />
      </div>
    
    <div id="bsfoot" align="left" valign="top" >
          <div id="marfoot"><div align="center">All rights reserved by <a href="index.php?impressum" title="Imprint"><u>{SITENAME}</u></a>&nbsp;&nbsp;&nbsp;&copy; Design by <a href="http://www.maretz.eu" title="Maretz.eu - Digital Art | GFX-Support"><u>Maretz.eu - Digital Art</u></a>&nbsp;&nbsp;&nbsp;CMS by <a href="http://www.ilch.de" title="Ilch.de"><u>ilch.de</u></a></div>
    </div></div>
    </body>
    </html>
    <!-- {_list_DDDmenupoint@<strong><big>&middot;</big></strong><a %1 class="box" href="%2">%3</a><br />}
    {_list_hmenupoint@<li><a target="%1" class="box" href="%2">%3</a>|</li>|<br />|</ul></li>}
    {_list_hmenubegi@<ul>}
    {_list_hmenuende@</ul>}
    {_list_vmenupoint@<a target="%1" class="menu" href="%2">%3</a>}
    {_list_vmenubegi@}
    {_list_vmenuende@}//-->
    
    <!--Waitbox-finish begin--> 
    <script type="text/javascript"> 
    <!-- 
    setTimeout("ap_showWaitMessage('waitDiv', 0);",800) 
    //--> 
    </script> 
    <!--Waitbox-finish end-->


    betroffene Homepage: externer Link
    0 Mitglieder finden den Beitrag gut.
  2. #2
    User Pic
    Lord|Schirmer Administrator
    Registriert seit
    21.03.2007
    Beiträge
    7.675
    Beitragswertungen
    1212 Beitragspunkte
    So in der Art in deiner index.htm
    {_if_{SESSION_AUTHRIGHT}<='-1'} Code vom TS_Slider {/_endif}
    rules :: doku :: faq :: linkus
    3 Mitglieder finden den Beitrag gut.
  3. #3
    User Pic
    DODOch Mitglied
    Registriert seit
    27.05.2008
    Beiträge
    30
    Beitragswertungen
    0 Beitragspunkte
    danke dir hat auf anhieb geklappt




    {_if_{SESSION_AUTHRIGHT}<='-1'}       <div id="ts_slid" class="ts_slid" style=" right: -256px; width: 300px; position: fixed; top: 0px; background: url(include/extras/tsslid/ts_slid_bg.png) repeat scroll 0% 0% transparent; height: 900px; z-index: 999;" >
       <div style="position:absolute;top:27px;left:60px;width:300px;height:900px;overflow:auto"> <div id="ts3viewer_981746" style="width:; background-color:;"> </div>
    {/_endif}
    0 Mitglieder finden den Beitrag gut.
  4. #4
    User Pic
    UniX Mitglied
    Registriert seit
    25.11.2011
    Beiträge
    96
    Beitragswertungen
    1 Beitragspunkte
    ZitatZitat geschrieben von DODOch

    danke dir hat auf anhieb geklappt




    {_if_{SESSION_AUTHRIGHT}<='-1'}       <div id="ts_slid" class="ts_slid" style=" right: -256px; width: 300px; position: fixed; top: 0px; background: url(include/extras/tsslid/ts_slid_bg.png) repeat scroll 0% 0% transparent; height: 900px; z-index: 999;" >
       <div style="position:absolute;top:27px;left:60px;width:300px;height:900px;overflow:auto"> <div id="ts3viewer_981746" style="width:; background-color:;"> </div>
    {/_endif}



    Find ich klasse das auch mal jemand der ne lösung gefunden hat den code postet! Grosses DANK
    Gfeundene verschreibär un rechtschreibfeihler Dürft ihr behalten! Der Rest ist unter meinem ©
    0 Mitglieder finden den Beitrag gut.
Geschlossen

Zurück zu Module und Modifikationen

Optionen: Bei einer Antwort zu diesem Thema eine eMail erhalten