Hi Andy,
I did someting simular, see thread216-192793
On the site "expedia.co.uk" the next two functions are used in the onclick-event (just right click on the page, view source and search in the code):
For the first radio-button: onclick="hideAll();show('flt')"
For the next radio-button: onclick="hideAll();show('hot')"
For the third radio-button: onclick="hideAll();show('car')"
For the fourth radio-button: onclick="hideAll();show('hol')"
For the fifth radio-button: onclick="hideAll();show('ski')"
these are the functions:
hideAll(){hide('flt');hide('hot');hide('car');hide('hol');hide('ski');hide('dts','flt');}
function show(idLayer,idParent){cLayer=dom?document.getElementById(idLayer).style:document.all[idLayer].style;cLayer.display='block';var d=document.Wiz;if(idLayer=='car'){AttB(d.CAge);AttB(d.Ctime1);AttB(d.Ctime2);d.srch[2].status='true';}else if(idLayer=='hot'){d.srch[1].status='true';}else if(idLayer=='ski'){d.srch[4].status='true';}else if(idLayer=='flt'){AttB(d.FcAdu);d.srch[0].status='true';if(idParent!='flt'&&d.opts[1].checked)show('dts','flt');}else if(idLayer=='hol'){d.srch[3].status='true';}}
So now you have to search in the code again to see how they build the layers etc.
look in the code for:
<div id="flt" align=center>
<table width=370 ..........</div>
<div id="hot" align=center>
<table width=320 ..........</div>
<div id="car" align=center>
<table width=380 ..........</div>
<div id="hol" align=left>
<font style= ..............</div>
and
<div id="ski" align=left>
<font style= .............</div>
Hope this helps,
Erik <!-- My sport:
Boomerang throwing !!
This year I will participate at the World Championships in Germany. (
!! Many Happy Returns !! -->