Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Thanked 0 Times in 0 Posts

    Exclamation Please help! No experience in Java, need coding help.

    Ok so like many others, I want on my website small thumbnail images which when you mouseover them, they appear larger on the right hand side of the page.

    As I am a complete noob, and have only just got the hang of dreamweaver, it would be much appreciated if someone could help me make this Java, and then explain how I implement it into my page design.

    My images will be called image1.jpg, image2.jpg etc. and I dont know how many images I will have and of course I will be adding more as I go along.

    If some nice person out there could possibly write the basic code nd highlight or underline certain areas so I know what to change myself it woudl be much appreciated!


  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    London, England
    Thanked 2,563 Times in 2,541 Posts
    This is the JavaScript forum. Java and Javascript are entirely different programming languages, in spite of the confusingly similar names.

    This forum is intended to help people who have specific JavaScript problems. It is not a free coding service.

    Have you tried Google? That would have revealed:-

    Here is something to move you forward:-

    <script type = "text/javascript"> 
    function showlargeimage(imgshow) {
    document.getElementById('image').src = imgshow;
    <img src="thumbnail1.jpg" onmouseover=showlargeimage('image1.jpg')><br> 
    <img src="thumbnail2.jpg" onmouseover=showlargeimage('image2.jpg')><br> 
    <img src="thumbnail3.jpg" onmouseover=showlargeimage('image3.jpg')><br> 
    <img src="thumbnail4.jpg" onmouseover=showlargeimage('image4.jpg')><br> 
    <!--image screen--> 
    <img src='#' id='image'> 

    All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

  • #3


    Posting Permissions

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