472,989 Members | 2,901 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,989 software developers and data experts.

Image Gallery Link Problem with IE 6

I have attempted to use the CSS techniques from two or three sites to
create a CSS only image gallery. I am muddling the affair by placing
the thumbnails in one float, the page text in another float, then
using absolute positioning (and z-index) to display the image over the
second float.

The CSS for the thumbnails is from "Web Accessibility At C-net.us" by
K Chayka (http://accessat.c-net.us/test/gallery2.html). The CSS to
display the image when the thumbnail is clicked or receives focus via
the keyboard is based primarily on the 'slideshow' example at Stu
Nicholls' CSSplay (http://www.cssplay.co.uk/menu/slide_show.html). I
also reviewed the 'Hoverbox Image Gallery' example at Sonspring
(http://sonspring.com/journal/hoverbox-image-gallery) prior to
beginning on my page.

The result can be seen at:

http://rick.threesixtyphoto.com/gall...traits_v2.html

Things work as expected in Firefox 1.5.0.6. And, almost, in IE 6. And,
not very well at all in Opera 8.54. These are the only browsers I have
installed.

In IE 6:

- clicking a thumbnail does not always display the image
- if I move the mouse cursor off the thumbnail to an adjacent
thumbnail, the image will usually display
- if I traverse (click/tab) the thumbnails in the order they are
entered on the page (forward or backward) the images will display
- if I click a thumbnail out of this order, I need to move the mouse
cursor to an adjacent thumbnail to get the image to display

The CSS validates (W3C CSS Validator) with the exception of the
'display:inline-block' and 'cursor:hand' entries used in displaying
the thumbnails. The xHTML also validates using the W3C HTML Validator.

This is a development area only, so please ignore the current size of
the thumbnails, etc. For now the CSS for the gallery is included in
the page. The default CSS for the site look and feel is loaded from a
separate file.

I am hoping someone can explain the behaviour in IE6 to me. And,
perhaps offer a way to eliminate this unexpected behaviour. Nothing
similar seems to happen with the examples at the sites mentioned
above.

Please also note that I am not a professional web developer of any
sort. I am trying to help a friend.

Thank you,
Rick
Aug 12 '06 #1
4 1747
RE Kochanski <ba*******@yahoo.cawrote:
>http://rick.threesixtyphoto.com/gall...traits_v2.html
Size of main page:
12800 bytes
Number of inline elements:
29 (29)
Size of inline elements:
4426053 bytes

Good grief almighty, that's some seriously misguided coding you have
there.

--
Spartanicus
Aug 12 '06 #2
On Sat, 12 Aug 2006 19:41:48 +0100, Spartanicus
<in*****@invalid.invalidwrote:
>RE Kochanski <ba*******@yahoo.cawrote:
>>http://rick.threesixtyphoto.com/gall...traits_v2.html

Size of main page:
12800 bytes
Number of inline elements:
29 (29)
Size of inline elements:
4426053 bytes

Good grief almighty, that's some seriously misguided coding you have
there.
Thank you for you comment, and, my apologies.

If I can get the page to work, I will be talking to my friend about
reducing the sizes of the thumbnails and/or images, as well as
reducing the DPI and increasing jpg compression wherever possible.
And, the CSS will be moved into a separate file.

I should have thought about these issues and done something about them
before posting the demo page(s) and my request for assistance.

I am, however, given the goal, unable to see how one would go about
reducing the number of inline elements. Nor, how one can reduce the
total size of the inline elements to something approaching a few
hundred kb.

Regards
Aug 12 '06 #3
RE Kochanski <ba*******@yahoo.cawrote:
>>>http://rick.threesixtyphoto.com/gall...traits_v2.html

Size of main page:
12800 bytes
Number of inline elements:
29 (29)
Size of inline elements:
4426053 bytes

Good grief almighty, that's some seriously misguided coding you have
there.

Thank you for you comment, and, my apologies.

If I can get the page to work, I will be talking to my friend about
reducing the sizes of the thumbnails and/or images, as well as
reducing the DPI and increasing jpg compression wherever possible.
Instead of filing at the edges you should solve the problem, it's
madness to embed all the full size images on the thumbnail page.

Have a look at http://www.porjes.com/butterflies/ for a demo of how to
do this properly.

--
Spartanicus
Aug 12 '06 #4
Spartanicus <in*****@invalid.invalidwrote:
>Have a look at http://www.porjes.com/butterflies/ for a demo of how to
do this properly.
Apologies, I recommended this based on the reputation of it's creator
without looking how it was done. It turns out that it uses a hack that
I'd advise against.

--
Spartanicus
Aug 13 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Keith Smith | last post by:
When I use this code.... window.open('gallery/pic1.jpg','windowname','width=775,height=550,resizable=yes,scrollbars=yes,top=10,left=10'); ....my web page displays a picture with a white border...
8
by: Chris Dewin | last post by:
Hi. I run a website for my band, and the other guys want an image gallery. I'm thinking it would be nice and easy, if we could just upload a jpg into a dir called "gallery/". When the client...
0
by: numbnutz | last post by:
Hi, I am currently working on an XML Gallery for my girlfriend's brother who is a photographer. I have created a flash front end template and am using an XML database to load the images and...
10
by: cjparis | last post by:
Hello everyone. If anyone can give me a hand I would be gratefull Am doing a site which requires a moving element and have used DHTML to do it. Have a simple Browser detect script to sort IE...
25
by: Gilles Ganault | last post by:
Hello I've been googling for a couple of hours, but still haven't found what I need: - really simple PHP-based image gallery software. Ideally, just a single file that I just drop into a...
3
by: ishkur88 | last post by:
Hello, I'm a starting out web designer, and a client of mine wants a gallery of their products to be displayed. What I have so far works beautifully. Basically what it does is reads the...
3
by: premprakashbhati | last post by:
hi, good evening.. i am going to upload an image in a web form .....for that iam using HTML input(file) control and one web control button i.e., Upload_Button() here is the code ...its work fine...
2
by: studentofknowledge | last post by:
For some unknown reason ie is placing images I have in a div in a weird way. One image is overlapping another but this problem is not occuring in mozilla. I have looked at my code over and over again...
12
by: neovantage | last post by:
Hey all, I have integrated Thickbox Gallery images for multiple images. So that once a member/client/visitor view the images he/she can navigate easily. It just do not show any image if i used...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.