/    Sign up×
Community /Pin to ProfileBookmark

Webpage doesn’t work right in opera

Hello, at [url]www.mattspinelli.com/gallery.html[/url] the images in the gallery do not preload properly in Opera. This works find in IE and firefox though.

I preload the thumbnails and first image in the <Head> secition using javascript. This is to quickly display these items. The rest, I don’t want to preload in the same way because I want it to have the apperance that the gallery has loaded so that people don’t leave. In the background the rest of the images will continue to load. The reason for preloading is because I have a fade effect between images.

To load the remaining images I use the <div class=”hidden”> method and list <IMG> tages in this area.

If I remove class=”hidden” then in opera the images load and show in succession. The fade effect works. If i add class=”hidden” the images of course do not show, but they neigher load invisibly (the images x/x icon does not list them). What is going on and why won’t Opera work?

As a side note, when I run the website on Opera off my harddrive instead of online I do not have this problem. Can anyone help?

to post a comment
Full-stack Developer

2 Comments(s)

Copy linkTweet thisAlerts:
@KravvitzNov 02.2006 — It's probably because of the display:none;. Why don't you use a JavaScript function to be called by onload that will preload the other images?
Copy linkTweet thisAlerts:
@msphotosauthorNov 03.2006 — That is what I ended up doing. I just didn't know why the other way didn't work for Opera. now I know. Thanks.
×

Success!

Help @msphotos spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...