Results 1 to 7 of 7

Thread: rollover stuff...

  1. #1
    Photographer; for hire!! shiato storm's Avatar
    Join Date
    Aug 2003
    Location
    next door
    Posts
    6,977
    Thanks
    4
    Thanked
    6 times in 5 posts

    rollover stuff...

    right, trying to think up a front page and pondering this idea; there's an image on the page 600x400 pixies made up of 9 equal sections in the same 3:2 ratio - like a 0's and X's board. in each section is an image/thumbnail, which is a link to a part of the site i.e. a close up of a flower leads to the macro part of the gallery. but what I'm trying to work out is how when you run the mouse over one of the thumbnails do you get the others to 'grey out' and the one you hover over stay coloured. see below for examples...



    here is a mock up, all nine (bar the b&w one in the corner) are colour images, so when you run the mouse over one of the squares - say some rowing to get to the rowing gallery it looks like this:



    the effect I guess could be de-sat, or de-sat and blur a little...?



    I have in mind the change not being 'snap' but a touch on the gradual fade side - smooth yet quick transition i.e. if I moved over another block the transition would be smooth rather than sudden flip on/off of colour but still quite rapid (does that make sense?). if anyone can offer some great wisdom I'd be very grateful (thats anything upto and including: "daft idea, here's a barge pole and don't even touch it with that").


    edit: i'm guessing I'd have to put 18 images on the server, two of each image, figure out a way of saying 'when the mouse is in this 600x400 box all are the de-sat image EXCEPT the mouse-over one...' and then add the fade in/out details once that basic rule is set down.
    is that the right sort of logic?
    Powered by Marmite and Wet Dog
    Light Over Water Photography

  2. #2
    YUKIKAZE arthurleung's Avatar
    Join Date
    Feb 2005
    Location
    Aberdeen
    Posts
    3,280
    Thanks
    8
    Thanked
    88 times in 83 posts
    • arthurleung's system
      • Motherboard:
      • Asus P5E (Rampage Formula 0902)
      • CPU:
      • Intel Core2Quad Q9550 3.6Ghz 1.2V
      • Memory:
      • A-Data DDR2-800 2x2GB CL4
      • Storage:
      • 4x1TB WD1000FYPS @ RAID5 3Ware 9500S-8 / 3x 1TB Samsung Ecogreen F2
      • Graphics card(s):
      • GeCube HD4870 512MB
      • PSU:
      • Corsair VX450
      • Case:
      • Antec P180
      • Operating System:
      • Windows Server 2008 Standard
      • Monitor(s):
      • Dell Ultrasharp 2709W + 2001FP
      • Internet:
      • Be*Unlimited 20Mbps
    Try using flash?
    Workstation 1: Intel i7 950 @ 3.8Ghz / X58 / 12GB DDR3-1600 / HD4870 512MB / Antec P180
    Workstation 2: Intel C2Q Q9550 @ 3.6Ghz / X38 / 4GB DDR2-800 / 8400GS 512MB / Open Air
    Workstation 3: Intel Xeon X3350 @ 3.2Ghz / P35 / 4GB DDR2-800 / HD4770 512MB / Shuttle SP35P2
    HTPC: AMD Athlon X4 620 @ 2.6Ghz / 780G / 4GB DDR2-1000 / Antec Mini P180 White
    Mobile Workstation: Intel C2D T8300 @ 2.4Ghz / GM965 / 3GB DDR2-667 / DELL Inspiron 1525 / 6+6+9 Cell Battery

    Display (Monitor): DELL Ultrasharp 2709W + DELL Ultrasharp 2001FP
    Display (Projector): Epson TW-3500 1080p
    Speakers: Creative Megaworks THX550 5.1
    Headphones: Etymotic hf2 / Ultimate Ears Triple.fi 10 Pro

    Storage: 8x2TB Hitachi @ DELL PERC 6/i RAID6 / 13TB Non-RAID Across 12 HDDs
    Consoles: PS3 Slim 120GB / Xbox 360 Arcade 20GB / PS2

  3. #3
    Photographer; for hire!! shiato storm's Avatar
    Join Date
    Aug 2003
    Location
    next door
    Posts
    6,977
    Thanks
    4
    Thanked
    6 times in 5 posts
    trying to avoid flash...i don't want to use it on my site
    Powered by Marmite and Wet Dog
    Light Over Water Photography

  4. #4
    Senior Member
    Join Date
    Nov 2005
    Posts
    501
    Thanks
    0
    Thanked
    0 times in 0 posts
    Last time I wanted to do this I used this code. Worked fine and is pretty simple to understand.

  5. #5
    Senior Member
    Join Date
    Nov 2005
    Posts
    501
    Thanks
    0
    Thanked
    0 times in 0 posts
    To reply to myself, I did some experimentation with a script normally used to fade an image up on rollover and came up with this. I think the slow fade is quite nice and it's pretty easy to do with the script I snarfed from www.javascript-fx.com. The page I made isn't valid because I didn't set the table cell backgrounds with CSS (too much effort for a demo) but it would validate if done properly.

    The script used is free for commercial and non-commercial use so long as you leave the copyright in the script and the acknowledgement in the HEAD section alone (view source to see what I mean).

  6. #6
    Photographer; for hire!! shiato storm's Avatar
    Join Date
    Aug 2003
    Location
    next door
    Posts
    6,977
    Thanks
    4
    Thanked
    6 times in 5 posts
    wow that example's thats just what i'm after, cheers!!
    Powered by Marmite and Wet Dog
    Light Over Water Photography

  7. #7
    Senior Member
    Join Date
    Nov 2005
    Posts
    501
    Thanks
    0
    Thanked
    0 times in 0 posts
    No worries, hope it helps. You can also alter the speed of the fade in the .js file, lower values is slower.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. WHSmith Clearance and old stuff
    By faisal_uk in forum Retail Therapy and Bargains
    Replies: 4
    Last Post: 11-06-2004, 12:04 AM
  2. New Stuff Coming Thoughts And Help Please
    By bigjonnyauk in forum PC Hardware and Components
    Replies: 5
    Last Post: 12-05-2004, 12:26 AM

Posting Permissions

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