Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can popup windows be forced to a certain area?

Status
Not open for further replies.

Messmaster

Technical User
Mar 7, 2003
5
US
I am working on a map of our university campus. I have sliced a map graphic so when visitors mouse over the names of buildings on the left side of the page, the map swaps out that sliced image with another to turn the building from red to blue. That works great.

NOW I'm creating polygon hotspots of each building on the map in FW. Then in DW, I'm adding the Open Browser Window behavior to each hotspot so that when a visitor clicks on the building, a small popup window opens that lists all the offices in that building. This also works great so far with one exception...

Is there any way I can force the popup window to open near where the user clicks on the graphic? Right now they open near the top of the page forcing the page to move. This makes the user have to scroll back down a bit to recenter the map. I'd like to have the popup windows open either directly to the left or right of the hotspot. Is this possible?

Here is the URL so you can see what is happening. So far I've only done the student center which is building #1 on the map. I wanted to see what changes to make to the code before I finish the rest. TIA

Carol Andrejak
Webmaster [rednose]
Delaware State University
 
Instead of using # as your links use this

javascript: void(0);

By putting # it sees it as a anchor that points to now where and just puts the user at the top of the page.

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top