| heisesteff |
Geschrieben am: Mo 2.08.2004, 19:44
|
|
AyomRank 5 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Gruppe: Member (aktiv) Beiträge: 241 Mitglied seit: 11.03.2004 |
Hallo:
Auf meiner Seite www.elmpterneubuerger.de öffnet sich nach einem Klick auf Newsübersicht ein Kontexmenue mit allen News. Ich möchte aber das sich das schon beim laden der Seite öffnet. Der Befehl der dafür zuständig zu sein scheint ist: onclick="location.href=['index.php?templateid=newsarchiv'] was muss ich anstatt onklick schreiben damit sich die unterkategorie beim Laden der Seite öffnet? Danke und Gruß Heisesteff Hie nochmal ein größeres stück Code falls das oben nicht der richtige sein sollte: <td onmouseover="this.style.backgroundColor='{navhover_l}'" onmouseout="this.style.backgroundColor=''" style="cursor:hand" onclick="location.href=['index.php?templateid=links']" height="24" bgcolor="{navnorm_l}" background="http://www.elmpterneubuerger.de/balken35.jpg"> <b><a style="text-decoration:none;cursor:hand" href="index.php?templateid=links"><img src="theme/{theme}/images/main/icon_links.gif" border="0" align="absmiddle">Links-Links vorschlagen</a></b></td> </tr> <tr> <td bgcolor="{navbg}"> <table width="100%" border="0" cellpadding="3" cellspacing="0"> <tr> <td> {linksub} </td> </tr> </table></td> </tr><tr> <td onmouseover="this.style.backgroundColor='{navhover_l}'" onmouseout="this.style.backgroundColor=''" style="cursor:hand" onclick="location.href=['index.php?templateid=stats']" height="24" bgcolor="{navnorm_l}" background="http://www.elmpterneubuerger.de/balken35.jpg"> <b><a style="text-decoration:none;cursor:hand" href="index.php?templateid=stats"><img src="theme/{theme}/images/main/stats.gif" border="0" align="absmiddle">Statistiken</a></b></td> </tr> <tr> <td bgcolor="{navbg}"> <table width="100%" border="0" cellpadding="3" cellspacing="0" height="21"> </table></td> </tr> <tr> <td onmouseover="this.style.backgroundColor='{navhover_l}'" onmouseout="this.style.backgroundColor=''" style="cursor:hand" onclick="location.href=['index.php?templateid=termine']" height="24" bgcolor="{navnorm_l}" background="http://www.elmpterneubuerger.de/balken35.jpg"> <b><a style="text-decoration:none;cursor:hand" href="index.php?templateid=termine"><img src="theme/{theme}/images/main/termin.gif" border="0" align="absmiddle"> Termine</a></b></td> </tr> <tr> <td bgcolor="{navbg}"> <table width="100%" border="0" cellpadding="3" cellspacing="0"> </table></td> </tr> <tr> <td onmouseover="this.style.backgroundColor='{navhover_l}'" onmouseout="this.style.backgroundColor=''" style="cursor:hand" onclick="location.href=['index.php?templateid=galerie_add']" height="24" bgcolor="{navnorm_l}" background="http://www.elmpterneubuerger.de/balken35.jpg"> <b><a style="text-decoration:none;cursor:hand" href="index.php?templateid=galerie_add"><img src="theme/{theme}/images/main/image.gif" border="0" align="absmiddle"></a><a style="text-decoration:none;cursor:hand" href="index.php?templateid=galerie_add"> Bilder einsenden</a></b></td> -------------------- IWS (frei nach Sir Winston Churchill)
Werbung für Niederkrüchten |
![]() |
| qu2 |
#2 Geschrieben am: Di 3.08.2004, 15:26 (+19:42)
|
![]() AyomRank 4 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Gruppe: Member (aktiv) Beiträge: 129 Mitglied seit: 14.11.2003 |
Probier mal, im <body>-Tag das Attribut onload="Dein Scriptaufruf" einzubuinden.
Also: <body onload="location.href=['index.php?templateid=newsarchiv']" bgcolor=...> Dann bleibt das Kontaxtmenü jedoch immer offen... Also ist es sicher besser, wenn Du eine Wenn/Dann-Abfrage mit PHP schreibst, die das Kontextmenü nur beim erstmaligen Seitenaufruf öffnet. Ich kann jedoch nicht in deinen PHP-Quellcode hineinsehen und gucken, wie die Seiten generiert werden. |
![]() |
Thema wird von 0 Benutzer(n) gelesen (0 Gäste und 0 anonyme Benutzer)
0 Mitglieder:
Trackback-Url: http://www.ayom.com/track/t/2432
![]() |
![]() ![]() ![]() |
| Themen Titel | Autor | Views | Antworten | Letzte Aktion |
| Word file download und im (IE)-Word öffnen | spaceman007 | 168 | 2 | Do 7.08.2008, 16:55 |
| Interview-Blog will sich für Dritte öffnen | hempstar | 153 | 1 | Fr 18.04.2008, 10:51 |
| Firefox: _blanks in neuem Fenster öffnen | Sandro Feuillet | 1084 | 8 | Do 6.03.2008, 21:38 |
| Fenster öffnen in einer bestimmten grösse | Klegs | 225 | 6 | Fr 22.02.2008, 10:11 |
| php datei vor manuellem öffnen schützen? | Josh | 1218 | 7 | So 30.09.2007, 10:06 |
| Webseite in fester Grösse öffnen | HappyHippo | 303 | 0 | Mi 9.05.2007, 11:23 |
| Javascripts in Javascript öffnen oder... | BartTheDevil89 | 292 | 2 | So 6.05.2007, 19:35 |
| externe seite immer wieder neu öffnen | henniy | 292 | 2 | Mo 22.01.2007, 17:04 |
| Alle Links öffnen | simonius | 509 | 9 | Mo 25.09.2006, 16:28 |
| Wählautomat: Seiten öffnen und wieder schließen | Schaf | 971 | 4 | Do 20.10.2005, 21:42 |
Anzeige - [Hier werben / Mediadaten]















