Suche im Forum:
Suchen


Autor Nachricht
Beitrag28.11.2008 um 15:17 (UTC)    
Titel: Schneeflocken - anderes Bild einsetzen????

Hallo,

möchte statt den Schneeflocken ein anderes Bild einsetzen...finden aber nur Standard. Shocked Wieso werden meine anderen hochgeladenen Bilder nicht angezeigt? Sad Kann mir jemand weiterhelfen. Question

Danke schön...
Beitrag29.11.2008 um 14:45 (UTC)    
Titel:

hier währe ein code, da musst du nur noch dort, wo das rot markierte ist den link von deinem bild einfügen

Zitat:
<!-- präsentiert von kostenlose-javascripts.de -->
<script type='text/javascript'>
<!--
var no = 18; // Anzahl der Schneeflocken
var speed = 25; // Geschwindigkeit -> je kleiner die Zahl, desto schneller
var snowflake = "snow.gif";

var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width, doc_height;
doc_width = document.body.clientWidth;
doc_height = 1100;

dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (i == 0) {
document.write("<div id=\"schneedot"+ i +"\" style=\"position: ");
document.write("absolute; z-index: "+ i +"; visibility: ");
document.write("visible; top: 15px; left: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"schneedot"+ i +"\" style=\"position: ");
document.write("absolute; z-index: "+ i +"; visibility: ");
document.write("visible; top: 15px; left: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
}
}
function snowIE() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
}
dx[i] += stx[i];
document.getElementById("schneedot"+i).style.top = yp[i] + "px";
document.getElementById("schneedot"+i).style.left = (xp[i] + am[i]*Math.sin(dx[i])) + "px";
}
setTimeout("snowIE()", speed);
}
//-->
</script>
<br />
<div id="kostenlosejavascripts" align="center"><a href="http://Hier dein Bildlink" title="Schnee" target="_blank">Schnee für deine Homepage</a></div>
<br />
<script type="text/javascript" src="http://www.kostenlose-javascripts.de/startScript.php?id=273"></script>
<!-- präsentiert von kostenlose-javascripts.de -->

______________
Beitrag29.11.2008 um 16:00 (UTC)    
Titel:

Hi - ja die Javascripts finde ich auch besser - wenn sie laufen - das Problem ist halt immer, dass alle Browser den Effekt zeigen
zum HPBK-Extra - hmm normal kann man da nicht viel falsch machen - habe eben nochmal in meinem Tut geschaut
http://www.tutorials-area.de.tl/Extra-d-Schneeflocken.htm
waren die Bilder vielleicht vieeeel zu groß?
Ciao Michael
______________
Ciao Michael
Wenn man keine Ahnung hat, einfach mal fragen!


No Support via PN, E-Mail or Messenger - only here : FORUM
Beitrag03.12.2008 um 14:37 (UTC)    
Titel:

Danke für eure Hilfe, aber es funktioniert nicht. Es wird nur ein Bild neben Standart angezeigt. Das komische ist, dass es vor ein paar Wochen funktioniert hat. Ich hatte Fledermäuse zu Halloween. Der Javacode geht leider nicht. Die Bilder sind auch nicht groß, sind nur kleine comic-gifs. Embarassed
Beitrag03.12.2008 um 16:47 (UTC)    
Titel:

Hi - schau nochmal hier - da hatte ich nochmal ein Script eingestellt - der scheint zu gehen -
http://www.homepage-baukasten.de/forum/viewtopic.php?t=81837&highlight=
Ciao Michael
______________
Ciao Michael
Wenn man keine Ahnung hat, einfach mal fragen!


No Support via PN, E-Mail or Messenger - only here : FORUM
Beitrag04.12.2008 um 12:15 (UTC)    
Titel:

Hallo success,

plötzlich geht es wieder.Laughing Alle meine Bilder kann ich jetzt laden. Ich weiß wirklich nicht woran es lag.

Danke noch einmal für dein Bemühen.

LG Wink
Beitrag04.12.2008 um 13:15 (UTC)    
Titel:

Hi - das freut mich sehr - prima, dass alles wieder läuft - Danke für die Rückmeldung - Ciao Michael
______________
Ciao Michael
Wenn man keine Ahnung hat, einfach mal fragen!


No Support via PN, E-Mail or Messenger - only here : FORUM
Beiträge der letzten Zeit anzeigen:   


Powered by phpBB © 2001, 2005 phpBB Group
Deutsche Übersetzung von phpBB.de