Bud - Thank you for responding so quickly. This is driving me up a wall. The effect I'm going for is like the pages on zillow.com - for example go to http://www.zillow.com/homes/bay-ridge-brooklyn_rb/ and click on one of the dots on the map and then hold your mouse over the first image in the popup to see the window expand. Clicking it also gives a new page. This is what I want, only much simpler - just one popup for each of the four pics on the home page. Each popup will have both little expanding pics and a link to a new page about each location. Dynamic Drive has always been the best source for everything, and I figure this is what I should be using. If there's some other script that would work better please point me to it.
Sorry, though, I can't post a URL - there's too much proprietary info. However the full html for the developer version my page is below, with the proprietary info deleted - and almost every div outlined with a border. If you need anything more specific re: the code, please just ask.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>deleted</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-5" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<style>
.text {font-family: Helvetica; font-size: 0.8em;}
<link rel="stylesheet" href="dhtmlwindow.css" type="text/css" />
<script type="text/javascript" src="dhtmlwindow.js">
/***********************************************
* DHTML Window Widget- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use. * Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
</style>
</head>
<body>
<!--LEFT COLUMN -->
<div id="Left" style="position: absolute; top:20px; left:40px; width:200px; height:600px; border:2px solid red;">
<div id=XNY style="width:200px; margin-top:65px; font:bold 22px Papyrus; text-align:center;
border:1px solid yellow">
BIG<br>TAG
</div><!--XNY-->
<div id="leftmenu" style="margin: 10px 10px 0 10px; width:180px; height:475px; border:2px solid brown; text-align:center">
<p class=text style="font:14px Helvetica">
<BR><BR><BR><BR>
CLICK ON ANY<BR>
IMAGE TO GENERATE<br>
A POPUP WITH <BR>
FURTHER DETAILS<BR>
<BR>
<div id=call style="margin:180px 10px 0 10px; font:italic 16px Helvetica; border:0px solid brown">
CONTACT
</p>
</div>
</div><!--leftmenu-->
</div><!--Left-->
<!--RIGHT COLUMN-->
<div id="Right" style="position: absolute; top:20px; left: 250px; width:630px; height:760px; border:2px solid red">
<div id=header style="width:470px; height:90px; border:1px solid yellow; margin-left:0px">
<a href="index.htm">
<img src="images/name29.png" alt="HEADER" align=left border=1 style="margin-left:3px">
</a>
</div><!--header-->
<!--MAIN-->
<div id="prop1"
style="width:452px; height:133px; margin:8px 10px auto 0; border:3px solid #FFF; padding:0px;">
<div class=pic style="float:right; width:175px; height:133px; margin:3px 7px auto 0; border:1px solid red;">
<!--POPUP-->
<a href="#" onClick="ajaxwin=dhtmlwindow.open('Prop1Window', 'ajax', 'external.htm',
'Prop1Title', 'width=50px,height=20px,left=6px,top=5px,resize=0,scrolling=1'); return false">
<img src="prop1/bay view.jpg" width=175px border=1 alt=deleted title="click!">
</a>
<!--POPUP -->
<!--POPUP2 --
<script type="text/javascript">
var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://google.com", "Google Web site", "width=700px,height=450px,
resize=1,scrolling=1,center=1", "recal")
</script>
<img src="prop1/bay view.jpg" width=175px border=1 title="click!">
<!--POPUP2-->
<!-- POPUP 3
<script type="text/javascript">
function openmypage(){ //Define arbitrary function to run desired DHTML Window widget codes
ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "windowfiles/external.htm", "#3: Ajax Win Title", "width=450px,height=300px,
left=300px,top=100px,resize=1,scrolling=1")
ajaxwin.onclose=function(){return window.confirm("Close window 3?")} //Run custom code when window is about to be closed
}
</script>
<a href="#" onClick="openmypage(); return false">
<img src="prop1/bay view.jpg" width=175px border=1>
</a>
--><!--POPUP3-->
</div>
<div id=blurbtext class="blurb"
style="width:238px; height:90px; margin:15px 10px auto 0; padding:10px; text-align:left; border:1px solid green">
<strong>The pic at right is the one I'm trying to generate the popup from. On click, it should load a pop window, which I want to place at right and into which I want to place infor and a more pictures about this location. Zillow.com has </strong>
</div>
</div>
<div id="prop2"
style="width:452px; height:140px; margin:5px 10px auto 0; border:3px solid #FFF; padding:0px;">
<div class=pic style="float:right; width:175px; height:135px; margin:3px 7px auto 0; border:1px solid red;">
<img src="prop2/entrance.jpg" alt=deleted width=175px border=1>
</div>
<div id=blurbtext class="blurb"
style="width:238px; height:90px; margin:16px 10px auto 0; padding:10px; text-align:left; border:1px solid green">
<strong>deleted</strong>
</div>
<div id="prop3"
style="width:452px; height:147px; margin:18px 10px auto 0; border:3px solid #FFF; padding:0px;">
<div class=pic style="float:right; width:175px; margin:auto 7px auto 0; border:1px solid red;">
<img src="prop3/backview.jpg" a;t=deleted width=175px height=140px border=1 align=right>
</div>
<div id=blurbtext class="blurb"
style="width:238px; height:80px; margin:15px 10px auto 0; padding:10px; text-align:left; border:1px solid green">
<strong>deleted</strong>
</div>
</div>
<div id="prop4"
style="width:452px; height:140px; margin:8px 10px auto 0; border:3px solid #FFF; padding:0px;">
<div class=pic style="float:right; width:175px; height:135px; margin:auto 7px auto 0; border:1px solid red;">
<img src="prop4/cabin.jpg" alt=deleted width=175px height=150px border=1 align=right>
</div>
<div id=blurbtext class="blurb"
style="width:238px; height:80px; margin:15px 10px auto 0; padding:10px; text-align:left; border:1px solid green">
<strong>deleted </strong>
</div><!--prop4-->
</div><!--Right-->
</body>
</html>
Bookmarks