<b>REGISTER</b>

GFX-Sector - Javascript & jQuery


 
GFX-Sector » Coding Area » Webentwicklung » Javascript & jQuery » javascript problem » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites

Javascript & jQuery

Probleme, Fragen oder sonstiges mit JavaScript, jQuery und co? Hier bist du richtig!
Post New Thread Post Reply

javascript problem

     Deutsche Version  English version
Author
Post « Previous Thread | Next Thread »

GFX-Freaky GFX-Freaky is a male
Zauberstabbenutzer


Avatar von GFX-Freaky

Registration Date: 03.07.2010
Posts: 10
Program: Gimp

Spacer
javascript problem

javascript problem

      

hallo,
könnte mir vllt jemand helfen ? hab ein problem mit meinem code,
ich will dass wenn man mit der maus über diesen button:

rüberfährt dieser button erscheint:

(so wie hier oben im forum)
das ist der code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtmll/DTD/chtmll-transitional.dtd"> <html> <head> <meta name="author" content=""> <meta name="keywords" lang="de" content=""> <meta name="description" content=""> <meta http-equiv="content-type" content=text/html;charset=ISO-8859-1" /> <link rel="shortcut icon" href="icon.ico" type="image/x-icon" /> <link rel="icon" href="Bilder/icon.ico" type="image/x-icon" /> <script type="text/javascript"> Normal1 = new image(); normal1.src = "menu1.png"; highlight1 = new image(); highlight1.src="menu1h.png"; Normal2 = new image(); normal2.src = "menu2.png"; highlight2 = new image(); highlight2.src="menu2h.png"; Normal3 = new image(); normal3.src = "menu3.png"; highlight3 = new image(); highlight3.src="menu3h.png"; Normal4 = new image(); normal4.src = "menu4.png"; highlight4 = new image(); highlight4.src="menu4h.png"; Normal5 = new image(); normal5.src = "menu5.png"; highlight5 = new image(); highlight5.src="menu5h.png"; function Bildwechsel (bildnr, bildobjekt) { window.document.images[Bildnr].src = Bildobjekt.src; } </script> <style type="text/css"> </style> <title> Willkommen </title> </head> <body style="background-image:url(image/background.png); background-repeat:repeat-x; background-color:#ffffff;"> <img src="image/Head.png" style="position:absolute; top:5px;left:5px;"/> <div style="position:absolute;top:125px;left:5px;"> <a href="index.html" onmouseover="bildwechsel(0, highlight1)" onmouseout="bildwechsel(0, normal1)"><img src="menu1.png" width="150" height="34" border="0" alt="Startseite"></a> </div> <div style="position:absolute;top:125px;left:155px;"> <a href="uebermich.html" onmouseover="bildwechsel(1, highlight2)" onmouseout="bildwechsel(1, normal2)"><img src="menu2.png" width="150" height="34" border="0" alt="uebermich"></a> </div> <div style="position:absolute;top:125px;left:305px;"> <a href="angebote.html" onmouseover="bildwechsel(2, highlight3)" onmouseout="bildwechsel(2, normal3)"><img src="menu3.png" width="150" height="34" border="0" alt="angebote"></a> </div> <div style="position:absolute;top:125px;left:455px;"> <a href="kontakt.html" onmouseover="bildwechsel(3, highlight4)" onmouseout="bildwechsel(3, normal4)"><img src="menu4.png" width="150" height="34" border="0" alt="kontakt"></a> </div> <div style="position:absolute;top:125px;left:605px;"> <a href="impressum.html" onmouseover="bildwechsel(4, highlight5)" onmouseout="bildwechsel(4, normal5)"><img src="menu5.png" width="150" height="34" border="0" alt="impressum"></a> </div> <div style="background-image: url(image/mitte.png); position:absolute; top: 159px; left: 5px; height: 846px; width: 750px;"> </div> </body> </html>


javascript problem 09.03.2011 12:33 GFX-Freaky is offline Search for Posts by GFX-Freaky

entropy64
Pfadfinder


Avatar von entropy64

Registration Date: 28.01.2011
Posts: 648

Spacer
      

Kann man das wo live sehen?

Und paste den Code nochmal mit einem Code Tag aussenrum, als Fliesstext kann das keiner lesen.




Vergiftet von Mawada.
javascript problem 09.03.2011 12:52 entropy64 is offline Search for Posts by entropy64

GFX-Freaky GFX-Freaky is a male
Zauberstabbenutzer


Avatar von GFX-Freaky

Registration Date: 03.07.2010
Posts: 10
Program: Gimp

Thread Starter Thread Started by GFX-Freaky
Spacer
      

live kann man es leider nicht sehn ..

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:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtmll/DTD/chtmll-transitional.dtd">
	<html>
	 <head>
	  <meta name="author" content="">
      <meta name="keywords" lang="de" content="">
      <meta name="description" content="">
	  <meta http-equiv="content-type" content=text/html;charset=ISO-8859-1" />
      <link rel="shortcut icon" href="icon.ico" type="image/x-icon" />
      <link rel="icon" href="Bilder/icon.ico" type="image/x-icon" />
      <script type="text/javascript">
	  Normal1 = new image();
	  normal1.src = "menu1.png";
	  highlight1 = new image();
	  highlight1.src="menu1h.png";
	  
	  Normal2 = new image();
	  normal2.src = "menu2.png";
	  highlight2 = new image();
	  highlight2.src="menu2h.png";
	  
	  Normal3 = new image();
	  normal3.src = "menu3.png";
	  highlight3 = new image();
	  highlight3.src="menu3h.png";
	  
	  Normal4 = new image();
	  normal4.src = "menu4.png";
	  highlight4 = new image();
	  highlight4.src="menu4h.png";
	  
	  Normal5 = new image();
	  normal5.src = "menu5.png";
	  highlight5 = new image();
	  highlight5.src="menu5h.png";
	  
	  function Bildwechsel (bildnr, bildobjekt) {
	   window.document.images[Bildnr].src = Bildobjekt.src;
	   }
	  </script> 
	  <style type="text/css">
      </style>
	  <title>
	  Willkommen
	  </title>
	 </head>
	 <body style="background-image:url(image/background.png); background-repeat:repeat-x; background-color:#ffffff;">
	  <img src="image/Head.png" style="position:absolute; top:5px;left:5px;"/>
	    <div style="position:absolute;top:125px;left:5px;">
		<a href="index.html"
		   onmouseover="bildwechsel(0, highlight1)"
		   onmouseout="bildwechsel(0, normal1)"><img src="menu1.png"
		   width="150" height="34" border="0" alt="Startseite"></a>
		</div>
		<div style="position:absolute;top:125px;left:155px;">		   
		   <a href="uebermich.html"
		   onmouseover="bildwechsel(1, highlight2)"
		   onmouseout="bildwechsel(1, normal2)"><img src="menu2.png"
		   width="150" height="34" border="0" alt="uebermich"></a>
		</div>
		<div style="position:absolute;top:125px;left:305px;">		   
		   <a href="angebote.html"
		   onmouseover="bildwechsel(2, highlight3)"
		   onmouseout="bildwechsel(2, normal3)"><img src="menu3.png"
		   width="150" height="34" border="0" alt="angebote"></a>
		</div>
		<div style="position:absolute;top:125px;left:455px;">		   
		   <a href="kontakt.html"
		   onmouseover="bildwechsel(3, highlight4)"
		   onmouseout="bildwechsel(3, normal4)"><img src="menu4.png"
		   width="150" height="34" border="0" alt="kontakt"></a>
		</div>
		<div style="position:absolute;top:125px;left:605px;">		   
		   <a href="impressum.html"
		   onmouseover="bildwechsel(4, highlight5)"
		   onmouseout="bildwechsel(4, normal5)"><img src="menu5.png"
		   width="150" height="34" border="0" alt="impressum"></a>
		</div>
		<div style="background-image: url(image/mitte.png); position:absolute; top: 159px; left: 5px; height: 846px; width: 750px;">
		</div>
	 </body>
	</html>
	



javascript problem 09.03.2011 13:02 GFX-Freaky is offline Search for Posts by GFX-Freaky

entropy64
Pfadfinder


Avatar von entropy64

Registration Date: 28.01.2011
Posts: 648

Spacer
      

Absurder Code...

http://www.sawomedia.de/share/ext/live_alter_vollgeil.html




Vergiftet von Mawada.
javascript problem 09.03.2011 13:19 entropy64 is offline Search for Posts by entropy64

GFX-Freaky GFX-Freaky is a male
Zauberstabbenutzer


Avatar von GFX-Freaky

Registration Date: 03.07.2010
Posts: 10
Program: Gimp

Thread Starter Thread Started by GFX-Freaky
Spacer
      

danke funktioniert ^^



javascript problem 09.03.2011 14:08 GFX-Freaky is offline Search for Posts by GFX-Freaky
 
Spacer
   
GFX-Sector
unregistered


 hat kein Avatar


Spacer

Have you enjoyed this topic?


If you were enjoying this post and if you keen on reading more interesting stuff then do not hesitate to complete the free sign up.

After the free registration you will gain access to all areas and you will be able to communicate with other artists from all over the world.

In addition you will benefit from our Photoshop and coding section as well as from our huge (hundreds of gigabytes) free resource section where you can find everything you will need to be a successful (web) designer/artist.

Sign up now and enjoy the advantages as a registered member.

(This website will be ad-free after a complete free sign up.)

New Post 09.03.2011 14:08  
Tree Structure | Board Structure
Post New Thread Post Reply
GFX-Sector » Coding Area » Webentwicklung » Javascript & jQuery » javascript problem

Similar topics to javascript problem
Thread
[Problem] Problem mit Schatten! (Forum: Fragen & Probleme)
[Problem] Really big Problem! (Forum: Fragen & Probleme)
[Frage] sprite problem (Forum: Fragen & Probleme)
Problem mit abspielen von BlueRay (Forum: Fragen & Probleme)
Problem mit meiner Seite (Forum: Andere Programmiersprachen)