Forum Moderators: open

Message Too Old, No Replies

Creating anchored links to pop up windows?!

help!

         

gizmo2k2k

3:05 pm on Dec 19, 2003 (gmt 0)



does anyone know how to set an anchor link to a pop up window, i know how to do this to a regular "_blank" window but not to a javascript filled pop up window... if anyone knows an easy way to do it in dreamweaver i'd be very grateful!

Thanx,

I just read over what i put and it doesn't make complete sense, its kinda hard to explain what i need help with, so here is my explanation in complete basic terms...

i basically need to click this particular text i have so that it brings up a pop up window. But i need the pop up window to have automatically scrolled to the "anchored" part.

Matt

birdbrain

3:33 pm on Dec 19, 2003 (gmt 0)



Hi there gizmo2k2k,

Welcome to these forums.
Here is the pop-up link

<a href="#"onclick="window.open('scroll_to.html','name','top=200,left=200,width=400,
height=300,toolbar=yes,status=yes,location=yes,scrollbars=yes');">new page</a>


Make your basic scroll_to.html file like this

<html>
<head>
<body onload="scrollTo(800,800);">
<div style="position:absolute;top:800px;left:800px;">
This is the point 800x800
</div>
</body>
</html>


birdbrain