Hi,
I am a new commer, and late commer also, I think.
Anyway, the problem you are saying about, I think, is the jump menu. I usally do it by javascript. Here is the script below. Put this script in the header within a script tag.
function jumpMenu(targ,selObj,restore){
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
Here is the HTML code for menue.
<form>
<select name="menu1" onchange="jumpMenu('parent',this,0)">
<option value="0">Select</option>
<option value="index.php">Index</option>
<option value="product.php">Product</option>
<option value="price.php">Price</option>
</select>
</form>
Please let me know whether it works.
Regards,
Zia.
|