+ Reply to Thread
Results 1 to 10 of 10

Thread: looking for script...Im

  1. #1
    mikel2k3 is offline x10 Lieutenant mikel2k3 is an unknown quantity at this point
    Join Date
    Aug 2005
    Location
    West Yorkshire - UK
    Posts
    374

    looking for script...Im

    looking for a gallery script like this:
    http://www.fergusnoone.com/wedding-gallery.php

    I was going to recreate it using IFRAMES, but it wont work how i want. Just wondering how i go about making it a rollover effect really.


    - mike
    -----------------------------------
    -----------------------------------

    http://www.DistrasDesigns.com

    -----------------------------------
    -----------------------------------

  2. #2
    nightscream is offline x10 Lieutenant nightscream is an unknown quantity at this point
    Join Date
    Feb 2006
    Location
    Hallaar, Belgium
    Posts
    474

    Re: looking for script...Im

    Do you want the same like that?
    Not hard to make
    Last edited by nightscream; 10-26-2007 at 05:57 PM.
    ------------------------------------------------------------------------------------------
    If you have any troubles with a website or a script, just send me a pm.

    I also code websites in xHTML/css, can code javascript and php too if needed

  3. #3
    mikel2k3 is offline x10 Lieutenant mikel2k3 is an unknown quantity at this point
    Join Date
    Aug 2005
    Location
    West Yorkshire - UK
    Posts
    374

    Re: looking for script...Im

    i know its probaly like... reeeaally simple to make but i dont have a clue how to do it! haha

    Errrm either exactly the same, or click to make the image appear (instead of rollover)

    - Mike
    -----------------------------------
    -----------------------------------

    http://www.DistrasDesigns.com

    -----------------------------------
    -----------------------------------

  4. #4
    dyfuse's Avatar
    dyfuse is offline x10 Sophmore dyfuse is an unknown quantity at this point
    Join Date
    Apr 2006
    Posts
    196

    Re: looking for script...Im

    By looking at the source of the page...it definitely is JavaScript.

    For example:
    <img src="photos/wedding0Photo51THUMB.JPG" border='1' alt="" onMouseover="changeMainImage('photos/wedding0Photo51.JPG');"></td>
    <SCRIPT language='Javascript'>
    var Image51=new Image();
    Image51.src='photos/wedding0Photo51.JPG';
    </SCRIPT>
    I found some websites that explain how it is done:
    JavaScript OnMouseOver - http://www.javascripter.net/faq/onmouseo.htm
    OnMouseOver image change effect - http://www.ecybers.com/webdesign/javascriptonmouse.htm
    Background Image-Change from Link - http://www.codebelly.com/javascript/...gechange.html#
    mouseover thumbnail changes same image full size elsewhere on same page?
    - http://www.codingforums.com/showthread.php?t=31883


    You might also want to take a long peek into the pages source code!

  5. #5
    Thewinator is offline x10 Lieutenant Thewinator is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    [NL]
    Posts
    256

    Re: looking for script...Im

    Thats easy, just create a function in your head like:
    function swapImg(imageUrl)
    {
    docement.getElementById('myBigPictureDiv').innerHT ML = '<img src="'+imageUrl+'" width="xx" height="yy" />';
    }
    make a div where you want your image to be displayed and set a default image the way you normaly would:
    <div id="myBigPictureDiv">
    <img src="default.jpg" width="xx" height="yy" />
    </div>
    then in the thumnail images set the extra attribute:
    onMouseover="swapImg('myimg.jpg');"
    And your done!

    Edit: somehow the innerHTML gets a space within HT and ML remove that ;)
    Last edited by Thewinator; 10-27-2007 at 01:01 PM.

  6. #6
    mikel2k3 is offline x10 Lieutenant mikel2k3 is an unknown quantity at this point
    Join Date
    Aug 2005
    Location
    West Yorkshire - UK
    Posts
    374

    Re: looking for script...Im

    Quote Originally Posted by Thewinator View Post
    Thats easy, just create a function in your head like:


    make a div where you want your image to be displayed and set a default image the way you normaly would:


    then in the thumnail images set the extra attribute:


    And your done!

    Edit: somehow the innerHTML gets a space within HT and ML remove that ;)

    Tried that and it I couldnt get it to work. I understand what a basic rollover image is, but i what I want is that when you rollover a thumbnail, the larger image will appear to the right or side of it.
    -----------------------------------
    -----------------------------------

    http://www.DistrasDesigns.com

    -----------------------------------
    -----------------------------------

  7. #7
    Slothie's Avatar
    Slothie is offline Lord Of The Keys Slothie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Singapore
    Posts
    1,432

    Re: looking for script...Im

    Search for the lightbox effect script, its so much cooler

    Easiest 70 points you'll make on x10

    Feel free to add my reputation by clicking on the if you found my post helpful to you :P


    If I am not responding to your PMs, that means I am ignoring you. Take a hint.



    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0


  8. #8
    mikel2k3 is offline x10 Lieutenant mikel2k3 is an unknown quantity at this point
    Join Date
    Aug 2005
    Location
    West Yorkshire - UK
    Posts
    374

    Re: looking for script...Im

    I know its a lot cooler, but it isnt upto me, haha.

    Its what my client wants
    -----------------------------------
    -----------------------------------

    http://www.DistrasDesigns.com

    -----------------------------------
    -----------------------------------

  9. #9
    naim4u's Avatar
    naim4u is offline x10Hosting Member naim4u is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    51

    Re: looking for script...Im

    Quote Originally Posted by mikel2k3 View Post
    looking for a gallery script like this:
    http://www.fergusnoone.com/wedding-gallery.php

    I was going to recreate it using IFRAMES, but it wont work how i want. Just wondering how i go about making it a rollover effect really.


    - mike
    hii

    you just put the photos in the folder which i attacted. (open that attachment with winRAR -itis compressed) and upload it .
    thats right you sholud go to index.php file

    features:
    slide show,
    automatic thumbbnails,
    roolover effect and fade effect.

    its very nice ,i have designed it.bye
    // www.naimonline.net.ms //
    Attached Files

  10. #10
    a-a-a is offline x10Hosting Member a-a-a is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    20

    Re: looking for script...Im

    You can use css to assign the position when you rollover the small image to display the big image.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers