Snukzz Posted September 8, 2004 Report Share Posted September 8, 2004 :huh: Saaku radiit lapu ieksh PHP bet uzdzima viens jautaajums, kaa vis efektiivaak izveidot menjuci, lai tas aatri straadaatu u.tml. Mozj kaadam jau gatavs piemeers! :D Link to comment Share on other sites More sharing options...
bubu Posted September 8, 2004 Report Share Posted September 8, 2004 Ko nozīmē visātrāk? Un kādu meņuci expandable, vai dropdown? Ja drop down, tad te kautkādi piemēri: http://www.gazingus.org/html/menuDropdown.html http://www.brainjar.com/dhtml/menubar/ Link to comment Share on other sites More sharing options...
rudzis Posted September 8, 2004 Report Share Posted September 8, 2004 Tavs jautājums ir tik gudrs, ka es nesaprotu. Ko tad tev īsti vajag? Link to comment Share on other sites More sharing options...
Snukzz Posted September 9, 2004 Author Report Share Posted September 9, 2004 man vajg menuci tip |HOME| |Faili| |Bildes| utt vienā līnijā. bet tā lai nospiezot piem. home - tabulas viduu mainaas saturs, un reizee augseejaa labajaa stuurii :rolleyes: nu lai divaas vietaas reizee nomainaas lapas saturs nu nemaaku izskaidrot...shit.:( Link to comment Share on other sites More sharing options...
bubu Posted September 9, 2004 Report Share Posted September 9, 2004 bet tā lai nospiezot piem. home - tabulas viduu mainaas saturs, un reizee augseejaa labajaa stuurii :rolleyes: Kādā tabulas vidū? Un kas ir augšējais labais stūris? Link to comment Share on other sites More sharing options...
Gacha Posted September 9, 2004 Report Share Posted September 9, 2004 Man liekas, ka viņš domā, ka nospiež linku, tad lapas vidu inklūdojās attiecīgais fails un augseejaa labajaa stuurii ari kaut kas inklūdojās. Iesaku tev paserčot forumu par includu un switch! Link to comment Share on other sites More sharing options...
Snukzz Posted September 9, 2004 Author Report Share Posted September 9, 2004 Nu kaa... blinnn.. <_< Pienejemsism ka te ir tabula, kura atseviskaas tabulas shuunaas inkluudo atseviskjus php failus: <table width="100%" cellspacing="0" cellpadding="0" border="1"> <tr> <td colspan="2"> </td> <td>Augsejais sturiic</td> <---te tip kau tko inkluudo, sitam inkluudojamajam jaamainaas </tr> <tr> <td colspan="3">menucis</td> <-----te tip iekluudo Menuci, kuru es nerubiiju uztaisiit </tr> <tr> <td> </td> <td>Vidus kuraa arii jaamainaas saturam, jeb inkluudojamajam failam</td> <td> </td> </tr> </table> kaut kaa sitaa! tag' var saprast? :huh: Link to comment Share on other sites More sharing options...
bubu Posted September 9, 2004 Report Share Posted September 9, 2004 (edited) Nu if + include nemāki uzrakstīt? Vai arī es kautkur nesaprotu tavu problēmu... <?php $page = (isset($_GET['page']) ? $_GET['page'].'.php' : 'main.php'; ?> <table width="100%" cellspacing="0" cellpadding="0" border="1"> <tr> <td colspan="2"> </td> <td>Augsejais sturiic</td> <---- šo izdomāsi patc </tr> <tr> <td colspan="3"> <a href="?page=main">Main</a> | <a href="?page=games">Gamez</a> | <a href="?page=soft">Sofc</a> | <a href="?page=misc">Misc</a> </td> </tr> <tr> <td> </td> <td><?php include($page); ?></td> <td> </td> </tr> </table> Protams, vēl pārbaudes uz to vai fails eksistē, u.c. sīkumi... Edited September 9, 2004 by bubu Link to comment Share on other sites More sharing options...
Snukzz Posted September 9, 2004 Author Report Share Posted September 9, 2004 LIELS PALDIES :D zinu ka es uzdodu stulbus jautaajumus, bet kaa tad lai iemaacas!;) Link to comment Share on other sites More sharing options...
bubu Posted September 9, 2004 Report Share Posted September 9, 2004 LIELS PALDIES :D zinu ka es uzdodu stulbus jautaajumus, bet kaa tad lai iemaacas!;) Domājot ;) Link to comment Share on other sites More sharing options...
Recommended Posts