Téma: Webszerkesztéssel kapcsolatos kérdések (Java, CSS, Flash, HTML, PHP...)
|
|
A.W. írta: Parancsolj! Egy egyszerűbb megoldás:http://pastebin.com/mePnbfsv |
|
2013.07.13 14:02 / utoljára módosítva: 2013.07.13 14:02 00 / | |
|
|
PHP-Fusion-ben a letöltéseknél szeretnék létrehozni új elemet/elemeket/képet. Mely fájlokat kéne beszerkesztenem és hogy?
Valami olyasmi kéne ami alapból van, csak legyen belőle több, pl. több letöltés gomb, több leírás amit adminból szerkeszthetek stb. Kezdő vagyok php-ban, csak css/html-t ismerem valamelyest, de ha valaki tud egy gyorsabb és egyszerűbb megoldást, várom |
|
2013.08.04 3:15 00 / | |
|
|
Lenne egy költői kérdésem, hogy a manga olvasónk php-ja mért csinálja azt, hogy ha a billentyűzet nyilaival akarok lapozni akkor nem a következő oldalra megy, hanem a nyíl képét tölti be.
PHP kód: SPOILER! Lapozás előtt: SPOILER! És után: SPOILER! |
|
2013.10.09 8:05 / utoljára módosítva: 2013.10.09 9:52 00 / | |
|
|
kentaur22 írta: Lenne egy költői kérdésem, hogy a manga olvasónk php-ja mért csinálja azt, hogy ha a billentyűzet nyilaival akarok lapozni akkor nem a következő oldalra megy, hanem a nyíl képét tölti be.PHP kód: SPOILER! SPOILER! SPOILER! Hát én nem vagyok költő, de azért megpróbálok valami értelmeset hozzászólni. Hát a lhiba az, hogy a windows.location adja meg, hogy mi töltődjön be, oda kéne a következő lap képe, a "./manga/mayoi_neko_overrun/02.png", és már működik is. Bár így is még csak azt fogod elérni, hogy önmagában betöltődik a következő kép, de semmi más. Ahhoz, hogy jól működjön a dolog két megoldásod van. Vagy AJAXal egyszerűen kicseréled a képek linkjét. Valami ilyesmi módon: tr td img onclick="prev()" src"vissza.png" /td td img id="page" src="./manga/01.png" /td td img onclick="next()" src="elore.png" /td /tr prev(){ $x = getelementbyId("page"); $x.src = "./manga/00.png" } prev(){ $x = getelementbyId("page"); $x.src = "./manga/02.png" } Persze valahogy egy változóban vagy valamiben le kéne tárolni a lapszámot, hogy egyszerűen $x++ és $x-- segítségével lehessen lépkedni, de annak a módját majd kitalálod. PHPs megoldás meg az, hogy PHPval az URLből kiolvasod az oldalszámot. img src="vissza.png" href="site.hu/Mayoi_Neko_Overrun!/02" PHPval kifejted a /02-őt, majd az új oldalbetöltéskor már az lesz a magna kép linkje. A szintaktikai és egyéb hibákért elnézést kérek, régen kódoltam már. :S |
|
2013.10.09 10:32 / utoljára módosítva: 2013.10.09 10:46 00 / | |
|
|
ddkovi írta: kentaur22 írta: Lenne egy költői kérdésem, hogy a manga olvasónk php-ja mért csinálja azt, hogy ha a billentyűzet nyilaival akarok lapozni akkor nem a következő oldalra megy, hanem a nyíl képét tölti be.PHP kód: SPOILER! SPOILER! SPOILER! Hát én nem vagyok költő, de azért megpróbálok valami értelmeset hozzászólni. Hát a lhiba az, hogy a windows.location adja meg, hogy mi töltődjön be, oda kéne a következő lap képe, a "./manga/mayoi_neko_overrun/02.png", és már működik is. Bár így is még csak azt fogod elérni, hogy önmagában betöltődik a következő kép, de semmi más. Ahhoz, hogy jól működjön a dolog két megoldásod van. Vagy AJAXal egyszerűen kicseréled a képek linkjét. Valami ilyesmi módon: tr td img onclick="prev()" src"vissza.png" /td td img id="page" src="./manga/01.png" /td td img onclick="next()" src="elore.png" /td /tr prev(){ $x = getelementbyId("page"); $x.src = "./manga/00.png" } prev(){ $x = getelementbyId("page"); $x.src = "./manga/02.png" } Persze valahogy egy változóban vagy valamiben le kéne tárolni a lapszámot, hogy egyszerűen $x++ és $x-- segítségével lehessen lépkedni, de annak a módját majd kitalálod. PHPs megoldás meg az, hogy PHPval az URLből kiolvasod az oldalszámot. img src="vissza.png" href="site.hu/Mayoi_Neko_Overrun!/02" PHPval kifejted a /02-őt, majd az új oldalbetöltéskor már az lesz a magna kép linkje. A szintaktikai és egyéb hibákért elnézést kérek, régen kódoltam már. :S Az eredetiben ezt írja: SPOILER! |
|
2013.10.09 12:28 00 / | |
|
|
kentaur22 írta: Hát nekem nem jön össze (még eléggé kezdő vagyok pláne PHP-ban)...Az eredetiben ezt írja: SPOILER! De az a gond, hogy most a 340 sorból látok 50et, és ez az 50 sor is elég kusza számomra, hogy egybe van a PHP és a HTML kód, megjegyzések meg nincsenek. |
|
2013.10.09 12:43 00 / | |
|
|
ddkovi írta: kentaur22 írta: Hát nekem nem jön össze (még eléggé kezdő vagyok pláne PHP-ban)...Az eredetiben ezt írja: SPOILER! De az a gond, hogy most a 340 sorból látok 50et, és ez az 50 sor is elég kusza számomra, hogy egybe van a PHP és a HTML kód, megjegyzések meg nincsenek. SPOILER! Online Manga Viewer v1.4 (2008-10-13) ------------------- History ------- v1.4 (2008-10-13) - Added keyboard navigation feature. - Reduced page rendering time. v1.3 (2008-03-28) - Added chapter's title support. v1.2.1 (2008-02-04) - Added ability to automatically jump to the next chapter on the last page of the current chapter. v1.2 (2008-01-27) - Changed URL format. - Fixed border layout (it was not displayed in high resolutions). v1.1 (2008-01-07) - Improved CSS stylesheet. - Optimized the way of retreiving the list of uploaded mangas. - Fixed invalid XHTML code. - Cleaned up some PHP functions. v1.0 (2007-12-27) - Everything is new in this first version Requirements ------------ - PHP version 4 or higher. - Apache Mod_Rewrite enabled. Installation ------------ - Unzip the package into a new directory. - Edit the file config.inc.php and specify your configuration settings. - Edit the file index.php and paste your advertiser's HTML code between and HTML tags. Usage ----- 1. Add a manga by creating a new folder into "mangas" directory and rename it according to this format: "Manga title". 2. Add a chapter by creating a new folder into manga's according directory and rename it according to this format: "Chapter number - Chapter title". 3. Finally, add images to the newly created chapter folder. Images will be automatically sorted by alphabetical order. Note: - Do not use "_" character in folder's name. - Chapter number must be unique for each manga (accepted characters are: 0-9, A-Z). - Chapters can be sorted by ascending or descending order of their numbers (from 0 to 9 then from A to Z). Examples: Chapter 266 of School Rumble must be uploaded at "mangas/School Rumble/266 - Mad Max/". Bonus Chapter of School Rumble must be uploaded at "mangas/School Rumble/Bonus - Hario Loves Tenma/". Features -------- - Easy to use. - Custom image file formats support. - Image auto-resizing support. - Hot-linking and bandwidth theft protection of uploaded images and folders. - Tested with Internet Explorer 6+, Firefox 1.5+ and Opera 8+ (should be compatible with all recent navigators). - Search Engine Optimized. * Automatic generation of meta keywords, page title and description. * Friendly looking URLs. * Valid XHTML 1.1 / CSS code. - Advertising support. Na közben kiderült, hogy azokkal semmit sem kell csinálni. Csak akkor kitalálhatott volna a készítő valami egyedibb jelzést is azokra amiket ki kell cserélni. Sajnos nem gondolt a kezdőkre... |
|
2013.10.09 18:57 / utoljára módosítva: 2013.10.09 20:11 00 / | |
|
|
kentaur22 írta: Ennyit tartalmaz a leírás hozzá: (mindössze 2 sor)SPOILER! Online Manga Viewer v1.4 (2008-10-13) ------------------- History ------- v1.4 (2008-10-13) - Added keyboard navigation feature. - Reduced page rendering time. v1.3 (2008-03-28) - Added chapter's title support. v1.2.1 (2008-02-04) - Added ability to automatically jump to the next chapter on the last page of the current chapter. v1.2 (2008-01-27) - Changed URL format. - Fixed border layout (it was not displayed in high resolutions). v1.1 (2008-01-07) - Improved CSS stylesheet. - Optimized the way of retreiving the list of uploaded mangas. - Fixed invalid XHTML code. - Cleaned up some PHP functions. v1.0 (2007-12-27) - Everything is new in this first version Requirements ------------ - PHP version 4 or higher. - Apache Mod_Rewrite enabled. Installation ------------ - Unzip the package into a new directory. - Edit the file config.inc.php and specify your configuration settings. - Edit the file index.php and paste your advertiser's HTML code between and HTML tags. Usage ----- 1. Add a manga by creating a new folder into "mangas" directory and rename it according to this format: "Manga title". 2. Add a chapter by creating a new folder into manga's according directory and rename it according to this format: "Chapter number - Chapter title". 3. Finally, add images to the newly created chapter folder. Images will be automatically sorted by alphabetical order. Note: - Do not use "_" character in folder's name. - Chapter number must be unique for each manga (accepted characters are: 0-9, A-Z). - Chapters can be sorted by ascending or descending order of their numbers (from 0 to 9 then from A to Z). Examples: Chapter 266 of School Rumble must be uploaded at "mangas/School Rumble/266 - Mad Max/". Bonus Chapter of School Rumble must be uploaded at "mangas/School Rumble/Bonus - Hario Loves Tenma/". Features -------- - Easy to use. - Custom image file formats support. - Image auto-resizing support. - Hot-linking and bandwidth theft protection of uploaded images and folders. - Tested with Internet Explorer 6+, Firefox 1.5+ and Opera 8+ (should be compatible with all recent navigators). - Search Engine Optimized. * Automatic generation of meta keywords, page title and description. * Friendly looking URLs. * Valid XHTML 1.1 / CSS code. - Advertising support. A lényeg szerintem itt rejlik: kitől írta: Usage----- 1. Add a manga by creating a new folder into "mangas" directory and rename it according to this format: "Manga title". 2. Add a chapter by creating a new folder into manga's according directory and rename it according to this format: "Chapter number - Chapter title". 3. Finally, add images to the newly created chapter folder. Images will be automatically sorted by alphabetical order. |
|
2013.10.09 20:20 00 / | |
|
|
ddkovi írta: kentaur22 írta: Ennyit tartalmaz a leírás hozzá: (mindössze 2 sor)SPOILER! Online Manga Viewer v1.4 (2008-10-13) ------------------- History ------- v1.4 (2008-10-13) - Added keyboard navigation feature. - Reduced page rendering time. v1.3 (2008-03-28) - Added chapter's title support. v1.2.1 (2008-02-04) - Added ability to automatically jump to the next chapter on the last page of the current chapter. v1.2 (2008-01-27) - Changed URL format. - Fixed border layout (it was not displayed in high resolutions). v1.1 (2008-01-07) - Improved CSS stylesheet. - Optimized the way of retreiving the list of uploaded mangas. - Fixed invalid XHTML code. - Cleaned up some PHP functions. v1.0 (2007-12-27) - Everything is new in this first version Requirements ------------ - PHP version 4 or higher. - Apache Mod_Rewrite enabled. Installation ------------ - Unzip the package into a new directory. - Edit the file config.inc.php and specify your configuration settings. - Edit the file index.php and paste your advertiser's HTML code between and HTML tags. Usage ----- 1. Add a manga by creating a new folder into "mangas" directory and rename it according to this format: "Manga title". 2. Add a chapter by creating a new folder into manga's according directory and rename it according to this format: "Chapter number - Chapter title". 3. Finally, add images to the newly created chapter folder. Images will be automatically sorted by alphabetical order. Note: - Do not use "_" character in folder's name. - Chapter number must be unique for each manga (accepted characters are: 0-9, A-Z). - Chapters can be sorted by ascending or descending order of their numbers (from 0 to 9 then from A to Z). Examples: Chapter 266 of School Rumble must be uploaded at "mangas/School Rumble/266 - Mad Max/". Bonus Chapter of School Rumble must be uploaded at "mangas/School Rumble/Bonus - Hario Loves Tenma/". Features -------- - Easy to use. - Custom image file formats support. - Image auto-resizing support. - Hot-linking and bandwidth theft protection of uploaded images and folders. - Tested with Internet Explorer 6+, Firefox 1.5+ and Opera 8+ (should be compatible with all recent navigators). - Search Engine Optimized. * Automatic generation of meta keywords, page title and description. * Friendly looking URLs. * Valid XHTML 1.1 / CSS code. - Advertising support. A lényeg szerintem itt rejlik: kitől írta: Usage----- 1. Add a manga by creating a new folder into "mangas" directory and rename it according to this format: "Manga title". 2. Add a chapter by creating a new folder into manga's according directory and rename it according to this format: "Chapter number - Chapter title". 3. Finally, add images to the newly created chapter folder. Images will be automatically sorted by alphabetical order. |
|
2013.10.10 5:37 / utoljára módosítva: 2013.10.10 5:40 00 / | |
|
|
Kérdésem egyszerű lenne. CSS-ben meg tudom oldani valahogy a keresődoboz, meg úgy önmagában egyéb boxok 'reptetését'? A lényeg az lenne hogy mindig felül legyen az állandó helyén de ha lefelé elkezdek görgetni akkor jöjjön velem hogy mindig látható legyen.
Teszem azt: #search
Ezzel csak az a gond hogy nem marad a helyén.
{position: fixed; background: #3E454D; box-shadow: 0px 0px 10px #888888; padding-left: 0px !important;} |
|
2013.11.04 15:56 00 / |