Dynadot โ€” .com Transfer

Pop-up images

Spaceship Spaceship
Watch
Impact
0
Is there a simple bit of html code I can add to a thumbnail image, so that when someone clicks it, the full sized image pops up in its own little window?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Are you using Dreamweaver for your site? There are two ways I know to do it in Dreamweaver.
1. If you have a few thumbnails it would be easier to do a web photo albulm in DW. See my tutorial on that. It is very simple. http://www.associatedcontent.com/article/11809/how_to_create_a_web_photo_album_in.html
2. You could link the thumbnail to the big image and just upload both. Like this for example


<a href="/bigimage.jpg"><img src="images/ball.jpg" width="15" height="14" border="0"></a>


Hope this helps..
 
0
•••
you can add a javascript into the <head> of your site that will allow you to choose the size of the window as well as its values. a few things might have to be changed to suit your site. just add the function to your link.
---------------------------------------------

<SCRIPT TYPE="text/javascript"><!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=450,height=450,scrollbars=no');
return false;
}
//-->
</SCRIPT>
 
0
•••
0
•••
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back