Results 1 to 8 of 8

Thread: rollover magic code

  1. #1
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default rollover magic code

    hi, ok, it's not magic, but...

    i want to create a rollover expander which i have found on this site below. a mouse over the thumbnail image expands the image. Can anyone help me decipher this code. many thanks


    http://www.imagesource.com/photography_disc/SF011

    Neil

  2. #2
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    just to add...I am viewing this on safari on the mac. My version of IE does not display this occurence. Is this just an IE 5.2 thing?

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Its an IE5.2Mac thing. I've 'stolen' the script and have it working locally with a few bugs yet to work out. It seems the server serves up different markup depending upon the browser, I think this can be worked out though I have no way of knowing what Safari is served. This is all a bit moot though, unless we receive permission from Image Source to publish their code, I'll (at most) play with it for my own amusement.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I appreciate the feedback. it certainly is some smart looking code.
    Basically I began to develop a way of enlarging images like this but it became far too messy.

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It occurs to me that Image Thumbnail Viewer is close to that effect. You might want to look into it if you haven't already.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    many thanks. I shall have a peep

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Quote Originally Posted by John
    I have no way of knowing what Safari is served.
    User input is in bold, my comments are in italics.
    Code:
    prompt> telnet imagesource.com 80
    GET /photography_disc/SF011 HTTP/1.1
    Host: www.imagesource.com
    User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/124 (KHTML, like Gecko) Safari/125
    Accept: */*
    Connection: Close
    (press enter twice)
    Copy and paste the resulting HTML. If using *nix (or Cygwin), you can redirect the output to a file with "> file.txt" on the end of the command. This might work in Windows as well; I can't remember. The XP version of telnet is shockingly awful. You might want to use the Cygwin one or HyperTerminal.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Oct 2005
    Posts
    86
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That is a very cool script. So has any found out how it was done?

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
  •