Date of registration: Nov 26th 2010
Name: Marvin
Location: Berchtesgadener Land
Occupation: IT Specialist Webhosting & CDN
![]() |
Source code |
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 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <title></title> <script type="text/javascript"> funktion red() { window.all.fhgimage.style.background ="url('./Bilder/fhgimage-red.png')"; } funktion black() { window.all.fhgimage.style.background = "url('./Bilder/fhgimage-red.png')"; } </script> </head> <frameset id="fhgimage" rows="900px, *" style="background-image:url(./Bilder/../Bilder/fhgimage-red.png); background-repeat:repeat-x; height:850px;" frameborder="0" scrolling="no"> <frameset cols="620px, *" frameborder="0" scrolling="no"> <frame src="./HTML/ich.html" name="ich" scrolling="no"> <frameset rows="150px, 750px" frameborder="0" scrolling="no"> <frame src="./HTML/switch.html" name="werbung" scrolling="no"> <frame src="./HTML/projects.html" name="main" scrolling="no"> <noframes> <p>ihr Browser unterstützt keine Frames</p> </noframes> </frameset> </frameset> <frame src="./HTML/footer.html" name="footer" scrolling="no"> </frameset> </html> |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 |
<!DOCTYPE html> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> </head> <body> <a href="javascript:window.fhgimage.red()">red</a> <a href="javascript:parent.fhgimage.black()">black</a><br> </body> </html> |
Date of registration: Jan 2nd 2011
Name: Janis P.
Location: Nordrhein-Westfalen
Occupation: Fachinformatiker Systemintegration
Date of registration: Jan 2nd 2011
Name: Janis P.
Location: Nordrhein-Westfalen
Occupation: Fachinformatiker Systemintegration
Date of registration: Nov 26th 2010
Name: Marvin
Location: Berchtesgadener Land
Occupation: IT Specialist Webhosting & CDN
Wird wohl noch ein weilchen dauern, weil ich schon ewig nicht mehr mit Frames gearbeitet haben, sowas macht man heute eigentlich nicht mehr.
Date of registration: Jan 2nd 2011
Name: Janis P.
Location: Nordrhein-Westfalen
Occupation: Fachinformatiker Systemintegration
Date of registration: Nov 26th 2010
Name: Marvin
Location: Berchtesgadener Land
Occupation: IT Specialist Webhosting & CDN
Dann werde ich mich da mal einarbeiten, und probieren ob ich das mit dem Button dann hinbekomme.Wird wohl noch ein weilchen dauern, weil ich schon ewig nicht mehr mit Frames gearbeitet haben, sowas macht man heute eigentlich nicht mehr.
Date of registration: Jan 2nd 2011
Name: Janis P.
Location: Nordrhein-Westfalen
Occupation: Fachinformatiker Systemintegration
Date of registration: Nov 26th 2010
Name: Marvin
Location: Berchtesgadener Land
Occupation: IT Specialist Webhosting & CDN
Schau mal hier, ich habe noch ein altes Div-Template gefunden, das kannst du gerne nutzen und bei einem Switcher helfe ich dir die Tage nochmal.
Noch eine Frage, hast du PHP?
Date of registration: Nov 26th 2010
Name: Marvin
Location: Berchtesgadener Land
Occupation: IT Specialist Webhosting & CDN
Schau mal hier, ich habe noch ein altes Div-Template gefunden, das kannst du gerne nutzen und bei einem Switcher helfe ich dir die Tage nochmal.
Noch eine Frage, hast du PHP?
![]() |
Source code |
1 2 3 4 5 |
<div id="links"> <?php include './projects.php'; ?> </div> |
![]() |
Source code |
1 2 3 |
<?php echo"<img src="./HTML/Bilder/bilderstapel.png">"; ?> |
Date of registration: Jan 2nd 2011
Name: Janis P.
Location: Nordrhein-Westfalen
Occupation: Fachinformatiker Systemintegration
Date of registration: Jan 2nd 2011
Name: Janis P.
Location: Nordrhein-Westfalen
Occupation: Fachinformatiker Systemintegration
![]() |
Source code |
1 2 3 4 5 6 7 8 9 |
[...] <style type="text/css"> .page { background-color: #fff /* Standard */ } </style> </head> [...] |
![]() |
Source code |
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 |
[...] <body> <?php if (isset($_GET['color'])) { if ($_GET['color'] === "black") { echo '<style type="text/css"> #page { background-color: #000 /* Switch-Farbe */ } </style>'; }; if ($_GET['color'] === "red") { echo '<style type="text/css"> #page { background-color: #ff0000 /* Switch-Farbe */ } </style>'; }; }; ?> <div class="page" id="page"> <!-- Div Page, mit Background ---> </div> </body> [...] |
Users who thanked for this post:
Subway (24.11.2011)
Date of registration: Jan 2nd 2011
Name: Janis P.
Location: Nordrhein-Westfalen
Occupation: Fachinformatiker Systemintegration
© 2011-2014 We-Mod-It.com | Das Forum von Moddern für Modder | © Design by Jama