Web Design Forum  

Go Back   Web Design Forum > Web and Graphic Design > Web Design

Like Tree1Likes
  • 1 Post By LouTheDesigner

Reply
 
LinkBack Thread Tools Display Modes
Old 03-01-2012, 12:24 AM   #1
Silver Member
 
Fireproofgfx's Avatar
 
Join Date: Jul 2011
Location: WAshington
Posts: 151
Default Body onload for Mouse Over??

I am self taught when I have time and I basically taught myself how to use Dreamweaver to make a usable/doable site. I understand I need to actually start coding "by hand" to truly get the grasp of designing but for now this will have to make due until I can learn more.

The reason I started out by saying this is because using Dreamweaver I add a mouseover effect and it makes a body onload tag, but it dawn on me today I don't think it needs to be there. I deleted it out of the code and the Mouseover effect still worked properly. So is there any reason for me to keep this. If I were to hand code this would I include it or not? Is it just something extra dreamweaver adds in.

HTML Code:
<body onload="MM_preloadImages('style/MOSidebutJoinTEAM.png','style/MOsidebutEVENTS1.png','style/MOsidebutDONATE.png','style/MOfacebook.png','style/MOTwitter.png','style/MOlinkedin.png','style/MO_01.png','style/MO_02.png','style/MO_03.png','style/MO_04.png','style/MO_05.png','style/MO_06.png','style/MO_07.png','images/MOphotos.png','images/MOvideos.png','images/MOinterviews.png','images/MOfiscal.png','images/MOmilitary.png','images/jobs.png','images/MOEnergy.png','images/MOeducation.png','images/MO2nd.png','images/MOhealthcare.png','images/MOacumen.png','images/MOenvironment.png','images/MOimmigration.png','images/MOterm.png','images/MOjobs.png','images/MOgoals.png','style/MOyoutube.png','style/MOfreedom.png')">
I ask this because I do understand that Dreamweaver isn't the end all solution for designing and I want to design properly. Further more when you add the mouseover effect for the first time DW produces its own code for mouseover which turns out does not validate on W3c anyways so that tells me something isn't quite right. So I thought I would ask. Thanks for the input.
Fireproofgfx is offline   Reply With Quote
Old 03-04-2012, 01:07 PM   #2
Platinum Member
 
Join Date: Oct 2008
Location: Yonkers, NY
Posts: 512
Default

Do you know CSS? If so, take a look here:

http://www.webvamp.co.uk/blog/coding...age-rollovers/

Very simple, and using less code, your page will have a much quicker loading time, thus increasing SEO

-Lou
annemarie likes this.
LouTheDesigner is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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



All times are GMT. The time now is 08:50 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.