View Single Post
  #9  
Old 11-14-2005, 03:41 PM
dean023 dean023 is offline
Second Lieutenant
 
Join Date: Jun 2005
Posts: 145
Default

Pablo, Sarah, George or Brad,

can you please help me with this, i didn't know about javascript before this and now there is so much more you can do with javascript

this is the script i just need to know how to link it to an image if poss

<!-- TWO STEPS TO INSTALL POPUP WINDOW:
1. Paste the first into the HEAD of your HTML document
2. Use the code to open the popup page on your site -->
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe (Nic@TimelapseProductions.com) -->
<!-- Web URL: http://fineline.xs.mw -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=400,height=400,left = 500,top = 325');");
}
// End -->
</script>

<!-- STEP TWO: Use the following link to open the new window -->
<A HREF="javascript:popUp('www.electricalwholesaler.o rg.uk/filename.html')">Open the Popup Window</A>
<!-- Script Size: 0.73 KB -->


I want to be able to have several thumbnails which will open a bigger picture and info window but not full size just the exact size of the larger image.
Reply With Quote