1. Here is my javascript
<script language="JavaS cript">
function link(linkname){
strvar1 = linkname
window.main.loc ation=""+strvar 1+".asp"
}
</script>
2. Here is part of my code
<img onclick="link(e ditoffice)" border="0" src="test_m1_i3 .png" />
3. I don't know if the script is right or not, but I want to accomplish
that once the image, that the main window location would go to
editoffice.asp
<script language="JavaS cript">
function link(linkname){
strvar1 = linkname
window.main.loc ation=""+strvar 1+".asp"
}
</script>
2. Here is part of my code
<img onclick="link(e ditoffice)" border="0" src="test_m1_i3 .png" />
3. I don't know if the script is right or not, but I want to accomplish
that once the image, that the main window location would go to
editoffice.asp
Comment