How to take out part of this script?

Discussion in 'HTML & Website Design' started by popnyc, Jun 6, 2009.

  1. #1
    Where in my code is this mailing list square on the top right?!
    I'm not sure where to find it because I have to replace it with a script that works. The web designer put in a dummy script that isn't functional, so just wondering what I should take out.



    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title></title>
    <meta content="" name="Description" />
    <meta content="" name="Keywords" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>2009.......ne</title>
    <script src="form.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="style.css" />
    <!--[if lte ie 7]><style type="text/css"></style><![endif]-->
    <!--[if lte ie 6]><style type="text/css"></style><![endif]-->
    </head>
    <body>

    <div id="content">
    <div id="hold">
    <div id="header">
    <h1><a href="##"><img src="images/logo.png" width="451" height="60" alt="" /></a></h1>
    <div id="header_form">
    <h2>Join Our Mailing List for Free Audio Clips<span class="corner1 topleft"></span><span class="corner1 topright"></span><span class="corner1 bottomleft"></span><span class="corner1 bottomright"></span></h2>
    <form action="##" method="post">
    <fieldset>
    <label>Email address :</label>

    <input type="text" size="21" value="" id="email" />
    <div class="clear"></div>
    <label>First Name :</label>
    <input type="text" size="21" value="" id="fname" />
    <div class="clear gap1"></div>
    <input id="submit" type="submit" value="Subscribe" size="21" />
    </fieldset>
    </form>

    <div class="corner2 bottomleft"></div>
    <div class="corner2 bottomright"></div>
    </div>
    <div class="clear"></div>
    </div>
    <div id="mainblock">
    <div class="clear gap5"></div>
    <h2>
    What if you had 10 d.......
     
    popnyc, Jun 6, 2009 IP
  2. nishantbamb

    nishantbamb Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i suppose its in form.js
     
    nishantbamb, Jun 7, 2009 IP
  3. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #3
    From what i can see:

    <div id="header_form">
    <h2>Join Our Mailing List for Free Audio Clips<span class="corner1 topleft"></span><span class="corner1 topright"></span><span class="corner1 bottomleft"></span><span class="corner1 bottomright"></span></h2>
    <form action="##" method="post">
    <fieldset>
    <label>Email address :</label>

    <input type="text" size="21" value="" id="email" />
    <div class="clear"></div>
    <label>First Name :</label>
    <input type="text" size="21" value="" id="fname" />
    <div class="clear gap1"></div>
    <input id="submit" type="submit" value="Subscribe" size="21" />
    </fieldset>
    </form>

    <div class="corner2 bottomleft"></div>
    <div class="corner2 bottomright"></div>
    </div>
     
    pipes, Jun 7, 2009 IP
  4. popnyc

    popnyc Active Member

    Messages:
    1,391
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    75
    #4
    thanks!! It worked. I asked like 6 people no one knew.



    The only one thing is the text is red, where you enter your name and e-mail, it's a mailing list sign up
    I replaced FF0000 (red)
    with black 000000 in the code, when I previewed the html file off line the text was black, but then when I loaded it online to my sever, it's a red.







    <!--[if IE]>
    <style>
    #mc_embed_signup fieldset {
    position: relative;
    }
    #mc_embed_signup legend {
    position: absolute;
    top: -1em;
    left: .2em;
    }
    </style>
    <![endif]-->
    <script type="text/javascript" src="http://hdcameracomparisonguide.list-manage.com/js/jquery-1.2.6.min.js"></script>
    <script type="text/javascript" src="http://hdcameracomparisonguide.list-manage.com/js/jquery.validate.js"></script>
    <script type="text/javascript" src="http://hdcameracomparisonguide.list-manage.com/js/jquery.form.js"></script>
    <script type="text/javascript" src="http://hdcameracomparisonguide.list-manage.com/subscribe/xs-js?u=3d1c15f7379f70ec05a9aed94&amp;id=80a82187d0"></script>

    <!-- Begin MailChimp Signup Form -->
    <div id="mc_embed_signup" style="width: 60px;">
    <form action="http://hdcameracomparisonguide.list-manage.com/subscribe/post?u=3d1c15f7379f70ec05a9aed94&amp;id=80a82187d0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" style="font: normal 100% Arial;font-size: 12px;">
    <fieldset style="-moz-border-radius: 4px;border-radius: 4px;-webkit-border-radius: 4px;border: 1px solid #000000;padding-top: 1.5em;margin: .5em 0;background-color: #ffffff;color: #333333;">
    <legend style="text-transform: capitalize;font-weight: bold;color: #ffffff;background: #474744;padding: .5em 1em;border: 1px solid #000000;-moz-border-radius: 4px;border-radius: 4px;-webkit-border-radius: 4px;font-size: 1.2em;">join our mailing list for free audio clips</legend>
    <div class="mc-field-group" style="margin: 1.3em 5%;">
    <label for="mce-EMAIL" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Email Address:</label>
    <input type="text" value="" name="EMAIL" class="required email" id="mce-EMAIL" style="margin-right: 1.5em;padding: .2em .3em;width: 95%;position: relative;z-index: 999;">
    </div>
    <div class="mc-field-group" style="margin: 1.3em 5%;">
    <label for="mce-FNAME" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">First Name:</label>
    <input type="text" value="" name="FNAME" class="required" id="mce-FNAME" style="margin-right: 1.5em;padding: .2em .3em;width: 95%;position: relative;z-index: 999;">
    </div>
    <div id="mce-responses" style="position: relative;top: -1.4em;padding: 0em .5em 0em .5em;overflow: hidden;">
    <div class="response" id="mce-error-response" style="display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;position: relative;top: -1.5em;z-index: 1;width: 80%;background: #FFEEEE;color: #FF0000;"></div>
    <div class="response" id="mce-success-response" style="display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;position: relative;top: -1.5em;z-index: 1;width: 80%;background: #;color: #529214;"></div>
    </div>
    <div><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn" style="width: auto;margin: .2em 3em;display: block;"></div>
    </fieldset>
    </form>
    </div><!--mc_embed_signup-->
     
    popnyc, Jun 7, 2009 IP