Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 27, 2008, 09:22 PM   #1
Jeremy1026
macrumors 68000
 
Join Date: Nov 2007
Image hover shows full sized image - Help

Ok, this is more of a plea for code, then for help. I want to have a photo gallery set up (I am using Dreamweaver) for my website where when a visitor hovers over the thumbnail, the full resolution image appears on the screen, preferably not a pop up.
__________________
1026 Development
Jeremy1026 is offline   0 Reply With Quote
Old Feb 27, 2008, 09:59 PM   #2
Jeremy1026
Thread Starter
macrumors 68000
 
Join Date: Nov 2007
http://www.plentyoffish.com/member1675799.htm

Something like the extra pictures user upload to that site.

I isolated the chunk of code that does it, and all the javascript code in the file, but it doesn't work on my local server...
__________________
1026 Development
Jeremy1026 is offline   0 Reply With Quote
Old Feb 28, 2008, 03:50 AM   #3
Makosuke
macrumors 603
 
Join Date: Aug 2001
Location: The Cool Part of CA, USA
WS Tooltip (does it have a "proper" name? Walter Zorn Tooltip?) is one I've used for this purpose; it's relatively easy to use, free, you can put basically anything into the appearing box, and it's quite customizable in terms of appearance and behavior:

http://www.walterzorn.com/tooltip/tooltip_e.htm

...though I'm not sure this is the best option for a simple appearing image. I'm curious if there's a better script for an image plus maybe a caption, since I was just getting ready to do exactly this with a LOT of images on a fairly large site (and it's not a gallery-type situation where I'd want to resort to a Lightbox-style script--just a quickie enlarge that doesn't preload, to save bandwidth where possible).
Makosuke is offline   0 Reply With Quote
Old Feb 28, 2008, 06:21 AM   #4
angelwatt
Demi-God (Moderator emeritus)
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: Ohio
I found Hoverbox, which may be something you can use.

Makosuke, I have a script I use that's a simplified version of lightbox and doesn't preload images. You can see it in action at my site in the Artwork section. I have a creative commons license on it so you can mod it if need be to meet your needs.
angelwatt is offline   0 Reply With Quote
Old Feb 28, 2008, 07:15 AM   #5
Jeremy1026
Thread Starter
macrumors 68000
 
Join Date: Nov 2007
Quote:
Originally Posted by Makosuke View Post
WS Tooltip (does it have a "proper" name? Walter Zorn Tooltip?) is one I've used for this purpose; it's relatively easy to use, free, you can put basically anything into the appearing box, and it's quite customizable in terms of appearance and behavior:

http://www.walterzorn.com/tooltip/tooltip_e.htm

...though I'm not sure this is the best option for a simple appearing image. I'm curious if there's a better script for an image plus maybe a caption, since I was just getting ready to do exactly this with a LOT of images on a fairly large site (and it's not a gallery-type situation where I'd want to resort to a Lightbox-style script--just a quickie enlarge that doesn't preload, to save bandwidth where possible).
So, it looks like it should work, but doesn't. The page that I currently have it sitting on is http://www.btldetailing.com/BTL%20De...g/gallery.html . If someone could take a peak and maybe see what's wrong?
__________________
1026 Development
Jeremy1026 is offline   0 Reply With Quote
Old Feb 28, 2008, 07:24 AM   #6
a456
macrumors 6502a
 
a456's Avatar
 
Join Date: Oct 2005
Here is the CSS - not mine, Dynamic Drive as it says.

Quote:
<style type="text/css">

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */

}

</style>

HTML:

Quote:
<a class="thumbnail" href="example.png" target=_blank>Example<span><img src="example.png" width="75"><small>Example</small></span></a>
Of course change example.png to your actual picture.
a456 is offline   0 Reply With Quote
Old Feb 28, 2008, 07:36 AM   #7
angelwatt
Demi-God (Moderator emeritus)
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: Ohio
Quote:
Originally Posted by Jeremy1026 View Post
So, it looks like it should work, but doesn't. The page that I currently have it sitting on is http://www.btldetailing.com/BTL%20De...g/gallery.html . If someone could take a peak and maybe see what's wrong?
What about it isn't working. When I hover over the thumbnail the larger version presents itself.
angelwatt is offline   0 Reply With Quote
Old Feb 28, 2008, 07:42 AM   #8
Jeremy1026
Thread Starter
macrumors 68000
 
Join Date: Nov 2007
Quote:
Originally Posted by angelwatt View Post
I found Hoverbox, which may be something you can use.

Makosuke, I have a script I use that's a simplified version of lightbox and doesn't preload images. You can see it in action at my site in the Artwork section. I have a creative commons license on it so you can mod it if need be to meet your needs.
Oh how I love your hover box! Works like a charm, updated my test page with it, works great. Just need to tweak a few things like the size and location of the images
__________________
1026 Development
Jeremy1026 is offline   0 Reply With Quote
Old Feb 28, 2008, 07:44 AM   #9
Jeremy1026
Thread Starter
macrumors 68000
 
Join Date: Nov 2007
Quote:
Originally Posted by angelwatt View Post
What about it isn't working. When I hover over the thumbnail the larger version presents itself.
At the time of that post I was trying to use the wz_tooltip, not your hover box. I just switched to HB and it works great!
__________________
1026 Development
Jeremy1026 is offline   0 Reply With Quote
Old Feb 28, 2008, 08:24 AM   #10
design-is
macrumors 65816
 
design-is's Avatar
 
Join Date: Oct 2007
Location: London / U.K.
Just to throw in some other options, cssplay.co.uk has a variety of great ways to use just CSS to great loads of cool stuff.
__________________
design-is.co.uk - freelance projects
dougbarned.co.uk - personal site & blog - twitter
feralinteractive.com - designer day job - twitter
design-is is offline   0 Reply With Quote
Old Feb 28, 2008, 11:28 AM   #11
angelwatt
Demi-God (Moderator emeritus)
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: Ohio
Quote:
Originally Posted by Jeremy1026 View Post
At the time of that post I was trying to use the wz_tooltip, not your hover box. I just switched to HB and it works great!
Just to clarify, the hoverbox isn't mine, I just found it. The script I mentioned as my own wasn't linked to and doesn't address your needs, but might for Makosuke for what he mentioned as needing.
angelwatt is offline   0 Reply With Quote
Old Feb 28, 2008, 12:08 PM   #12
Jeremy1026
Thread Starter
macrumors 68000
 
Join Date: Nov 2007
Quote:
Originally Posted by angelwatt View Post
Just to clarify, the hoverbox isn't mine, I just found it. The script I mentioned as my own wasn't linked to and doesn't address your needs, but might for Makosuke for what he mentioned as needing.
Thanks for the clarification, the script you linked to is working great
__________________
1026 Development
Jeremy1026 is offline   0 Reply With Quote
Old Feb 28, 2008, 09:48 PM   #13
MrSmith
macrumors 68030
 
MrSmith's Avatar
 
Join Date: Nov 2003
Location: Japan
Another option is PostcardViewer. Pretty cool.
__________________
They are not long, the days of wine and roses: Out of a misty dream
Our path emerges for awhile, then closes within a dream.

Ernest Dowson
MrSmith is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Make windows full size default? Halvard Mac Applications and Mac App Store 2 Apr 12, 2011 08:49 AM
Full Size Images on Iphone? smswetz iPhone Tips, Help and Troubleshooting 11 Jul 3, 2009 02:24 AM
2.2: View multiple screenshots for apps and Full sized images hellomoto4 iPhone 4 Nov 23, 2008 12:41 AM
Bootable Disc Image - HELP!! trickytree1974 Mac Basics and Help 8 Dec 12, 2007 07:20 AM


All times are GMT -5. The time now is 12:49 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC