Click to See Complete Forum and Search --> : Where are the errors coming from and about rollover image sizes


waizen
01-10-2003, 09:46 AM
Hey there:

I have a site that is still a work in progress. I uploaded what I have so far to: http://www.geocities.com/waizen2/ to test it. However, when I download the site in IE 6, I get a message on the status bar that I've had errors. I'm wondering what it's referring to. I don't get them in Netscape 6.2.

The only thing I can think of is that it's related to the rollover images. When I roll the cursor over each image, they are very slow to switch.

Each of my rollover images range between 2-4.5 k in size. Are these still too large? Can anyone think of anything else that might be the problem? Could it be some kind of Geocities thing?

Any help is appreciated.

Willi

pyro
01-10-2003, 10:36 AM
I don't get any errors when browsing with IE 6. Also, might I suggest a better way to make your rollovers? Seeing how you are making a simple background color change, I would recommend using CSS and div tags. If you are interested, I can help you get going...

thejoker101
01-10-2003, 11:36 AM
It says line 4 character 203 undetermined string constant. What confuses me is that line 4 is the title declaration. I think it means that one of your variables in your javascript that you call is not set, but I could be wrong.

waizen
01-10-2003, 12:37 PM
Thanks for responding. I just went to the site and didn't get any errors, either. However, the rollovers are still slow.

Your suggestion to use CSS is an interesting one. I'm new to it and will start researching it. This, by the way is the second time you responded to one of my posts (I've been meaning to thank you for the last one...the one about how CNN creates a simple hyperlink rollover on their site) and mentioned CSS.
Looks like somthing I do have to get into.

So, if you have any suggestions, they are welcome. In the meantime, I will be hitting the books.

Again, thanks.


Originally posted by pyro
I don't get any errors when browsing with IE 6. Also, might I suggest a better way to make your rollovers? Seeing how you are making a simple background color change, I would recommend using CSS and div tags. If you are interested, I can help you get going...

waizen
01-10-2003, 12:47 PM
Thanks for responding.

Just FYI, I used Dreamweaver MX to do the site and generate the javascript. I used the following routine:

insert > interactive images > rollover image

Interesting that you noticed that the error took place on line 4, the title declaration. Not sure if this means anything in this case but I did notice that all my pages have the same title. I wouldn't think this would be a problem (I didn't mean for all to have the same title...the site is just a work in progress and left them the same out of sloppiness).

Again, thanks.

Willi


Originally posted by thejoker101
It says line 4 character 203 undetermined string constant. What confuses me is that line 4 is the title declaration. I think it means that one of your variables in your javascript that you call is not set, but I could be wrong.

pyro
01-10-2003, 02:17 PM
Originally posted by waizen
So, if you have any suggestions, they are welcome.I'll do one better. Attached is a CSS version of you navigation system. This has many benefits.

1. It will be instantaneous
2. It will be easy to change colors if you want
3. It will be easier to add more links
4. etc. etc. etc. :)

Anyway, if you need me to explain what is going on, let me know. It is pretty straight forward, so you shouldn't have too much trouble with it.

If you get a chance, pick up a book on CSS, it will do wonders for you. :D

pyro
01-10-2003, 02:18 PM
Oh, BTW, I think you JS error was with the geocities ad...

waizen
01-10-2003, 06:08 PM
Thanks. I'll try it out as soon as I can.


Originally posted by pyro
I'll do one better. Attached is a CSS version of you navigation system. This has many benefits.

1. It will be instantaneous
2. It will be easy to change colors if you want
3. It will be easier to add more links
4. etc. etc. etc. :)

Anyway, if you need me to explain what is going on, let me know. It is pretty straight forward, so you shouldn't have too much trouble with it.

If you get a chance, pick up a book on CSS, it will do wonders for you. :D

pyro
01-10-2003, 10:41 PM
Let me know what you think...