New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Problem with loading small images


Post Reply New Thread Subscribe

 
Thread Tools
andreimg

 
Member Since: Jul 07, 2007
Posts: 2
andreimg is on a distinguished road

andreimg is offline
I managed to create my own site(just images I made) http://andreimogos.uv.ro/and want it to keep it as simple as possible.

My host is a free one and didn't expect much of it(the overall loading is fine). Still I don't understand why it takes so long to see the mouse-over images (once you mouse-over over the menu).
The images are just 5-7 kb in size so why the lag?

I used the Image Rollover function in Dreamweaver.
Am I doing something wrong in the script?
QUOTE Thanks
ekologik

 
ekologik's Avatar
 
Member Since: Dec 03, 2007
Location: Canada
Posts: 74
ekologik is on a distinguished road
Mac Specs: MacBook 2.4 GHz Intel (unibody), 2 GB RAM; iPhone 3Gs

ekologik is offline
hey nice work, very cool.
it seems to be changing upon mouse over instantly for me, maybe it's your computer that's lagging?
QUOTE Thanks
Jasber

 
Member Since: Dec 04, 2007
Posts: 10
Jasber is on a distinguished road

Jasber is offline
It seems to work fine for me but started to lag when I repeatedly moused on/off the images.

I'm not sure how confident you are with CSS, but one option may be using the a:hover attribute. In general this seems to be less laggy than Javascript options.

That being said it looks like everything was done correctly. The images are pre-loaded and the Javascript seems to be correct.

MacTips - Mac Tips and Tricks
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
Dreamweaver write bloated code. You're better off with your own javascript, or using a simple 'onmouseover' event on the image (and preload the hover images elsewhere). It's a little more hand-work but the results are worth it.

schweb This has to be one of the best threads ever in MF history...
Cherokee This gets my vote for most innovative thread on Mac-Forums... ever.
QUOTE Thanks

Post Reply New Thread Subscribe


« Building a Web Page | Can you check my site please? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problem With Keyboard...... mmcltd OS X - Operating System 4 02-02-2010 06:47 PM
Microsoft Messenger Problem millenium_spike OS X - Apps and Games 4 09-16-2008 01:11 AM
OS 10.4 - Hardware Diagnostics Test Not Loading amrk47 OS X - Operating System 6 10-25-2007 02:54 PM
Codec problem, any idea? stevegate OS X - Apps and Games 0 10-21-2007 07:37 AM
Small Problem After Firmware Update (G5) adamburgess Apple Desktops 0 10-01-2004 07:18 AM

All times are GMT -4. The time now is 11:59 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?