<html> <head> <style> a:visited{color:black;font-family:verdana} a:link{color:black;font-family:verdana} a:hover{color:blue;font-family:verdana} p, td {color:black;font-family:verdana;font-size:8pt} h1 {color:black;font-family:verdana;font-size:12pt} </style> <script> function changeImage() { var list = document.getElementById('optionlist'); document.mainimage.src = list.options[list.selectedIndex].value; } function prevImage() { var list = document.getElementById('optionlist'); if(list.selectedIndex == 0) { list.selectedIndex = list.options.length-1; } else { list.selectedIndex--; } changeImage(); } function nextImage() { var list = document.getElementById('optionlist'); if(list.selectedIndex == list.options.length-1) { list.selectedIndex = 0; } else { list.selectedIndex++; } changeImage(); } </script> </head> <body onLoad="java script:changeImage()"> <table align="center" border="0"> <tr> </tr> <tr> <td align="center"> <select id="optionlist" onChange="java script:changeImage()"> </select> </td> </tr> </table> </body> </html>
Mam pytanie co nalezy zrobic aby po kliknieciu obrazka "image1" przechodziło do jakieś podstrony?
pozdrawiam