Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added navigation anchors and removed JavaScript.

  • Loading branch information...
commit 18fd04841cac9ffe4a4ebf0733d748b2e5df037d 1 parent aa0ad89
@tylerhunt authored
View
7 app/views/layouts/application.html.erb
@@ -4,18 +4,19 @@
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta name="viewport" content="width=400; initial-scale=0.755; maximum-scale=1.0; minimum-scale=0.6666" />
<title>BarCampOrlando Schedule</title>
- <%= javascript_include_tag 'prototype', 'application' %>
<%= stylesheet_link_tag 'application' %>
</head>
<body>
<div id="page">
- <h1 id="logo"><%= link_to 'BarCampOrlando', root_path %></h1>
+ <div id="header">
+ <h1><%= link_to 'BarCampOrlando', root_path %></h1>
+ </div>
<div id="navigation">
<ul>
<% Venue.find(:all, :order => 'id').each do |venue| %>
- <li><%= link_to_unless_current venue.name, venue_path(venue) %></li>
+ <li><%= link_to_unless_current venue.name, venue_path(venue, :anchor => 'schedule') %></li>
<% end %>
<% if session[:admin] %>
View
4 public/javascripts/application.js
@@ -1,6 +1,2 @@
// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
-
-window.onload = function() {
- setTimeout(function() { window.scrollTo(0, 1); }, 100);
-}
View
2  public/stylesheets/application.css
@@ -65,7 +65,7 @@ table td {
text-align: left;
}
-h1#logo a {
+#header h1 a {
background: url(/images/h1_background.gif) no-repeat;
display: block;
height: 120px;
Please sign in to comment.
Something went wrong with that request. Please try again.