Open a new browser window in a Data Access Page

T

thomas

I found John Viescas's book "Access2003 Inside and Out" most helpful
especially the section on Data Access Pages, and as such I have
successfully launched a Intranet Web site whereby 4 remote sites can
now view the information. Anyway here is my problem. I used the
"Image Control" to bind 6 photos via a Parameter Query with the drive
path to each photo stored in a table. So far this works great and the

co-workers are impressed. However the photos (Thumbnails) are small and

it would be great if I could use the "Image Control's" (on-click) event

to open a new widow so as to see a larger image of the photo. As an
interim solution I am using the Hyperlink control, however when you
click on it the photo opens in the same window and when you click the
Back arrow the Parameter query prompts the user for the value again.
All this could be avoided if the Image control (or hyperlink) could
open a new window (with the photo of course), and when finished merely
close it. The script

<script language=vbscript for=Image0 event=onclick>
<!--
window.open.
-->
</script>

does nothing without the correct href which I don't know since that
information is coming from the parameter query
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top