Help With Collapsible Content

Help With Collapsible Content

Good Morning!!

First off, thank you for your help!! I am a volunteer for a Minor Hockey Association, trying to set up a webpage for our volunteers, and overall I really have absolutely no idea what I am doing... I was able to piece together the below by reading through forums and tutorials, but I have hit a wall and really need some help. Here is what I have so far:

  1. <!DOCTYPE HTML>
  2. <HTML>
  3. <HEAD>
  4. <TITLE>**** Volunteers</TITLE>
  5. <link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
  6. <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
  7. <script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
  8. <STYLE TYPE="text/css">
  9. .form-style{
  10. max-width: 650px;
  11. background: #FAFAFA;
  12. padding: 30px;
  13. margin: 50px auto;
  14. box-shadow: 1px 1px 25px rgba(0, 0, 0, 0.35);
  15. border-radius: 10px;
  16. border: 6px solid #305A72;
  17. }
  18. .form-style ul{
  19. padding:0;
  20. margin:0;
  21. list-style:none;
  22. }
  23. .form-style ul li{
  24. display: block;
  25. margin-bottom: 10px;
  26. min-height: 35px;
  27. }
  28. .form-style ul li  .field-style{
  29. box-sizing: border-box; 
  30. -webkit-box-sizing: border-box;
  31. -moz-box-sizing: border-box; 
  32. padding: 8px;
  33. outline: none;
  34. border: 1px solid #B0CFE0;
  35. -webkit-transition: all 0.30s ease-in-out;
  36. -moz-transition: all 0.30s ease-in-out;
  37. -ms-transition: all 0.30s ease-in-out;
  38. -o-transition: all 0.30s ease-in-out;
  39. }
  40. .form-style ul li  .field-style:focus{
  41. box-shadow: 0 0 5px #B0CFE0;
  42. border:1px solid #B0CFE0;
  43. }
  44. .form-style ul li .field-split{
  45. width: 49%;
  46. }
  47. .form-style ul li .field-full{
  48. width: 100%;
  49. }
  50. .form-style ul li input.align-left{
  51. float:left;
  52. }
  53. .form-style ul li input.align-right{
  54. float:right;
  55. }
  56. .form-style ul li textarea{
  57. width: 100%;
  58. height: 100px;
  59. }
  60. .form-style ul li input[type="button"], 
  61. .form-style ul li input[type="submit"] {
  62. -moz-box-shadow: inset 0px 1px 0px 0px #3985B1;
  63. -webkit-box-shadow: inset 0px 1px 0px 0px #3985B1;
  64. box-shadow: inset 0px 1px 0px 0px #3985B1;
  65. background-color: #216288;
  66. border: 1px solid #17445E;
  67. display: inline-block;
  68. cursor: pointer;
  69. color: #FFFFFF;
  70. padding: 8px 18px;
  71. text-decoration: none;
  72. font: 12px Arial, Helvetica, sans-serif;
  73. }
  74. .form-style ul li input[type="button"]:hover, 
  75. .form-style ul li input[type="submit"]:hover {
  76. background: linear-gradient(to bottom, #2D77A2 5%, #337DA8 100%);
  77. background-color: #28739E;
  78. }
  79. </STYLE>
  80. </HEAD>
  81. <BODY>
  82. <TABLE STYLE="cellpadding: 0; cellspacing: 0; border-style: none; width: 100%;">
  83. <TBODY>
  84. <TR>
  85. <TD STYLE="padding: 3pt; width: 20%;">
  86. <IMG ALT="Name" SRC="logo_link">
  87. </TD>
  88. <TD STYLE="padding: 3pt; width: 80%;">
  89. <P STYLE="text-align: center; font-size: 18pt; font-family: Garamond, serif; color: #006bb5;">
  90. <STRONG>The ****** ****** Hockey Club<BR>
  91. <BR>
  92. <SPAN STYLE="text-align: center; font-size: 28pt; font-family: Garamond, serif; color: #006bb5;">
  93. 2017 **** VOLUNTEER DRIVE</STRONG>
  94. </SPAN>
  95. </P>
  96. </TD>
  97. <TD STYLE="padding: 3pt; width: 20%;">
  98. <IMG ALT="Name" SRC="logo_link">
  99. </TD>
  100. </TR>
  101. </TBODY>
  102. </TABLE>
  103. <BR>
  104. <P STYLE="text-align: center; font-size: 18pt; font-family: 'Segoe UI', sans-serif; color: #de3942;">
  105. <EM><STRONG>Tryouts aren't over... we are looking for a new team of volunteers!</EM></STRONG>
  106. </P>
  107. <BR>
  108. <DIV STYLE="border: 5px solid #006BB5; padding: 10px; border-style:groove;">
  109. <P STYLE="text-align: center; font-size: 14pt; font-family: 'Segoe UI', sans-serif; color: #000000;">
  110. <STRONG>But here is the good news - everyone who signs up makes the team!</STRONG>
  111. </P>
  112. <P STYLE="text-align: justify; font-size: 14pt; font-family: 'Segoe UI', sans-serif; color: #000000;">
  113. Blah, blah, blah... some flowery content here about why to be a volunteer, perks and benefits and all that...
  114. </DIV>
  115. <BR>
  116. <P STYLE="text-align: justify; font-size: 14pt; font-family: 'Segoe UI', sans-serif; color: #000000;">
  117. Use the form below to let us know if you are interested in becoming an **** Volunteer and where you want to help out. Click each title below for more information about the <SPAN STYLE="color: #de3942;"><STRONG>Volunteer Opportunities</STRONG></SPAN> that are currently available.
  118. </P>
  119. <FORM CLASS="form-style">
  120. <UL>
  121. <LI>
  122.     <INPUT TYPE="text" NAME="fname" CLASS="field-style field-split align-left" PLACEHOLDER="First Name" />
  123.     <INPUT TYPE="text" NAME="lname" CLASS="field-style field-split align-right" PLACEHOLDER="Last Name" />
  124. </LI>
  125. <LI>
  126. <INPUT TYPE="tel" NAME="phone" CLASS="field-style field-split align-left" PLACEHOLDER="Phone" />
  127. <INPUT TYPE="email" NAME="email" CLASS="field-style field-split align-right" PLACEHOLDER="Email" />
  128. </LI>
  129. <LI>
  130. <TEXTAREA NAME="about" CLASS="field-style field-full" PLACEHOLDER="Tell Us About Yourself"></TEXTAREA>
  131. </LI>
  132. <BR>
  133. <SPAN STYLE="font-size: 18pt; font-family: 'Segoe UI', sans-serif; color: #de3942;">
  134. <STRONG>Off-Ice Volunteer Opportunities</STRONG>
  135. </SPAN>
  136. <DIV DATA-ROLE="content" CLASS="ui-content" ROLE="main">
  137.     <DIV DATA-ROLE="collapsible" DATA-COLLAPSED="true" DATA-THEME="b" DATA-CONTENT-THEME="d" DATA-COLLAPSED-ICON="arrow-d" DATA-EXPANDED-ICON="arrow-u" CLASS="ui-collapsible ui-collapsible-inset ui-collapsible-collapsed">
  138.       <H3 CLASS="ui-collapsible-heading ui-collapsible-heading-collapsed"><INPUT TYPE="checkbox" NAME="skatesale" VALUE="skatesale">Opportunity One</H3>
  139.       <P>
  140. Date: Thu 26, 2017<BR>
  141. Time: Thurday 9am-5pm<BR>
  142. Location: *****<BR>
  143. Description: Outfitting ... prices.
  144. </P>
  145.     </DIV>
  146.   <DIV DATA-ROLE="collapsible" DATA-COLLAPSED="true" DATA-THEME="b" DATA-CONTENT-THEME="d" DATA-COLLAPSED-ICON="arrow-d" DATA-EXPANDED-ICON="arrow-u" CLASS="ui-collapsible ui-collapsible-inset ui-collapsible-collapsed">
  147.       <H3 CLASS="ui-collapsible-heading ui-collapsible-heading-collapsed"><INPUT TYPE="checkbox" NAME="ipequip" VALUE="ipequip">Opportunity Two</H3>
  148.       <P>
  149. Date: Thursday 2017<BR>
  150. Time: Thursday 9am-12pm<BR>
  151. Location: ******<BR>
  152. What it is: Help ... correctly.
  153. </P>
  154.     </DIV>
  155.   </DIV>
  156. </UL>
  157. </FORM>
  158. There will be some additional content going down here, but I haven't written it as of yet...
  159. </HTML>

I am having a few different issues here that I am in desperate need of some assistance on... So, the idea here is that people interested in volunteering for the association will fill out the form, check off which opportunities they are interested in, and submit the form. The issues that I having is with the JQuery functionality I am using to display those opportunities.

Side note - I trimmed this down to two for readability - at any given time there are 10 - 25 volunteer positions open.

Okay, issue number one is the checkbox. These collapsible sections are embedded inside a Form, as you can see, and I am trying to make each of the headings a checkbox. Or, just put a checkbox beside it. So that people can indicate which position they are applying for. It is not working as planned...

Second up is the formatting. This is my "I have no idea what I am doing" getting in the way, I think. As far as I can tell, the styling I have applied for the form (lines 10-81) are getting overwritten by the JQuery styles. To see the difference, remove lines 7, 8, and 9 and see what happens to the form fields (First Name, Last Name, etc). 

And last up, I have added " DATA-THEME" and "DATA-CONTENT-THEME" but they do not seem to work. If I set them both to "b" it will turn everything black, but that is it. I am trying to get theme "b" (I think...) - the theme that is primarily blue.

Please help!!!!

Thanks,
Nathan