<b>REGISTER</b>

GFX-Sector - Javascript & jQuery


 
GFX-Sector » Coding Area » Webentwicklung » Javascript & jQuery » [FRAGE] javaScript » 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

[FRAGE] javaScript

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

morphy` morphy` is a male
Ohnefiltergrafiker


Avatar von morphy`

Registration Date: 23.05.2008
Posts: 457
Location: NRW
Program: PS CS4

Spacer
[FRAGE] javaScript

[FRAGE] javaScript

      

hi,

Ich würde gerne das wenn ich eine navi mit einer subnavi habe das die erste section gleich da steht und wenn man auf die zweite klickt die erste weg geht und die zweite kommz usw.

Also hier die javascript datei

php:
1:
2:
3:
4:
function submenu (id1,id2,id3,id4,id5,id6,id7) {   
document.getElementById('menu' id1).style.display 'block'document.getElementById('menu' id2).style.display 'none';  
document.getElementById('menu' id3).style.display 'none'; }


also das 'menu' + id1 soll gleich am anfang wenn die Seite geladen wird zu sehen sein.

Hier der HTML code vom ersten menu und zweiten
erste menu:
code:
1:
<a href="#" onmouseover="submenu(1,2,3);"><img src="images/menu1.jpg" width="74" height="73" border="0" /></a>


zweite menu:
code:
1:
<a href="#" onmouseover="submenu(2,3,1);"><img src="images/menu2.jpg" width="74" height="73" border="0" /></a>


hoffe ihr wisst was ich meine und könnt mir helfen Wink






Ich könnt' kotzen vor Freude.
[FRAGE] javaScript 13.07.2008 18:28 morphy` is offline Homepage of morphy` Search for Posts by morphy`

izak.stern izak.stern is a male
Ohnefiltergrafiker


izak.stern hat kein Avatar

Registration Date: 18.02.2008
Posts: 478

Spacer
      

guck dir für sowas jquery an...

falls das hier http://www.smonti.de/schule/start.html sone nav is, wie du sie suchst kannste sie ja einfach ausm src rauskopieren... [der js code stammt von mir, falls jmd copyright bedenken hat] Wink



[FRAGE] javaScript 14.07.2008 20:08 izak.stern is offline Homepage of izak.stern Search for Posts by izak.stern
 
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 14.07.2008 20:08  
Tree Structure | Board Structure
Post New Thread Post Reply
GFX-Sector » Coding Area » Webentwicklung » Javascript & jQuery » [FRAGE] javaScript

Similar topics to [FRAGE] javaScript
Thread
[Javascript] [Javascript] Klick auf Banner erzwingen (Forum: Javascript Tutorials)
[Frage] Schrift imit Blut- und Wundeneffekt (Forum: Fragen & Probleme)
fenster in Javascript (Forum: Javascript & jQuery)
[Frage] Tutorial (Forum: Tutorial Suche)
[Javascript] Javascript: Bookmark setzen (Forum: Javascript Tutorials)