image src ändern bei mouseover in jquery

html-

<img id="storyimg" src="images/stor.jpg" alt="img" />  
                <ul class="sb_menu">            
                    <li><a href="linkpage.htm" class="newslink1">Wireless Networking at Fortune Inn, Noida</a></li>
                    <li><a href="linkpage.htm" class="newslink2">18th International Conference on Oral & Maxillofacial Surgery</a></li>
                    <li><a href="linkpage.htm" class="newslink3">WiFi deployment at Vellore Institute of Technology</a></li>                        
                </ul>

Ich soll, wenn der Benutzer bewegt sich über diese li Dinge, die ich will, um das Bild zu ändern, wie-

<script>
                $('a.newslink1').bind('mouseover', function() {
                $('img#storyimg').src("images/stor1.jpg");
...same for newslink2 and 3, image will be stor2 and 3

aber das wird nicht funktionieren denke ich, habe ich falsch geschrieben jquery?????????

InformationsquelleAutor piku | 2010-08-05

Schreibe einen Kommentar