Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3

Thread: Too Much Code?

  1. #1
    Senior Member
    Join Date
    Dec 2013
    Posts
    120
    Member #
    37915
    Liked
    2 times

    Question Too Much Code?

    I've been working with a client for almost a year. I maintain ilovemylaser.com. It was taken down once, and I had a company in India rebuild it by using archives.

    I've learned some HTML, CSS, and js in the interim. I am fairly certain it was made with an earlier version of HTML, has been through many hands, and there might be too much code. Seems to be multiple style sheets as well.

    I am not sure if it is optimized for all devices and all browsers. There's also an issue with the layout of the menu, which I just posted previously.

    Here though, is there excess or outdated code, and if so, how could I improve it?


    Code:
    <!DOCTYPE html>
    <html>
       <head>
          <title>ILoveMyLaser</title>
          <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
          <link rel="stylesheet" href="css/awtpl.css">
          <link rel="stylesheet" type="text/css" href="style.css">
    
    <!-- Google Analytics -->
    <script>
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    ga('create', 'UA-XXXX-Y', 'auto');
    ga('send', 'pageview');
    </script>
    <!-- End Google Analytics -->
       </head>
    
       <body>
    		<div class="header">
            <div class="header2">
                <div class="top">
                <p><a href="login.html"><img src="image/btn_sign_in.png" border="0px"></a>
                
                ~repname~</p>
                <p>~repemail~</p>
                <p>~repphone~</p>
                <p>~repcomment~</p>
                <div class="contnum"><p style="background:url(phone.png) no-repeat left; background-position:10px 2px;">888-423-8922 tel.</p>
                <p style="background:url(icon_fax.png) no-repeat left; background-position:14px 5px;">877-429-8613 fax</p></div>
                </div>
                <div id="menu_con">
                   <p><a href="index.html"><img src="./images/qw_logo.png" border="0px"></a></p>
                   <div id="menu3">
                      <div class="container">
                         <a class="toggleMenu" href="#">Menu</a>
                         <ul class="nav">
                            <li  class="test"><a href="products.html">Products</a></li>
                            <li><a href="testimonials.html">Testimonials</a></li>
                            <li><a href="community.html">Community</a></li>
                            <li><a href="gatherings.html">Gatherings</a></li>
                            <li><a href="order.html">Order</a></li>
                         </ul>
                      </div>
                      <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
                      <script type="text/javascript" src="script.js"></script>		
                   </div>
                </div>
             </div>
          </div>
          <link rel="stylesheet" href="css/demo.css">
            <link rel="stylesheet" href="css/sliderstyle.css">
            <script src="js/ajex.js"></script>
    		<script src="js/splitscript.js"></script>
            <script>
    			$(function() {
    				var demo1 = $("#demo1").slippry({
    					transition: 'fade',
    					useCSS: true,
    					speed: 1000,
    					pause: 3000,
    					auto: true,
    					preload: 'visible'
    				});
    			
    			});
    		</script>
    
           <div id="main">
             <div class="main2">
                <div class="left">
                <ul id="demo1">
    				<li><a href="#slide1"><img src="image/banner/woman_leaning_back.jpg" ></a></li>
    				<li><a href="#slide2"><img src="image/banner/2.jpg"  ></a></li>
                    <li><a href="#slide3"><img src="image/banner/woman_on_rock.jpg"  ></a></li>
    			</ul>
                </div>
                <div class="right">
                
                <div class="videobox"><iframe src="//player.vimeo.com/video/46066731" width="100%" height="285" 
    			webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    </div>
    
                   <div class="videoslid1">
                      <a href="intro.html"><img src="images/bv_intro.png" id="intro"></a>
                   </div>
                   <div class="videoslid1">
                      <a href="product.html"><img src="images/bv_products.png" id="product"></a>
                   </div>
                   <div class="videoslid1">
                      <a href="emissaries.html"><img src="images/bv_emissaries.png" id="emissarise"></a>
                   </div>
                </div>
             </div>
          </div>
          <div id="mainbottom">
             <div class="main2">
                <div class="emailbox">
                   <div class="inputtext">
                   <form accept-charset="UTF-8" action="https://zf116.infusionsoft.com/app/form/process/d7ccdc5766e01714aa68822945487e97" target="_blank" class="infusion-form" method="POST">
        <input name="inf_form_xid" type="hidden" value="d7ccdc5766e01714aa68822945487e97" />
        <input name="inf_form_name" type="hidden" value="On Home Page" />
        <input name="infusionsoft_version" type="hidden" value="1.29.11.21" />
        <div class="infusion-field">
            <label for="inf_field_Email" style="font-weight: normal; font-family:Arial; font-size:14px; color:#FFFFFF;">Email</label>
            <input class="infusion-field-input-container" id="inf_field_Email" name="inf_field_Email" type="text" />
            <input type="submit" value="Submit" class="subm" />
        </div>
    
    <!-- needed?    <div class="infusion-submit">        
        </div>
    -->
    
    </form>
                      </div>
                </div>
                <div class="ficonbox">
                <div class="imagesize">
                   <a href="https://www.facebook.com/stillpointnow"><img src="images/p_facebook.png"></a>
                 </div>  
                 <div class="imagesize2">            
                 <a href="http://www.stillpointcommunity.com/m"><img src="images/blank_sq.png" ></a>
                  </div>
                  <div class="imagesize3">
                    <a href="https://twitter.com/stillpointnow"><img src="images/p_twitter.png" style="float:right;"></a>
                   </div>
                </div>
                <div class="ofcbox"><a href="login.html"><img src="images/blank_sq.png" ></a></div>
                <div class="midiyabox"><a href="comingsoon.html"><img src="images/tab_media.png" ></a></div>
             </div>
          </div>
          <div id="footer">
             <div class="footer2">
                <div class="footbox1"><img src="images/mandala.png" ></div>
                <div class="footbox2">Copyright  &#169;2012, LLC. All right reserved.</div>
                <div class="footbox3">
                   <ul> <li><a href="warranty.html">Warranty</a>  |</li>
                      <li><a href="login.html">Emissary Login</a>  |</li>
                      <li><a href="contact.html">Contact Us</a>  |</li>
                      <li><a href="privacy_Policy.html">Privacy Policy</a></li>
                      <li><a href="http://www.facebook.com/stillpointnow" target="_blank"><img src="./images/btn_fb.png" border="0px"></a></li>
                      <li><a href="https://twitter.com/#!/stillpointnow" target="_blank"><img src="./images/btn_twit.png" border="0px"></a></li>
                   </ul>
                </div>
             </div>
             <div class="footer3">
    
    		                   <h2 align="center"><a href="order.html" style="color:#DE23FF;">Click Here for Monthly Product Specials</a></h2>
    
    		 <p>
                   DISCLAIMER: The Scalar Wave Laser System is indicated for temporary relief of minor muscle and joint pain, arthritis and muscle spasm, relieving stiffness, promoting relaxation of muscle tissue, and temporarily increasing local blood circulation.  The System is not intended to diagnose, treat, cure, mitigate, or prevent disease.  If you have a disease or medical condition, consult with your physician or health practitioner before using the Scalar Wave Laser.
                </p>
                <h2>
     
                </h2>
             </div>
          </div>
    	 </body></html>

  2.  

  3. #2
    Senior Member Fireproofgfx's Avatar
    Join Date
    Apr 2012
    Location
    Washington
    Posts
    839
    Member #
    31498
    Liked
    171 times
    Here is your site back in 2012

    Here is your websites Responsiveness

    and

    Here is your website validation through W3C

    Hope this helps you out.

  4. #3
    Senior Member
    Join Date
    Dec 2013
    Posts
    120
    Member #
    37915
    Liked
    2 times
    Hi Fireproofgfx,

    Thanks for that. Seems I've got a little bit of work to do to get it current.

    Cheers.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Tags for this Thread

All times are GMT -6. The time now is 11:55 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com