Doc Taxon: Background-Fixierung

Beitrag lesen

Na okay, dann ohne eMail:

Hier ist der Script:

Zuerst die CSS namens vorlage.css

html     { background:                url('forest.jpg')              ;            background-attachment:          fixed                     ;            margin:                         0px                       ;            padding:                        0px                       ;            scrollbar-base-color:           #663300                   ;            scrollbar-arrow-color:          #ffffff                   ;            scrollbar-3dlight-color:        #4d6600                   ;            scrollbar-darkshadow-color:     #4d6600                   ; }

h1.head1 { font-family:                    "Monotype Corsiva"        ;            color:                          #ffffff                   ;            font-size:                      20pt                      ;            vertical-align:                 middle                    ;            font-weight:                    bold                      ;            background:                url('wood.jpg')                ;            margin:                         0px                       ;            padding:                        0px                       ; }

h2.head2 { font-family:                    "Courier New"             ;            color:                          #ffffff                   ;            font-size:                      11pt                      ;            vertical-align:                 middle                    ;            font-weight:                    bold                      ;            background:                url('wood.jpg')                ;            margin:                         0px                       ;            padding:                        0px                       ; }

body     { background:                url('forest.jpg')              ;            background-attachment:          fixed                     ;            margin:                         0px                       ;            padding:                        0px                       ;            scrollbar-base-color:           #663300                   ;            scrollbar-arrow-color:          #ffffff                   ;            scrollbar-3dlight-color:        #4d6600                   ;            scrollbar-darkshadow-color:     #4d6600                   ;            background-color:               #c0e668                   ; }

a:hover  { font-style:                     italic                    ;            vertical-align:                 middle                    ; }

.tree1   { font-family:                    "Courier New"             ;            color:                          #ffffff                   ;            font-size:                      10pt                      ;            vertical-align:                 middle                    ;            line-height:                    1.3em                     ;            margin-left:                    15px                      ;            text-align:                     left                      ; }

.tree2   { font-family:                    "Courier New"             ;            color:                          #ffffff                   ;            font-size:                      10pt                      ;            vertical-align:                 middle                    ;            line-height:                    1.3em                     ;            margin-left:                    10px                      ;            text-align:                     left                      ; }

.tree3   { font-family:                    "Courier New"             ;            color:                          #000000                   ;            font-size:                      10pt                      ;            vertical-align:                 middle                    ;            line-height:                    1.3em                     ;            margin-left:                    15px                      ;            text-align:                     left                      ; }

.treef0  { font-family:                    "Courier New"             ;            color:                          #ffffff                   ;            font-size:                      11pt                      ;            text-align:                     center                    ; }

.link1   { font-family:                    "Courier New"             ;            color:                          #ffffff                   ;            font-size:                      10pt                      ;            vertical-align:                 middle                    ;            line-height:                    1.3em                     ;            text-decoration:                none                      ; }

.link2   { font-family:                    "Courier New"             ;            color:                          #ffffff                   ;            font-size:                      10pt                      ;            vertical-align:                 middle                    ;            line-height:                    1.3em                     ;            text-decoration:                none                      ;            margin-right:                   15px                      ;            text-align:                     right                     ; }

.link3   { font-family:                    "Courier New"             ;            color:                          #000000                   ;            font-size:                      10pt                      ;            vertical-align:                 middle                    ;            line-height:                    1.3em                     ;            text-decoration:                none                      ; }

.marq1   { font-family:                    "Courier New"             ;            color:                          #ffffff                   ;            font-size:                      10pt                      ;            line-height:                    1.3em                     ;            text-align:                     center                    ; }

.marq2   { font-family:                    "Courier New"             ;            color:                          #ffffff                   ;            font-size:                      10pt                      ;            line-height:                    1.3em                     ;            text-align:                     left                      ; }

.img1    { vertical-align:                 middle                    ;            text-align:                     center                    ; }

.img2    { vertical-align:                 middle                    ;            text-align:                     left                      ;            border:                         0px                       ; }

.img3    { text-align:                     right                     ;            position:                       absolute                  ;            top:                            38px                      ;            border:                         0px                       ;            text-decoration:                none                      ; }

.divl1   { color:                          #ffffff                   ;            height:                         1px                       ;            text-align:                     center                    ;            width:                          100%                      ;            margin-right:                   15px                      ; }

.divl2   { color:                          #000000                   ;            height:                         1px                       ;            text-align:                     center                    ;            width:                          100%                      ;            margin-right:                   15px                      ; }

.date1   { font-family:                    "Courier New"             ;            color:                          #ffffff                   ;            font-size:                      10pt                      ;            vertical-align:                 middle                    ;            line-height:                    1.3em                     ;            margin-left:                    15px                      ;            text-align:                     right                     ; }

Jetzt die HTML-Seite namens linne.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<link rel="stylesheet" type="text/css" href="vorlage.css">

<meta http-equiv="content-type" content="text/html; charset=windows-1252">

<meta http-equiv="content-language" content="en-us-la">   <meta http-equiv="expires" content="14"

<meta name="description" content="Biography of Ritter von Linn&eacute; 1707-1778">   <meta name="keywords" content="taxonomy,nomenclature,biography,Linne,Linn&eacute;,Linnaeus">   <meta name="robots" content="index,follow">   <meta name="revisit-after" content="7 days">   <meta name="author" content="Doc Taxon">

<script type="text/javascript">     parent.linne58 = 1; parent.linne71 = 1;   </script>

<script src="../../life/tree/animalia/animalia.js" type="text/javascript">   </script>

<script src="../../images/size/unisoc.js" type="text/javascript">   </script>

<script src="../../images/size/pub.js" type="text/javascript">   </script>

<title>Prof. Dr. Ritter von Linn&eacute; 1707-1778</title>     <script type="text/javascript">       if (top.frames.length != 0) { top.document.title = document.title; }     </script>

<script type="text/javascript">     var linne = "- birth: "+parent.s2+" May 23, 1707 Stenbrohult, n&eacute; Linnaeus<br>"+                 "- marriage: "+parent.s7+" 1739 Morea, Sarah Elisabeth<br>"+                 "- death: "+parent.s2+" Jan 10, 1778<br>"+                 "- "father" of taxonomy<br>"+                 "- botanist<br>"+                 "- physician<br>"+                 "- systematizer<br>"+                 "- founder of binominal nomenclature<br>"+                 "- education: school in V&auml;xi&ouml;<br>"+                 "- education: private lessons by a physician and teacher of physics<br>"+                 "- education: 1727 studies of medicine and biology at <a href="javascript:puse('lu')" class="link1">Lund University</a><br>"+                 "- education: 1728 studies of medicine and biology at <a href="javascript:puse('uu')" class="link1">Uppsala University</a><br>"+                 "- 1730 2nd assistant professor and demonstrator at <a href="javascript:puse('uu-botan')" class="link1">Botanic Garden of Uppsala University</a><br>"+                 "- May 12, 1732 botanical and ethnographical expedition to Lapland<br>"+                 "- 1734 expedition to Central Sweden<br>"+                 "- degree: 1735 medical doctor in Hardewijk<br>"+                 "- education: 1735 studies of medicine and biology at <a href="javascript:punl('leidenuniv')" class="link1">Leiden University</a><br>"+                 "- director of banker Clifford's garden in Hastekamp<br>"+                 "- 1738 physician in Stockholm<br>"+                 "- lecturer in Stockholm<br>"+                 "- 1739 co-founder and president of <a href="javascript:puse('kva')" class="link1">Stockholm Royal Swedish Academy of Sciences</a><br>"+                 "- 1741-1778 professor of anatomy, medicine and botany at <a href="javascript:puse('uu')" class="link1">Uppsala University</a><br>"+                 "- 1747 Royal Personal Physician<br>"+                 "- 1758 founder of <a href="javascript:puse('uu-hammarby')" class="link1">Hammarby Museum</a><br>"+                 "- 1761 knight<br>"+                 "- 1774 stroke<br>"+                 "- 1774-1778 paralysis, physical and mental weakening";   </script>

</head>

<body>

<nobr>

<h1 class="head1">&nbsp;&nbsp;       <img src="../../images/grafx/image.gif" alt="portrait" class="img2" onClick="ilinne()" width="17" height="16">&nbsp;       Prof. Dr. Ritter von Linn&eacute;, Carl Nilsson &nbsp; 1707-1778     </h1><div style="font-size:1pt;background-color:#663300;">&nbsp;</div>

<div class="date1">       <script type="text/javascript">         document.write ("05-04-06"+parent.s8);       </script>     </div>

<div class="tree1">       <script type="text/javascript">         parent.linne58 = 0; parent.linne71 = 0;         document.write (linne);       </script>     </div>

<img src="../../images/grafx/back.gif" onClick="top.close()" alt="back" style="position:absolute; top:39px; left:806px;" width="32" height="32">

</nobr>

</body>

</html>

Beide Hintergrundbilder heißen forest.jpg und wood.jpg, wobei ich nur forest.jpg fixen möchte, du findest sie hier:

http://www.insektenforum.com/forum/bilder/1113142394_forest.jpg http://www.insektenforum.com/forum/bilder/1113142408_wood.jpg Die mußt Du halt umbenennen in forest.jpg und wood.jpg

Oder Du machst mal ne Ausnahme und gibst mir kurz Deine eMail-Adresse, das erleichtert die Sache ungemein. Wenn man die im Forum nicht lesen soll, kannst Du sie auch an meine eMail-Adresse schicken, die oben steht.

Danke Dir