Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
No Rollover Preload, Object Required Error?
Old 06-10-2008, 09:16 AM No Rollover Preload, Object Required Error?
Junior Talker

Posts: 4
Trades: 0
On this page the rollover images do not preload and there is a slight delay when mousing over. I believe the "object required" and "object expected" errors are the culprit. These errors occur on the following pages, but none of the sub pages:

http://www.mwrgermany.com/index.htm
http://www.mwrgermany.com/hd/heidelberg.htm

In the code this appears to be an <![endif]--> statement. This is the only one without a browser displayed. The previous ones are all like this:

<![endif]-->
<!--[if gte IE 5]>

<![endif]-->
<!--[if lt IE 6]>

Suggestions?
dopaminefiend is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-10-2008, 10:42 AM Re: No Rollover Preload, Object Required Error?
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You really don't need all that scripting for a simple rollover effect anyway, it's completely do-able with CSS.

You also need a proper DOCTYPE, you don't have one at all.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-10-2008, 11:08 AM Re: No Rollover Preload, Object Required Error?
Skilled Talker

Posts: 62
Name: Tom Wright
Location: Brighton, UK
Trades: 0
A method I'd suggest would be to use CSS sprites.
These combine the two image states (normal & rollover) into a single image of which only the relevant part is shown. The advantage is that you load both images at the same time and cut down on browser-server chitter chatter.
Hope this helps,
Tom
__________________
My site:
Please login or register to view this content. Registration is FREE
tomythius is offline
Reply With Quote
View Public Profile
 
Old 06-12-2008, 05:57 AM Re: No Rollover Preload, Object Required Error?
Junior Talker

Posts: 4
Trades: 0
The two image states for rollover are ready ... do I have to manually code each button, or is there are simpler way?
dopaminefiend is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to No Rollover Preload, Object Required Error?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13233 seconds with 12 queries