Skip to content
Snippets Groups Projects
Commit fd6cd52d authored by Matthew Juhl's avatar Matthew Juhl
Browse files

Make compatible with mobile.

parent d9f6f0a4
No related branches found
No related tags found
No related merge requests found
......@@ -47,12 +47,15 @@
$("form.cool label br").remove();
$("form.cool p.form-field-description").each(function(){
$(this).appendTo($(this).prev()).css({
marginLeft: "164px",
marginTop: "36px",
fontSize: "75%",
color: "#1091D1"
});
});
$("#maincontent p.form-field-description").css({
marginLeft: "164px",
marginTop: "36px"
});
$("form.cool fieldset input[type!=submit], form.cool fieldset select, form.cool fieldset textarea").wrap('<div class="element"></div>');
$("form.cool label div").each(function(){
$(this).insertAfter($(this).parent());
......@@ -476,7 +479,6 @@
$("select[name=form_data_profile_dob_day] option[value=" + dob_day + "]").attr("selected","selected");
WDN.log("Opt in value...... " + $("input[name=form_data_info_alumni_opt_in]").val());
var alumniOptIn = $("input[name=form_data_info_alumni_opt_in]").val();
$("input[name=form_data_info_alumni_opt_in]").replaceWith('<input type="checkbox" name="form_data_info_alumni_opt_in" value="yes" />');
if (alumniOptIn == "yes"){
......@@ -495,7 +497,7 @@
$("select[name=form_data_profile_role]").change(alumniCheckbox);
$("textarea[name=form_data_profile_unl_impact]").parent().css({clear:"both",display:"block","margin-left":"150px"}).siblings("label").css("width","330px");
$("#maincontent textarea[name=form_data_profile_unl_impact]").parent().css({clear:"both",display:"block","margin-left":"150px"}).siblings("label").css("width","330px");
$("#formloading").remove();
$("#maincontent form.cool").show();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment