Puneet Kishor has written:
> header.cgi --> header.tmpl --> frame: header > map.cgi --> map.tmpl --> frame: map > table.cgi --> table.tmpl --> frame: table > tabledetail.cgi --> tabledetail.tmpl --> frame: tabledetail > > clicking on the map (in the map frame, obviously), causes map.cgi to > select certain features in the map and redraw the map with those > features selected. Those features are also connected to a dbf file (and > later on, to a real table in MySQL). Hence, the dbf rows are also > selected. However, the map gets redrawn via the map.tmpl in the map > frame, while the dbf rows need to be shown in the table frame. The way > I am doing it right now is that I show the map in the map frame, and > then a form button with a lame message such as "12 features selected -- > press button to view them". Pressing the button calls table.cgi with > target="table", and the dbf rows are displayed in the table frame. Then > clicking on any single row shows its details in the tabledetail frame. If I understand this right ... I click a link in "map", it changes both "map" and "table" and blanks out "tabledetail". If that's right, the following solution will work for you. 1.) In your map frame, create your links like this: <a href="table.cgi" onClick="window.self.location='map.cgi'" target="table"> My Map Link </a> Note the the HREF fills the "table" frame and the onClick fills the current frame. 2.) In the SRC of the table.tmpl file, include a lil bit of javascript magic. Something like this (the actual syntax here may be incorrect) top.tabledetail.document = "blank.html"; Put that right after yer script tag, with no subroutine around it so it will fire as soon as the browser reads it. And you're done. - Erik ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users