Rollover delay problem, please help!

This is a discussion on "Rollover delay problem, please help!" within the JavaScript Forum section. This forum, and the thread "Rollover delay problem, please help! are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 8th, 2006, 22:40
New Member
Join Date: Feb 2006
Age: 30
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Question Rollover delay problem, please help!

Hey guys,

I'm working on a site for a client and I'm running into a problem that I've never had before. My rollovers are showing a slight delay, almost like they aren't preloaded, even though it's set to preload. I'm using the code that Adobe Imageready automatically generates for the rollovers. I'm thinking it has something to do with the fact that there are a couple of buttons at the top with rollovers, as well as a side menu. Since there is code for each of those, I think it might be only preloading the images on the top panel, but I don't know how to fix the problem. Any help in resolving this is much appreciated as I need to get this site out the door ASAP. Thanks so much! Here's the link to the test page: www.jamesfosterdesign.com/bug_test

James
Reply With Quote

  #2 (permalink)  
Old Feb 9th, 2006, 09:12
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Rollover delay problem, please help!

hmm

its that damn MM script. Its obviusly not preloading your images, as they would show.

you could use this, much more simple..
Code: Select all
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">

image1 = new Image();
image1.src = "http://www.webforumz.com/images/imageon.gif";


</script>
then for the link:
Code: Select all
<a href="page.php" onmouseover="image1.src='images/imageon.gif';"
onmouseout="image1.src='images/imageoff.gif';">
<img name="image1" src="http://www.webforumz.com/images/imageoff.gif" border=0></a>
however, id recomend using CSS for the changes. not only do you save hassle for non javascript users, you also save having to load all these images.
also, if you are going to go with css / javascript option, externalise your files..
Reply With Quote
  #3 (permalink)  
Old Feb 9th, 2006, 21:35
New Member
Join Date: Feb 2006
Age: 30
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover delay problem, please help!

Ben,

Thanks so much for taking the time to look into this. Let me be the first to admit, coding is my weak area. I've been lucky to make it this far using the code that Adobe Imageready generates. This is the first time in close to 4 years I've had this problem come up. I think I will try to use the example script you gave me to fix the problem. As far as doing it in CSS, I wouldn't have a clue where to start. If anyone else has had a simliar problem with the Imageready code doing this, I'd like to see your solutions too. Thanks again Ben!!

James
Reply With Quote
  #4 (permalink)  
Old Feb 10th, 2006, 14:07
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Rollover delay problem, please help!

i noticed your code is not good, however, your not a coder. defiantly a designer (as i loved your design) so ill let you off.

if you wish to do it in css (which is allround a better idea), just shout and ill show you how
Reply With Quote
  #5 (permalink)  
Old Feb 11th, 2006, 03:01
New Member
Join Date: Feb 2006
Age: 30
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover delay problem, please help!

Quote:
Originally Posted by benbramz
i noticed your code is not good, however, your not a coder. defiantly a designer (as i loved your design) so ill let you off.

if you wish to do it in css (which is allround a better idea), just shout and ill show you how
Yep, you're on to me! I don't do any handcoding anymore, I just use Dreamweaver and Adobe Imageready. I'd love to see how to do it the CSS way. Oh, and I'm glad you liked the design! Thanks.

James
Reply With Quote
  #6 (permalink)  
Old Feb 11th, 2006, 12:04
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover delay problem, please help!

Yeah, that one's a cutie. Your client will be ecstatic.
Reply With Quote
  #7 (permalink)  
Old Feb 11th, 2006, 15:18
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Rollover delay problem, please help!

who cares lol! learn some basic css, i can suggect a very good css book. stylin with css
is a very good one to learn the basics, ive been told.
Quote:
Originally Posted by stealthmonkey
Yep, you're on to me! I don't do any handcoding anymore, I just use Dreamweaver and Adobe Imageready. I'd love to see how to do it the CSS way. Oh, and I'm glad you liked the design! Thanks.

James
Reply With Quote
  #8 (permalink)  
Old Feb 11th, 2006, 18:21
New Member
Join Date: Feb 2006
Age: 30
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover delay problem, please help!

Quote:
Originally Posted by masonbarge
Yeah, that one's a cutie. Your client will be ecstatic.
Thanks much!

James
Reply With Quote
  #9 (permalink)  
Old Feb 11th, 2006, 18:24
New Member
Join Date: Feb 2006
Age: 30
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover delay problem, please help!

Quote:
Originally Posted by benbramz
who cares lol! learn some basic css, i can suggect a very good css book. stylin with css
is a very good one to learn the basics, ive been told.
Thanks Ben, I will check that out when I get a chance. Unfortunately, I need to get this site wrapped up pretty quick. This rollover issue is the only thing keeping me from sending it out the door. Take care and thanks again for all the great advice!

James
Reply With Quote
  #10 (permalink)  
Old Feb 11th, 2006, 21:40
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover delay problem, please help!

Don't buy a book, you can learn css on the web from A to Z. It's really easy, at least in theory.

Now, good luck figuring out how to do a cross-browser page that fits together. I'm about to opt for browser-sniffing and alternate style sheets. I've had enough of bizarre IE/Mozilla conflicts to puke up my Christmas dinner.
Reply With Quote
  #11 (permalink)  
Old Feb 11th, 2006, 23:26
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Rollover delay problem, please help!

true. depends on how ur best at learning, either jumping in or being shown....
Reply With Quote
  #12 (permalink)  
Old Feb 12th, 2006, 02:24
New Member
Join Date: Feb 2006
Age: 30
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Rollover delay problem, please help!

Quote:
Originally Posted by benbramz
true. depends on how ur best at learning, either jumping in or being shown....
Hey Ben,

I've been checking out some CSS script online for doing the rollovers. It's sort of making sense, but I'm a little overwhelmed in trying to figure out how to make it work with the existing slices I already have made up. If you could shed any light on this with an example it'd be much appreciated! Thanks.

James
Reply With Quote
Reply

Tags
rollover, delay, problem, help

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
background-image rollover problem ie6 ukstoner Web Page Design 6 Apr 9th, 2008 14:00
Simple Disjointed Rollover problem!! Help!! BlackReef JavaScript Forum 1 Jul 3rd, 2007 11:47
slight problem with rollover menu antonyx Web Page Design 1 Feb 5th, 2007 21:43
trying to sort out a disjointed rollover problem seanollett JavaScript Forum 0 Apr 23rd, 2006 08:25
Rollover Image Problem! edejo JavaScript Forum 2 Dec 16th, 2005 01:44


All times are GMT. The time now is 10:38.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43