ok i have this :
<a href="javascript:;" onMouseOut="document.construction_name.src='images/construction_img0.gif'; (window.status='Welcome to Simons'); return true;" onMouseOver=" hide('group_layer'); hide('construction_layer'); hide('estates_layer'); hide('blanker_layer'); hide('simonstogether_layer'); hide('suppliers_layer'); hide('links_layer'); show('construction_layer'); document.construction.src='images/construction1_img.gif'; (window.status='Construction >'); return true"><img name="construction_name" src="images/construction_img0.gif" height="19" border="0"></a>
which needs to be written quite a few times..
so i thought - woohoo time to try and do an array... unfortunately i forgot i was dumb
so i need some help...
basically i have this so far:
<script>
function mainLinks () {
}
linkRay = new Array()
linkRay[0] = new Array("javascript:;","group")
linkRay[0] = new Array("javascript:;","construction")
linkRay[0] = new Array("javascript:;","estates")
linkRay[0] = new Array(" 'http://www.simonsdesign.com' target='blank' ","design")
linkRay[0] = new Array(" 'http://www.wrights-construction.com' target='blank' ","wrights")
linkRay[0] = new Array(" 'http://www.qdsltd.com/' ","qds")
linkRay[0] = new Array("javascript:;","simonstogether")
linkRay[0] = new Array("javascript:;","suppliers")
linkRay[0] = new Array("javascript:;","links")
linkRay[0] = new Array("javascript:;","search")
linkRay[0] = new Array("javascript:;","help")
for (wrin=0;wrin<linkRay.length;wrin++) {
document.write('<a href="+linkRay[wrin][1]+"
\n\n');}
</script>
am i going in the right direction? it dont seem to do anything so far
help plz!! thanksssssssssss!!!!!!!!!
<a href="javascript:;" onMouseOut="document.construction_name.src='images/construction_img0.gif'; (window.status='Welcome to Simons'); return true;" onMouseOver=" hide('group_layer'); hide('construction_layer'); hide('estates_layer'); hide('blanker_layer'); hide('simonstogether_layer'); hide('suppliers_layer'); hide('links_layer'); show('construction_layer'); document.construction.src='images/construction1_img.gif'; (window.status='Construction >'); return true"><img name="construction_name" src="images/construction_img0.gif" height="19" border="0"></a>
which needs to be written quite a few times..
so i thought - woohoo time to try and do an array... unfortunately i forgot i was dumb

basically i have this so far:
<script>
function mainLinks () {
}
linkRay = new Array()
linkRay[0] = new Array("javascript:;","group")
linkRay[0] = new Array("javascript:;","construction")
linkRay[0] = new Array("javascript:;","estates")
linkRay[0] = new Array(" 'http://www.simonsdesign.com' target='blank' ","design")
linkRay[0] = new Array(" 'http://www.wrights-construction.com' target='blank' ","wrights")
linkRay[0] = new Array(" 'http://www.qdsltd.com/' ","qds")
linkRay[0] = new Array("javascript:;","simonstogether")
linkRay[0] = new Array("javascript:;","suppliers")
linkRay[0] = new Array("javascript:;","links")
linkRay[0] = new Array("javascript:;","search")
linkRay[0] = new Array("javascript:;","help")
for (wrin=0;wrin<linkRay.length;wrin++) {
document.write('<a href="+linkRay[wrin][1]+"
\n\n');}
</script>
am i going in the right direction? it dont seem to do anything so far

help plz!! thanksssssssssss!!!!!!!!!
Comment