Hi All,
I am relatively new to this game and I am running up against a problem trying to change the background image in my table. The idea is that when you click on the link, the javascript will change the table background.
The table code looks like this
<table id="tableVert"
style="margin-left: auto; margin-right: auto; text-align: left; width: 100%; height: 500px; background-image: url();"
border="0" cellpadding="0" cellspacing="0">
The link
<a class="Ilinks"
href="javascript:chgImageV('images/05d-Bell solo pluie.jpg')">Bell-
Pluie</a><br>
finally the function
function chgImageV(v){
document.getElementById('tableVert').style.backgro undImage="url("v")"
}
As you can see, I am trying to get the image name to fit in where the 'v' is in the function.
What am I doing wrong.
Thanks in advance for the help.
rvanwaarden