Hello everyone i have a quick question,
what i am doing is using a javascript drop down menu for my old entries here is a copy of the script:
this is in the > tags:
CODE
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>
and this is the code for the drop down menu:
CODE
<form name="Archives">
<MTEntries category="cinema" lastn="50" offset="5">
<select name="archives" onChange="NewWindow('<$MTEntryLink archive_type='Individual'$>#<$MTEntryID pad="1"$>','main','300','450','yes');" class="compendiummenus">
<option value="#" selected>Previous Reviews</option>
<option value="#">-------</option>
<option value="<$MTEntryLink$>"><$MTEntryTitle$></option>
</MTEntries>
</select>
</form>
it seems to work but what happens is that, that code creates a drop down menu for each entry. What i really want is just one drop down menu for all the entries, and when they are selected they open up a new window with a specified height and width.
can anyone help me pleaseeeeee
thanks in advance
abbie