Topic: removal of menu bar on homepage help
hello
how do remove the menu bar froim the homepage view in ruby and how do u get the links vectical underneath each other on the left hand side. here is the code i know and have to work with.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%= @title %></title>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<%= stylesheet_link_tag 'default' %>
</head>
<body>
<div id="page">
<div id="header">FakeBook</div>
<div id="nav">
<%= link_to_unless_current "Home", :controller => "site",
:action => "index" %> |
<%= link_to_unless_current "About", :controller => "site",
:action => "about" %> |
<%= link_to_unless_current "Help", :controller => "site",
:action => "help" %>
</div>
<div id="content">
<%= yield %>
</div>
</div>
</body>
</html>
and would i have to remove anything from the application view.
thanks
Last edited by Aqua (2009-08-23 15:46:18)