473,395 Members | 1,348 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 1773
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.