NancyJ
03-17-2005, 10:34 AM
Is there any way to use a popup if js is turned on but just open in a new page with target = _blank if js is turned off?
EDIT: NM found the answer: for anyone who might be wondering:-
the key was to add return false; to the on_click popup function
<a href = "images/datasummary_big.gif" target = "_blank" onClick="MM_openBrWindow('images/datasummary_big.gif','','scrollbars=no,width=700,height=710'); return false;" >
the return false prevents the normal link command from executing
EDIT: NM found the answer: for anyone who might be wondering:-
the key was to add return false; to the on_click popup function
<a href = "images/datasummary_big.gif" target = "_blank" onClick="MM_openBrWindow('images/datasummary_big.gif','','scrollbars=no,width=700,height=710'); return false;" >
the return false prevents the normal link command from executing