Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.


    • CommentAuthorviane
    • CommentTimeDec 10th 2006
     
    I want someone to view a thumbnail (or fairly smaller pic) on my website, then have the option to click to enlarge. How do I make it enlarge in a new window? I use Front Page, so it would easier if you told me how to do it in that.

    Thanks
    • CommentAuthorprogrammer
    • CommentTimeDec 10th 2006
     
    here is the code i usually use to link something to a new window:

    <a href="yoursite.html" onClick="MyWindow=window.open('yoursite.html','MyW indow','toolbar=no,location=no,directories=no,stat us=yes,menubar=no,scrollbars=yes,resizable=yes,wid th=800,height=600,left=20,top=20'); return false;">your link</a>
    • CommentAuthorjustnajm
    • CommentTimeDec 10th 2006
     
    Hi,

    Programmer, has given the correct code. But he missed the image,
    here is the corrected one:


    <a href="#" onClick="window.open('images/flower.gif','big_image1','toolbar=no')">
    <img src="flower_thumbnail.gif" width=100 height=100>
    </a>
    <!--Only Copy The Above Code-->
    <!--Description of code

    onClick="window.open" // As user will click image, it will open a new window
    ('images/flower.gif', //open big image from images folder, will display it on new window
    'big_image1', //name of the open window will be big_image1 or as you like
    'toolbar = no') //can be set to yes, it will only display the title bar of new window.

    -->


    Thanks programmer.