• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

HILFE!! Verzweifelte suche

aber ich habe diese datei ja als musik also mp3 format bei meinen rechner undd die wollte ich ursprüänglich haben ....
 
Werbung:
poste doch mal deinen gesamten bisherigen Code in
PHP:
[PHP]
[/PHP] und sag mir was du drin haben willst, ich machs dir dann kurz .....
 
1. ich will es für mehrere sachen 2 für die (nur hintergrunmusik) will ich nur die http://www.youtube.com/watch?v=rhN7SG-H-3k musik die ich auf den rechner habe
2. des für die bilder und text da des will ich ja auch für mehrere machen aber ich kuck mir des einfach an und welchsel einfach die sachen

also ich habe eine neue site gemacht ein test-site da ist nun folgendes drauf

PHP:
 <html>
<head>
<bgsound src="background.mid" loop="infinite">
</head>
<body>
<!-- Netscape: -->
<embed src="background.mid" autostart="true" loop="true" hidden="true" height="0" width="0">



<div><div onmouseout="this.style.textDecoration='none'" onmouseover="this.style.textDecoration='underline'" style="text-decoration: none;">
<span onclick="if   (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '')  {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = ''; this.innerHTML = '<a href=\'#\' _fcksavedurl=\'#\'  _fcksavedurl=\'#\' onClick=\'return false;\'>Hide</a>'; } else {   this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerHTML = '<a style="text-decoration: none," href=\'#\' _fcksavedurl=\'#\' _fcksavedurl=\'#\' onClick=\'return false;\'>Öffnen</a>'; }">
<a onClick="return false;" href="#">Öffnen</a></span></div> 
 <div class="quotecontent"><div style="display: none; margin-left: 20px;">
<br />
<img src="Bild.jpg" /> 
Der Text, den du noch eingeben möchtest. </div></div></div>
</body>
</html>
 
Werbung:
Werbung:
also beim 1 willst du nur , dass Musik kommt wenn man auf die Seite geht? Da hat ja EndOfGreen schon was gepostet und zum 2. müsste es so stimmen ....
 
Also nochmal:

Code:
<html>
<head>

</head>
<body>
<object width="0" height="0"><param name="movie" value="http://www.youtube.com/v/rhN7SG-H-3k?fs=1&amp;hl=de_DE&autoplay=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/rhN7SG-H-3k?fs=1&amp;hl=de_DE&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="0" height="0"></embed></object>


<!-- Inhalt, der beim Öffnen der Seite angezeigt wird -->


<div><div onmouseout="this.style.textDecoration='none'" onmouseover="this.style.textDecoration='underline'" style="text-decoration: none;"><span onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerHTML = '<a href=\'#\' _fcksavedurl=\'#\' _fcksavedurl=\'#\' onClick=\'return false;\'>Hide</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<a href=\'#\' _fcksavedurl=\'#\' _fcksavedurl=\'#\' onClick=\'return false;\'>Öffnen</a>'; }"><a style="text-decoration: none;" onClick="return false;" href="#">Öffnen</a></span></div>  <div class="quotecontent"><div style="display: none; margin-left: 20px;">[COLOR="red"]<!-- Ab hier: Inhalt, der nach dem Öffnen des Spoilers angezeigt werden soll --><img border="0" alt="" src="http://vollfunny.de/wp-content/bilder/katze-lol.jpg" /><!-- end -->[/COLOR]</div></div></div>

<!-- Inhalt, der beim Öffnen der Seite angezeigt wird -->
</body>
</html>


Und oben das object ist die Hintergrundmuisk; der Rest ist dann halt der Spoiler.^^
 
Werbung:
PHP:
>Öffnen</a></span></div>  <div class="quotecontent"><div style="display: none; margin-left: 20px;">test test<img border="0" alt="" src="http://vollfunny.de/wp-content/bilder/katze-lol.jpg" /><!-- end --></div></div></div>
</span>
 
Werbung:
PHP:
 <div style="margin: 5px;">
            <div style="margin-bottom: 2px;">
              <b> Was vor dem Spoiler stehen soll kommt hier hin !!!!!!</b>
              <input type="button" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Öffnen'; }" value="Öffnen" /> 
</div>
            <div style="border: 0 ; padding: 6px;" class="alt2">
              <div style="display: none;">
               Hier! was kommen soll, wenn man auf Öffnen geklickt hat!!!
              </div>
            </div>
          </div>
so stimmt es wenn du es ersetzt mit dme was du willst
 
Werbung:
welches Wort willst du denn als Button ? dann musst du this.value und value in das Wort ändern , dass der Button haben soll ... musst schon genau sagen, was du wo haben willst
 
Ok also des ist des was ich da habe UND ICH WILL NICHTS VOR DEN BUTTON !!!
PHP:
<div style="margin: 5px;">
            <div style="margin-bottom: 2px;">
              <input type="button" onclick="if   (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = ''; this.innerText = ''; this.value = 'Hide'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'Öffnen'; }" value="Öffnen" /> 
</div>
            <div style="border: 0 ; padding: 6px;" class="alt2">
              <div style="display: none;">
                <img border="0" alt="" src="http://vollfunny.de/wp-content/bilder/katze-lol.jpg" />
               Hier! was kommen soll, wenn man auf Öffnen geklickt hat!!!
              </div>
            </div>
          </div>
So fast perfekt blos das die schirft daneben ist und ich will das das kein butten ist sondern ein wort wenns gingge ...
also es soll kein button type sein sondern die schrift type da ...
 
Werbung:
ein Wort, auf das du drauf klickst und dann was erscheint? wird nur schwer bzw nicht umsetzbar sein mit html ....
 
war es doch vorhin bei dem
PHP:
<html>
<head>
<bgsound src="background.mid" loop="infinite">
</head>
<body>
<!-- Netscape: -->
<embed src="background.mid" autostart="true" loop="true" hidden="true" height="0" width="0">



<div><div onmouseout="this.style.textDecoration='none'" onmouseover="this.style.textDecoration='underline'" style="text-decoration: none;">
<span onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerHTML = '<a href=\'#\' _fcksavedurl=\'#\' _fcksavedurl=\'#\' onClick=\'return false;\'>Hide</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<a style="text-decoration: none," href=\'#\' _fcksavedurl=\'#\' _fcksavedurl=\'#\' onClick=\'return false;\'>Öffnen</a>'; }">
<a onClick="return false;" href="#">Öffnen</a></span></div> 
 <div class="quotecontent"><div style="display: none; margin-left: 20px;">
<br />
<img src="Bild.jpg" /> 
Der Text, den du noch eingeben möchtest. </div></div></div>
</body>

Wenn ich mich nicht ganz täusche ...
</html>
 
Zurück
Oben