Forum Support

Shape 5
March 28, 2024, 10:34:58 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Unneccesary Code?  (Read 430 times)
aisww
Jr. Member
**
Offline Offline

Posts: 153



« on: July 09, 2010, 10:11:41 AM »

I recently had an alt tag issue (which I fixed) which lead me to this chunk of code in my index.php file which I believe is unnecessary:

Code:
<body style="background:#<?php echo $s5_backcolor?> url(<?php echo $s5_headerback?>) no-repeat;">
<div style="background:transparent url(<?php echo $s5_backimage?>) no-repeat center top;">
<!-- Header -->
<div style="display:none">
<img src="http://www.aisww.com/cms/images/Slides/bbb.jpg" alt="a"></img>
<img src="http://www.aisww.com/cms/images/Slides/chess.jpg" alt="b"></img>
<img src="http://www.aisww.com/cms/images/Slides/future.jpg" alt="c"></img>
<img src="http://www.aisww.com/cms/images/Slides/headache.jpg" alt="d"></img>
<img src="http://www.aisww.com/cms/images/Slides/infoawareness.jpg" alt="e"></img>
<img src

I am not even using some of these images anymore and I believe it is from an old module not in use anymore. Can I delete it? I'm beginning to wonder how much excerpts of code in my files are useless.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: July 09, 2010, 02:02:00 PM »

Yes if you put it there, it looks like preloaders for those images, so if you are still using those images perhaps you want to keep it there so you don't see them loading visually when you first hit the site.

Regards,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.