Ergebnis 1 bis 2 von 2

Thema: HlstatsX iframe

  1. #1
    CQmonkey
    Gast

    Standard HlstatsX iframe

    Hallo, ich habe gleich 2 Probleme auf einmal undzwar:

    1.
    Ich möchte auf meiner Webspell-page ( http://www.drunkensquad.de.tc ) eine neue Seite einfügen.
    Den Link zu der Seite habe ich schon ( http://drun.dr.ohost.de/webspell4.01...tic&staticID=1 ) aber wenn ich einen neuen Navi-Punkt in der Navigation mache, dann kann man die Navigation nicht mehr benutzen.
    Hier emine Index.php:
    <?php
    include("_mysql.php");
    include("_settings.php");
    include("_functions.php");
    ?>
    <html>
    <head>
    <title>Free Template 3</title>
    <link href="_stylesheet.css" rel="stylesheet" type="text/css">
    <script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
    <style type="text/css">

    #dropmenudiv{
    position:absolute;
    border:1px solid #232323;
    border-bottom-width: 0;
    font:normal 10px Arial;
    line-height:15px;
    z-index:100;
    }

    #dropmenudiv a{
    width: 100px;
    display: block;
    text-indent: 3px;
    border-bottom: 1px solid #232323;
    padding: 0px 0;
    text-decoration: none;
    font-weight: bold;
    }

    #dropmenudiv a:hover{ /*hover background color*/
    background-color: #003377;
    }

    </style>

    <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]='News'
    menu1[1]='StatischeSeite
    menu1[2]='News Archive'
    menu1[3]='Articles'
    menu1[4]='Calendar'
    menu1[5]='Search'



    //Contents for menu 2
    var menu2=new Array()
    menu2[0]='Members'
    menu2[1]='Clan Wars'
    menu2[2]='Sponsors'
    menu2[3]='History'
    menu2[4]='About Us'
    menu2[5]='Awards'
    menu2[6]='Fight Us'
    menu2[7]='Link Us'


    //Contents for menu 3
    var menu3=new Array()
    menu3[0]='Forum'
    menu3[1]='Guestbook'
    menu3[2]='F.A.Q.'
    menu3[3]='Newsletter'
    menu3[4]='Users'
    menu3[5]='Who is online?'
    menu3[6]='Servers'

    //Contents for menu 4, and so on
    var menu4=new Array()
    menu4[0]='Downloads'
    menu4[1]='Polls'
    menu4[2]='Demos'
    menu4[3]='Links'
    menu4[4]='Gallery'
    menu4[5]='Imprint'


    var menuwidth='100px' //default menu width
    var menubgcolor='black' //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+';backg round-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().clientWid th-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().clientHeig ht-15 : window.pageYOffset+window.innerHeight-18
    dropmenuobj.contentmeasure=dropmenuobj.offsetHeigh t
    if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
    edgeoffset=dropmenuobj.contentmeasure+obj.offsetHe ight
    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

    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    //-->
    </script>
    </head>

    <body background="images/bg.gif" onLoad="MM_preloadImages('Bilder/index_02_over.jpg')">
    <center>
    <table width="995" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">

    <tr>
    <td width="995"><table width="100%" border="0" cellspacing="0" cellpadding="0">

    <tr>
    <td width="281" height="32" valign="top">[img]Bilder/index_01.jpg[/img]</td>
    <td width="101" valign="top"><a onClick="return dropdownmenu(this, event, menu1, '100px')" onMouseout="delayhidemenu()">[img]Bilder/index_02.jpg[/img]</a></td>
    <td width="101" valign="top"><a onClick="return dropdownmenu(this, event, menu2, '100px')" onMouseout="delayhidemenu()">[img]Bilder/index_03.jpg[/img]</a></td>
    <td width="101" valign="top"><a onClick="return dropdownmenu(this, event, menu3, '100px')" onMouseout="delayhidemenu()">[img]Bilder/index_04.jpg[/img]</a></td>
    <td width="101" valign="top"><a onClick="return dropdownmenu(this, event, menu4, '100px')" onMouseout="delayhidemenu()">[img]Bilder/index_05.jpg[/img]</a></td>
    <td width="310" valign="top">[img]Bilder/index_06.jpg[/img]</td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="19" valign="top">[img]Bilder/index_07.jpg[/img]</td>
    </tr>
    <tr>
    <td height="19" valign="top" background="Bilder/index_08.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="180" height="19"></td>
    <td width="635" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="635" height="19"><? include("sc_scrolltext.php") ?></td>
    </tr>
    </table></td>
    <td width="180"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="19" valign="top">[img]Bilder/index_09.jpg[/img]</td>
    </tr>
    <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="190" bgcolor="#000000" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">

    <tr>
    <td width="190" height="9" valign="top">[img]Bilder/index_10.jpg[/img]</td>
    </tr>
    <tr>
    <td height="19" valign="top" background="Bilder/index_13.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="9" height="19"></td>
    <td width="172" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="160" height="19" valign="top"><? include("sc_headlines.php") ?>
    </td>
    <td width="12"></td>
    </tr>
    </table></td>
    <td width="9"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="19" valign="top">[img]Bilder/index_18.jpg[/img]</td>
    </tr>
    <tr>
    <td height="19" valign="top" background="Bilder/index_20.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="12" height="19"></td>
    <td width="168" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="157" height="19" valign="top" align="center">
    <? include('partners.php') ?>
    </td>
    <td width="11"></td>
    </tr>
    </table></td>
    <td width="10"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="19" valign="top">[img]Bilder/index_25.jpg[/img]</td>
    </tr>
    <tr>
    <td height="19" valign="top" background="Bilder/index_26.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="15" height="19"></td>
    <td width="153" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="153" height="19" valign="top"><? include('counter.php') ?></td>
    </tr>
    </table></td>
    <td width="22"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="19" valign="top">[img]Bilder/index_32.jpg[/img]</td>
    </tr>
    </table>
    </td>
    <td width="616" valign="top" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0">

    <tr>
    <td width="616" height="12" valign="top">[img]Bilder/index_11.jpg[/img]</td>
    </tr>
    <tr>
    <td height="19" valign="top" background="Bilder/index_14.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="34" height="19"></td>
    <td width="548" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="548" height="19" valign="top" align="center"><?
    if(!isset($site)) $site="news";
    //Sichheitsl&uuml;cke beheben
    $invalide = array('/','/\/',':','.');
    $site = str_replace($invalide,' ',$site);
    if(!file_exists($site.".php")){ echo'<h2>Error 404</h2>
    Die von Ihnen angeforderte Datei namens '.$site.'.php ist nicht vorhanden.';
    redirect("index.php?site=news",'',3);
    }
    include($site.".php");
    ?></td>
    </tr>
    </table>
    </td>
    <td width="34"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="19" valign="top">[img]Bilder/index_30.jpg[/img]</td>
    </tr>
    </table>
    </td>
    <td width="189" valign="top" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="0">

    <tr>
    <td width="189" height="12" valign="top">[img]Bilder/index_12.jpg[/img]</td>
    </tr>
    <tr>
    <td height="19" valign="top" background="Bilder/index_15.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="18" height="19"></td>
    <td width="161" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="161" height="19"><? include('login.php') ?></td>
    </tr>
    </table></td>
    <td width="10"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="19" valign="top">[img]Bilder/index_19.jpg[/img]</td>
    </tr>
    <tr>
    <td height="19" valign="top" background="Bilder/index_21.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="18" height="19"></td>
    <td width="161" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="161" height="19" valign="top"><? include("sc_results.php") ?></td>
    </tr>
    </table></td>
    <td width="10"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="19" valign="top">[img]Bilder/index_24.jpg[/img]</td>
    </tr>
    <tr>
    <td height="19" valign="top" background="Bilder/index_27.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="18" height="19"></td>
    <td width="161" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>
    <td width="161" height="19" valign="top"><? include("poll.php") ?></td>
    </tr><tr>
    <td width="161" height="19" valign="top"><hr><center>Shoutbox</center>
    <? include("shoutbox.php"); ?></td>
    </tr>
    </table></td>
    <td width="10"></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td height="19" valign="top">[img]Bilder/index_31.jpg[/img]</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="19" valign="top">[img]Bilder/index_33.jpg[/img]</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>

    </center>
    </body>
    </html>
    Jetzt zu Problem 2:
    Ich möchte die Hlstatsx von unserem Css-Server gerne als Iframe auf der page anzeigen lassen, aber ich weis nicht was ich falsch mache, ich bekomme es nicht hin.
    Es wäre toll wenn mir jemand soetwas hier rein posten könnte, der link zu den Stats:
    http://80.190.80.58/?game=css

    Danke schonmal!
    Achtung: Dies ist ein alter Thread im HTML und Webmaster Forum
    Diese Diskussion ist älter als 90 Tage. Die darin enthaltenen Informationen sind möglicherweise nicht mehr aktuell. Erstelle bitte zu deiner Frage ein neues Thema im Forum !!!!!

  2. #2
    CQmonkey
    Gast

    Standard

    Habs selbst geschafft!
    Es muss nach id= eine 1 folgen!

Ähnliche Themen

  1. Kostenloser HlStatsX-Hostingservice
    Von H3llGhost im Forum Link Tipps
    Antworten: 3
    Letzter Beitrag: 27.04.2007, 13:08
  2. Iframe mit anker - hauptseite lädt iframe anker
    Von Odo im Forum HTML & CSS Forum
    Antworten: 2
    Letzter Beitrag: 15.03.2007, 16:38
  3. iframe
    Von Posi im Forum HTML & CSS Forum
    Antworten: 1
    Letzter Beitrag: 29.11.2006, 08:57
  4. iframe
    Von Nightmare90 im Forum HTML & CSS Forum
    Antworten: 4
    Letzter Beitrag: 14.11.2005, 19:18
  5. von iframe zu iframe nur scrollbars!!
    Von dolby im Forum HTML & CSS Forum
    Antworten: 10
    Letzter Beitrag: 09.11.2005, 11:09

Stichworte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •