Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2005
    Location
    San Francisco
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    HTML help... for portfolio site

    Okay.. so I want to know how to make the image open in a sized window w/ the picture you click on..

    like let's say you have a thumbnail...
    you click it and a new window pops up w/ that picture w/ the correct size of the window?

    Also how do u make it so when u click on it, it closes...

    show me the way....


  2. Hide this ad by registering as a member
  3. #2
    Join Date
    Jul 2002
    Location
    Seattle, WA
    Posts
    810
    Thanks
    0
    Thanked 0 Times in 0 Posts
    javascript...there must be hundreds of tutorials on this...just google and you'll find it.

    ...and there are probably just as many different solutions as there are tutorials. I would say create a php page for the popup so you don't have to create hundreds of html pages where the only difference is the file used for the image.

  4. #3
    Join Date
    Mar 2005
    Location
    Hawaii
    Posts
    1,746
    Thanks
    23
    Thanked 56 Times in 14 Posts
    Go get Dreamweaver, and all those little options are just a few clicks away.

  5. #4
    Join Date
    Mar 2005
    Location
    UK
    Posts
    767
    Thanks
    7
    Thanked 9 Times in 3 Posts
    I do a certain amount of web design so I know some javascript.

    Here is the basic coding you need to do this.

    This is just a simple page but the coding will be the same for what you need.

    <html>
    <head>
    <title>Untitled Document</title>
    - Standard html for a basic page.

    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    }
    //-->
    </script>
    - The main coding that does the work. You shouldn't need to change this. Also you should only need to put this in once.

    </head>

    <body>

    <a href="javascript:;" onMouseDown="MM_openBrWindow('file:insert image link here','insert window name here','width=insert width of window here,height=insert height here')"><img src="file:insert thumbnail link here" width="insert thumbnail width here" height="insert thumbnail height here" border="0"></a> - The specific coding for the link and pop up image. You will need to repeat this block of code for each thumbnail and pop up image.

    </body>
    </html>
    - The rest of the standard html

    If you get all the links to your image files right this should work. I hope this helps.
    Have faith, these things should never be easy.

    www.ianjlee.co.uk

    New Artists Seeking Help Come Here - A mutual learning thread for learning the basics of drawing. Everyone's welcome.

    The Sketchlings

    Vigostar
    Bumskee
    Loomer
    Infinitum
    Sve
    Diego

Similar Threads

  1. Art: Best portfolio site?
    By aozorize in forum ART PORTFOLIO REVIEWS
    Replies: 3
    Last Post: September 9th, 2011, 09:12 PM
  2. My new Portfolio site!!1
    By Schitzo in forum Artist Lounge
    Replies: 1
    Last Post: May 6th, 2005, 04:53 PM
  3. New portfolio site up.
    By Corvus in forum Art Critique Center
    Replies: 0
    Last Post: March 17th, 2005, 06:32 AM
  4. Art: Portfolio Site's Up!
    By 'Fitz111' in forum Finished Art
    Replies: 7
    Last Post: August 19th, 2003, 04:28 PM
  5. Portfolio Site
    By TacticallyWacked in forum Artist Lounge
    Replies: 0
    Last Post: August 16th, 2003, 10:47 PM

Members who have read this thread: 0

There are no members to list at the moment.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Developed Actively by the makers of the Best Amazon Podcast