auntnini
10-27-2006, 12:20 AM
Remember Thau's Javascript tutorials (WebMonkey)?
http://www.webmonkey.com/webmonkey/98/03/index3a_page10.html?tw=programming
With simple script in ControlPanel or remote window:
<html><head><title>Image Remote</title>
<script language="JavaScript"><!-- hide me
var display_window = window.open("slide_show_main.html","display_window");window.focus();
// stop hiding --></script></head>
<body>
<a href="#" onClick="display_window.document.main_image.src='http://www.hotwired.com/webmonkey/98/03/images3a/sky.gif';return false;"><img src="http://www.hotwired.com/webmonkey/98/03/images3a/sky.gif"></a>
<a href="#" onClick="display_window.document.main_image.src='http://www.hotwired.com/webmonkey/98/03/images3a/sun.gif';return false;"><img src="http://www.hotwired.com/webmonkey/98/03/images3a/sun.gif"></a><br>
<a href="#" onClick="display_window.document.main_image.src='http://www.hotwired.com/webmonkey/98/03/images3a/thau.gif';return false;"><img src="http://www.hotwired.com/webmonkey/98/03/images3a/thau.gif"></a>
<a href="#" onClick="display_window.document.main_image.src='http://www.hotwired.com/webmonkey/98/03/images3a/monkey.gif';return false;"><img src="http://www.hotwired.com/webmonkey/98/03/images3a/monkey.gif"></a><br>
</body></html>
The src of the "main_image" in the "display_window" was changed. Now, for the life of me (and allowing for Firefox blocking opening pop display_window"), I cannot get this to work now.
What I want to achieve is similar to
http://www3.fitnyc.edu/illustration/siwinner06/Photos.html
WITHOUT all that complicted scripting -- such as
http://www3.fitnyc.edu/illustration/siwinner06/Photos_files/Photos.js AND
http://www3.fitnyc.edu/illustration/siwinner06/SlideShow_assets/openSlideShowWindow.js
The pop-window opens (and subsequent slideshow is clickable) but onClick does not replace the image "holder" in pop-window. (Even tried creating separate "remote window.") Why, oh why?
http://artdemo.tripod.com/floral/indexRow.html
Purpose would be to offer viewer more images in pop-window slideshow.
http://www.webmonkey.com/webmonkey/98/03/index3a_page10.html?tw=programming
With simple script in ControlPanel or remote window:
<html><head><title>Image Remote</title>
<script language="JavaScript"><!-- hide me
var display_window = window.open("slide_show_main.html","display_window");window.focus();
// stop hiding --></script></head>
<body>
<a href="#" onClick="display_window.document.main_image.src='http://www.hotwired.com/webmonkey/98/03/images3a/sky.gif';return false;"><img src="http://www.hotwired.com/webmonkey/98/03/images3a/sky.gif"></a>
<a href="#" onClick="display_window.document.main_image.src='http://www.hotwired.com/webmonkey/98/03/images3a/sun.gif';return false;"><img src="http://www.hotwired.com/webmonkey/98/03/images3a/sun.gif"></a><br>
<a href="#" onClick="display_window.document.main_image.src='http://www.hotwired.com/webmonkey/98/03/images3a/thau.gif';return false;"><img src="http://www.hotwired.com/webmonkey/98/03/images3a/thau.gif"></a>
<a href="#" onClick="display_window.document.main_image.src='http://www.hotwired.com/webmonkey/98/03/images3a/monkey.gif';return false;"><img src="http://www.hotwired.com/webmonkey/98/03/images3a/monkey.gif"></a><br>
</body></html>
The src of the "main_image" in the "display_window" was changed. Now, for the life of me (and allowing for Firefox blocking opening pop display_window"), I cannot get this to work now.
What I want to achieve is similar to
http://www3.fitnyc.edu/illustration/siwinner06/Photos.html
WITHOUT all that complicted scripting -- such as
http://www3.fitnyc.edu/illustration/siwinner06/Photos_files/Photos.js AND
http://www3.fitnyc.edu/illustration/siwinner06/SlideShow_assets/openSlideShowWindow.js
The pop-window opens (and subsequent slideshow is clickable) but onClick does not replace the image "holder" in pop-window. (Even tried creating separate "remote window.") Why, oh why?
http://artdemo.tripod.com/floral/indexRow.html
Purpose would be to offer viewer more images in pop-window slideshow.