Posted on 2007-10-18
When the user clicks on the link, it opens a history transaction window on the top of the screen in a specific place. If they click back to the main page and then click the link again, it opens but behind the screen that has the focus. How do I make this on top when they click it so that even if it was left open behind the screen it opens on top? Thanks.
Here's my code
<A href="##" style="cursor: hand;" title="Click here for transaction history" onClick="window.open('index.cfm?fuseaction=form.History','HistoryDetail', 'location=no, menubar=no, resizable=yes, scrollbars=yes, width = 600, height = 300, screenX=300, screenY=300, top=400, left=400'); return false" target="HistoryPage" class="notetext"><img src="Images/history3.gif" border="0"> View Transaction History</a></cfif>