ich habe eine Frage, wie kann ich diesen Script nur für Gäste/Besucher sehen lassen:
Das habe ich in index.htm - Head drin stehen:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <div style="position:absolute;"> <script language="JavaScript" type="text/javascript"><!-- function closeWelcome () { document.getElementById("closeWelcome").style.display = "none"; } //--></script> <!--Hier wird die Position und Breite der Box angegeben--> <div id="closeWelcome" style="position:absolute;top:135px; left:670px; display:inline; width:350px;"> <!---------------------------------------------------------------------------------------------------> <table width="90%" class="border" border="1" cellspacing="1" cellpadding="4"> <tr> <td class="Cdark" align="center"> <a href="javascript:closeWelcome()"><img style="float:left; border: 0" src="include/images/smiles/kreuz.png" alt="schliessen" title="schliessen"></a><p> <!--Hier wird die Farbe und der Textinhalt angegeben--> <font color="#FE642E"><u><b>Hallo Besucher!</b></u></font></b><br> Um alle Bereiche nutzen zu können, <br>musst du dich kostenlos <a href="?user-regist"><font color="#00FF00"><b><u>Registrieren!</u></b></a></font> oder <a href="?user-login"><font color="#00FF00"><b><u>Einloggen</u></b></a></font> / rechte Nav.Box1 ---> <!---------------------------------------------------------------------------------------------------------------------------------------------------------> </td> </tr> </table> </div></div> |
hier meine komplette index.htm:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | <!doctype html> <html lang="en"> <head> <div style="position:absolute;"> <script language="JavaScript" type="text/javascript"><!-- function closeWelcome () { document.getElementById("closeWelcome").style.display = "none"; } //--></script> <!--Hier wird die Position und Breite der Box angegeben--> <div id="closeWelcome" style="position:absolute;top:135px; left:670px; display:inline; width:350px;"> <!---------------------------------------------------------------------------------------------------> <table width="90%" class="border" border="1" cellspacing="1" cellpadding="4"> <tr> <td class="Cdark" align="center"> <a href="javascript:closeWelcome()"><img style="float:left; border: 0" src="include/images/smiles/kreuz.png" alt="schliessen" title="schliessen"></a><p> <!--Hier wird die Farbe und der Textinhalt angegeben--> <font color="#FE642E"><u><b>Hallo Besucher!</b></u></font></b><br> Um alle Bereiche nutzen zu können, <br>musst du dich kostenlos <a href="?user-regist"><font color="#00FF00"><b><u>Registrieren!</u></b></a></font> oder <a href="?user-login"><font color="#00FF00"><b><u>Einloggen</u></b></a></font> / rechte Nav.Box1 ---> <!---------------------------------------------------------------------------------------------------------------------------------------------------------> </td> </tr> </table> </div></div> <script src="//code.jquery.com/jquery-2.1.0.js"></script> <!-- Tab Content script v2.2 © Dynamic Drive DHTML code library (www.dynamicdrive.com) Horizontal Tab © 2013 Jelle Kralt (www.jellekralt.nl) --> <meta charset="utf-8"> <!-- mar_ReSpoon © Maretz.eu - Free Ilch Templates --> <title>{TITLE}</title> <meta name="description" content="mar_ReSpoon"> <meta name="author" content="Maretz.eu"> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="include/designs/mar_ReSpoon/layout.css"> <link rel="stylesheet" href="include/designs/mar_ReSpoon/style.css"> <link rel="stylesheet" type="text/css" href="include/designs/mar_ReSpoon/dd_style.css"> <link rel="stylesheet" type="text/css" href="include/designs/mar_ReSpoon/responsive-tabs.css"> <link rel= "stylesheet" href= "include/designs/mar_ReSpoon/font-awesome/css/font-awesome.min.css" > <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body class="lightBg"> <center> <input id="clear" value="Kein Schnee" type="button"> <input id="imgbut" value="Schnee Style 1 -HOT-" type="button"> <input id="round" value="Schnee Style 2" type="button"> <input id="shadows" value="Schnee Style 3" type="button"> <input id="roundshadows" value="Schnee Style 4" type="button"> <input id="deviceorientation" value="Schnee Style 5" type="button"> </center> <script src="http://mprambo2.de/include/designs/mar_ReSpoon/snowfall.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('.collectonme').hide(); //Start the snow default options you can also make it snow in certain elements, etc. $(document).snowfall(); $("#clear").click(function(){ $(document).snowfall('clear'); // How you clear }); $("#round").click(function(){ document.body.className = "darkBg"; $('.collectonme').hide(); $(document).snowfall('clear'); $(document).snowfall({round : true, minSize: 5, maxSize:8}); // add rounded }); $("#shadows").click(function(){ document.body.className = "lightBg"; $('.collectonme').hide(); $(document).snowfall('clear'); $(document).snowfall({shadow : true, flakeCount:100}); // add shadows }); $("#roundshadows").click(function(){ document.body.className = "lightBg"; $('.collectonme').hide(); $(document).snowfall('clear'); $(document).snowfall({shadow : true, round : true, minSize: 5, maxSize:8}); // add shadows }); $("#imgbut").click(function(){ $('.collectonme').hide(); $(document).snowfall('clear'); document.body.className = "darkBg"; $(document).snowfall({image :"http://mprambo2.de/include/designs/mar_ReSpoon/images/snow1.gif", minSize: 10, maxSize:32}); }); $("#deviceorientation").click(function(){ $(document).snowfall('clear'); $('.collectonme').hide(); document.body.className = "darkBg"; $(document).snowfall({deviceorientation : true, round : true, minSize: 5, maxSize:8}); }); }); </script> <script src="//use.edgefonts.net/tulpen-one:n4:all.js"></script> <script type="text/javascript" src="include/designs/mar_ReSpoon/js/script.js"></script> <script type="text/javascript" src="include/designs/mar_ReSpoon/js/tabcontent.js"></script> <div id="site"> <div id="login_low">{_boxes_login_low}</div> <div id="site-name">{SITENAME}</div> <div id="body_site"> <div id="navigation"> <a class="toggleMenu" href="#"><i class="fa fa-list"> Navigation</i></a> <ul class="nav">{_list_menunr5@ <li class="test"> <a href="#">%1</a><ul>%2</ul> </li>} </ul> </div> <br class="break"/> <div id="contentb"> <div id="header"> <a href="index.php" title="zur Startseite"><img src="include/designs/mar_ReSpoon/images/header.png" alt=""></a> </div> <div id="ti-cker">{_boxes_ticker_mar}</div> <div id="horizontalTab"> <ul> <li><a href="#tab-1">Lastnews</a></li> <li><a href="#tab-2">Lastforum</a></li> <li><a href="#tab-3">Nextwars</a></li> <li><a href="#tab-4">Lastwars</a></li> </ul> <div id="tab-1" class="tab_bg">{_boxes_lastnews_respoon}</div> <div id="tab-2" class="tab_bg">{_boxes_lastforum_respoon}</div> <div id="tab-3" class="tab_bg">{_boxes_nextwars_respoon}</div> <div id="tab-4" class="tab_bg">{_boxes_lastwars_respoon}</div> </div> <div id="content_bereich"><div class="content_bereich"> <span class="h-menu"><i class="fa fa-caret-square-o-down"></i> {HMENU}<br><br>{EXPLODE} </div> </div> </div> <div id="menu_bereich"> <ul id="countrytabs1" class="shadetabs"> <li><a class="selected" href="#" rel="left_col"><span class="menu_low"><i class="fa fa-caret-square-o-down"></i></span> Nav.Box1</a></li> <li><a href="#" rel="left_col1"><span class="menu_low"><i class="fa fa-caret-square-o-down"></i></span> Nav.Box2</a></li> <li><a href="#" rel="left_col2"><span class="menu_low"><i class="fa fa-caret-square-o-down"></i></span> Nav.Box3</a></li> </ul> <div id="left_col" class="tabcontent"> <div id="login_heigh"> <div id="box_na">User Area</div> <div id="box_mit" class="box_mit">{_boxes_login_respoon}</div> </div>{_list_menunr1@<div id="box_na">%1</div> <div id="box_mit" class="box_mit">%2</div>} </div> <div id="left_col1" class="tabcontent">{_list_menunr2@ <div id="box_na">%1</div> <div id="box_mit" class="box_mit">%2</div>} </div> <div id="left_col2" class="tabcontent">{_list_menunr3@ <div id="box_na">%1</div> <div id="box_mit" class="box_mit">%2</div>} </div> <script type="text/javascript"> var countries=new ddtabcontent("countrytabs1") countries.setpersist(true) countries.setselectedClassTarget("link") //"link" or "linkparent" countries.init() </script> </div> <br class="break"/> <div id="footer">All Rights by {SITENAME}<br><a class="corp" href="http://www.maretz.eu" title="Maretz.eu Designs">Maretz.eu Designs</a> <i class="fa fa-compress"></i> <a class="corp" href="http://www.ilch.de" title="Ilch.de">CMS by Ilch.de</a><a class="nach_oben" href="#top" title="nach oben"><i class="fa fa-hand-o-up fa-lg"></i></a></div> </div> <div id="abst"></div> </div> <script src="include/designs/mar_ReSpoon/js/jquery.responsiveTabs.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $('#horizontalTab').responsiveTabs({ rotate: false, startCollapsed: 'accordion', collapsible: 'accordion', setHash: true, disabled: [4,5] }); }); </script> </body> </html> <!-- {_list_hmenupoint@<li><a target="%1" href="%2" title="%3">%3</a></li>} {_list_hmenubegi@} {_list_hmenuende@} {_list_vmenupoint@<a target="%1" class="verti_but" href="%2" title="%3">%3</a>} {_list_vmenubegi@<div id="verti-but">} {_list_vmenuende@</div>}//--> |
verwendete ilch Version: 1.1 P
betroffene Homepage: externer Link