Aweber HTML question- What are these Java/Html Variables?

by entry
2 replies
Any aweber /javascript knowledge heads?

Im Setting up some in webforms, and i was looking through the HTML code for a new form generated, but am confused with some of the coding. can you please tell me what some of these variables are??

What is are these 2 functions? - They are being a pain on my page, when uploaded. and they are NOT in some of my past forms,- thats why i am confused to what they are.
I wish to remove them as as they are causing page issues, but When I do remove them the code/page doesnt work,

All i want you to do is identify these, and tell me what their purpose is,

What is this function 1)

<script type="text/javascript">
(function() {
var IE = /*@cc_on!@*/false;
if (!IE) { return; }
if (document.compatMode && document.compatMode == 'BackCompat') {
if (document.getElementById("af-form-479754820")) {
document.getElementById("af-form-479754820").className = 'af-form af-quirksMode';
}
if (document.getElementById("af-body-479754820")) {
document.getElementById("af-body-479754820").className = "af-body inline af-quirksMode";
}
if (document.getElementById("af-header-479754820")) {
document.getElementById("af-header-479754820").className = "af-header af-quirksMode";
}
if (document.getElementById("af-footer-479754820")) {
document.getElementById("af-footer-479754820").className = "af-footer af-quirksMode";
}
}
})();
</script>

What is this function 2)

<style type="text/css">
#af-form-479754820 .af-body .af-textWrap{width:98%;display:block;float:none;}
#af-form-479754820 .af-body input.text, #af-form-479754820 .af-body textarea{background-color:#FFFFFF;border-color:#CCCCCC;border-width:2px;border-style:inset;color:#000000;text-decoration:none;font-style:normal;font-weight:normal;font-size:inherit;font-family:inherit;}
#af-form-479754820 .af-body input.text:focus, #af-form-479754820 .af-body textarea:focus{background-color:inherit;border-color:#CCCCCC;border-width:2px;border-style:inset;}
#af-form-479754820 .af-body label.previewLabel{display:block;float:none;text-align:left;width:auto;color:#000000;text-decoration:none;font-style:normal;font-weight:normal;font-size:inherit;font-family:inherit;}
#af-form-479754820 .af-body{padding-bottom:15px;background-repeat:no-repeat;background-position:inherit;background-image:none;color:#000000;font-size:12px;font-family:, serif;}
#af-form-479754820 .af-quirksMode{padding-right:15px;padding-left:15px;}
#af-form-479754820 .af-standards .af-element{padding-right:15px;padding-left:15px;}
#af-form-479754820 .buttonContainer input.submit{color:#000000;text-decoration:none;font-style:normal;font-weight:normal;font-size:inherit;font-family:inherit;}
#af-form-479754820 .buttonContainer input.submit{width:auto;}
#af-form-479754820 .buttonContainer{text-align:center;}
#af-form-479754820 button,#af-form-479754820 input,#af-form-479754820 submit,#af-form-479754820 textarea,#af-form-479754820 select,#af-form-479754820 label,#af-form-479754820 optgroup,#af-form-479754820 option{float:none;position:static;margin:0;}
#af-form-479754820 div{margin:0;}
#af-form-479754820 form,#af-form-479754820 textarea,.af-form-wrapper,.af-form-close-button,#af-form-479754820 img{float:none;color:inherit;position:static;backg round-color:none;border:none;margin:0;padding:0;}
#af-form-479754820 input,#af-form-479754820 button,#af-form-479754820 textarea,#af-form-479754820 select{font-size:100%;}
#af-form-479754820 select,#af-form-479754820 label,#af-form-479754820 optgroup,#af-form-479754820 option{padding:0;}
#af-form-479754820,#af-form-479754820 .quirksMode{width:240px;}
#af-form-479754820.af-quirksMode{overflow-x:hidden;}
#af-form-479754820{background-color:transparent;border-color:inherit;border-width:none;border-style:none;}
#af-form-479754820{overflow:auto;}
.af-body .af-textWrap{text-align:left;}
.af-body input.image{border:none!important;}
.af-body input.submit,.af-body input.image,.af-form .af-element input.button{float:none!important;}
.af-body input.text{width:100%;float:none;padding:2px!impor tant;}
.af-body.af-standards input.submit{padding:4px 12px;}
.af-clear{clear:both;}
.af-element label{text-align:left;display:block;float:left;}
.af-element{padding:5px 0;}
.af-form-wrapper{text-indent:0;}
.af-form{text-align:left;margin:auto;}
.af-quirksMode .af-element{padding-left:0!important;padding-right:0!important;}
.lbl-right .af-element label{text-align:right;}
body {
}
</style>
#aweber #html #java or html #variables #webform
  • Profile picture of the author Jim Schaub
    function 1 is the action of the form and funtion 2 is the html and css (how it looks). use the javascript snippet for the form. no sense in copying all this code for your form.
    Signature
    Get Sales on Demand
    How I Built an Email List of 30,116 People >> WATCH THIS VIDEO
    {{ DiscussionBoard.errors[1729005].message }}
    • Profile picture of the author entry
      I just need to try the HTML version, to see somthing,
      Signature
      I Have to say a Massive...THANK YOU to every Warrior who has helped me, and thanks to every warrior who helps me in the future...
      {{ DiscussionBoard.errors[1729052].message }}

Trending Topics