Test

Css code posted by CR
created at 11 May 23:26, updated at 19 May 22:47

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% include "breadcrumbs" %}

{% if page.headline.size > 0 %}
<div id="headline">
  <h2>{{ page.headline }}</h2>
</div>
{% endif %}

<div id="content">
  {% if page.event.content.size > 0 %}
  <div id="intro" class="intro">
    {{ page.event.content }}
  </div>
  {% endif %}
  
  <div class="row-fluid">
    <div class="span4">
      
      <select id="foo" class="user-success">
        <option value="">Pick a Person to Email</option>
        {% for host in page.event.hosts %}
        <option value="mailto:{{ host.signup.email }}?&subject=[Subject Text]&body=Dear {{ host.signup.first_name }}, [message text]">{{ host.signup.first_name }} {{ host.signup.last_name }}</option>
        {% endfor %}
      </select>
      
    </div>
    
  </div>
  
</div>

<script>
  document.getElementById("foo").onchange = function() {
    if (this.selectedIndex!==0) {
      window.location.href = this.value;
    }        
  };
</script>
966 Bytes in 3 ms with coderay