Hello All,
Help ASAP!!!
I have inherited a project with ASP code and I am not really an ASP person.
This is the code:
The whole page consists of links. The problem is that when someone clicks the link (code above), it opens a new window, yes, BUT it scrolls the original page to the top. I guess that this a function of the #.
How do I rewrite this code to open a new page while keeping the scroll position? I am not a javascript person either so any (explicit) help would be appreciated.
Thanks!
Chinyere
Help ASAP!!!
I have inherited a project with ASP code and I am not really an ASP person.
This is the code:
Code:
<a href="#"
onClick="window.open('showByDate_detail.asp?f_ID=<%=rsDC.Fields("bc_key")%>','','resizable=yes,menubar=yes,scrollbars=yes,height=300,width=400')"><i>
<%= rsDc.Fields("bc_Title") %></i></a>
The whole page consists of links. The problem is that when someone clicks the link (code above), it opens a new window, yes, BUT it scrolls the original page to the top. I guess that this a function of the #.
How do I rewrite this code to open a new page while keeping the scroll position? I am not a javascript person either so any (explicit) help would be appreciated.
Thanks!
Chinyere