Displaying 20 results from an estimated 40000 matches similar to: "build a menu (li.selected)"
2006 Jan 02
3
best to integrate dynamic navbar into layout
I''ve been trying to come up with a good way to integrate a dynamic
navbar into my layout. By dynamic, I meas that each link has 3 images.
Normal, rollover, and dark for the current page. I have it working but
it seems like there should be a better way. Here is how I did it,
please let me know if there is a better way. Rails makes so many things
simple, that this seems very
2005 Dec 15
6
Navigation menu
I have a navigation menu that contains a link per controller in my
application.
This menu is the same for all controllers, but I want this behaviour:
<a>Users</a>
<span>Statistics</span>
and
<span>Users</span>
<a>Statistics</a>
depending on the page you''re currently on.
I''ve put a <render :partial =>
2009 May 27
1
[PATCH server] UI tweaks for cloud
Initial styling for the cloud, added a few images
Signed-off-by: Jeremy Perry <jeremy.perry at redhat.com>
---
src/app/views/cloud/instance/index.rhtml | 2 +-
src/app/views/layouts/cloud/cloud.rhtml | 9 +-
src/public/images/mystery_cloud2.png | Bin 0 -> 1984 bytes
src/public/images/tab_bg.png | Bin 0 -> 174 bytes
src/public/stylesheets/cloud/layout.css |
2006 Mar 23
4
Implementing nested drag and drop using scriptaculous
Hi.
I have gone through the scriptaculous wiki. I am trying to implement nested drag and drop but not able to do this.
The situation is like this.
_____________________________
| abc | => Box1Line1
| cde | => Box1Line2
| efg | => Box1Line3
| h | => Box1Line4
2006 Mar 01
5
scaffold.css and Rails tutorial problem
In iteration D.1 on page 109 I am not getting a styled error message box
displayed at the top of the checkout as described in the tutorial and I
cannot seem to discover where I have erred.
The scaffold.css is copied from the pragmatic programmers site:
#--------------------------------------------------------------------
$ cat public/stylesheets/scaffold.css
body { background-color: #fff;
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello!
i got this forum powered by apache and mod_rails
lately when i create / edit posts, i get plain html text showing up
instead of the actual page.
here''s what i see:
--
Content-Type: text/html; charset=utf-8
Set-Cookie:
_mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL
%250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2006 Aug 03
3
HELP: multiple select list in ror
Hi
Search doesn''t seem to be working so my apologies if this has come up
before.
I have some simple code in a view that generates a multiple select:
<select name="menu_select" size="5" multiple="multiple">
<% for m in Menu.find(:all) %>
<!-- this needs to be abstracted in ror fashion -->
<option value="<%= m.id %>"
2006 Mar 30
11
Illegal char \002? Need to restart Rails to see changes?
Hi all,
I''m developing an app on a home Windows computer and using
SVN/Capistrano to deploy to a Linux server. I''m encountering some
bizarre behavior that I think has something to do with Linux and Windows
text file types, but I''m not sure.
What''s happening is that, whenever I edit my view files and reload the
page in my local browser, I see errors saying
2006 Mar 30
4
possible scriptaculous bug
I have two sortable lists, one after the other. I can drag from the first
to the second but not from the second to the first. The behavior is
consistent if n > 2. For example, I can drag from 1 to 2, 3 or 4 from 2 to
3 or 4 and from 3 to 4, but not in the reverse order: I can''t drag from the
4th list to anything (besides itself). From the third list I can drag only
to itself and 4.
2006 Mar 10
3
css question
I''m doing this ''partial'' to do some ajax auto_complete
<ul class="placements">
<% for client in @clients do -%>
<li class="placements">
<div class="clwholename"><%=h client.clwholename %></div>
<div class="id><span class="informal"><%= client.id
2012 Nov 06
2
rspec failure upon revisit
I just returned from a different project after taking a few weeks off of
my tutorial. I''m using Ruby on Rails 3 Tutorial - Learn Rails by
Example by Michael Hartl.
After rebooting my server I ran an rspec spec/ command to check to see
if there were any problems and this is what I received. I didn''t modify
anything except I did overwrite users_controller.rb and
2012 Dec 17
11
[Puppet Upgrade] Puppet agent does not work
I upgraded Puppet master from 2.7.6 to 2.7.20 on CentOS5.8_x86_64.
But when I tried to launch ''puppet agent -t'' on one of staging servers, the
puppet daemon did not work and got heaps errors.
I have no idea what made it wrong and how to fix it.
Retrieving plugin [0m
Failed to generate additional resources using ''eval_generate: Error 500 on
SERVER: <!DOCTYPE HTML
2009 Dec 23
3
Help with Navigation
I''m currently using CSS to style my navigational menu. I also have
jquery at my disposal. The basic structure is like this:
<div id="nav">
<div class="inner-container">
<div id="wrap">
<div class="inner">
<h2>
<span class="h-ico
2009 May 13
1
[PATCH server] Cloud UI V1 (readonly).
This patch creates the shell for much of what the cloud ui will
become. It is focused on layout (lightly fedora themed), accessibility,
and 'bookmarkability'. This layout uses no javascript (that will be
used to enhance interactivity in a future patch). It also introduces
the idea of using a simple table rather than the more conplex js/json
we use in the admin side. Plan here is to
2006 Jun 21
2
Using RJS to highlight one LI if using insert_html on an UL?
It seems common to use RJS for quickly adding and highlighting a list
that is having content added to it like this:
http://rafb.net/paste/results/Z3m32g48.html
... where "my_list" would be an UL and the partial would insert a LI.
Given that example, is there an easy way to highlight only the newly
inserted LI instead of the whole UL? The only way I can see to do it is
to give
2005 Jul 28
2
autocomplete: how to access a child element of <li>
hi.
i promise this will be my last question for the day.
still playing with autocompleter, everything is working ok, but i''m
having difficulties accessing just the href attribute of <a> element,
which is a child of <li> in the autocomplete response, i.e:
<div class ="autocomplete">
<ul>
<li><a href
2009 Apr 02
3
Generate static menus?
I want to stack three horizontal menus on top of each other, and also
define exactly what page will be in each menu. What files and syntax
do I use in webgen to accomplish this? I tried finding the answer here
and in the docs but could not figure it out.
I would also like to style each menu a bit differently if that is
possible. Actual examples especially appreciated!
Thanks!
2006 May 20
10
Changing the height of LI elements to achieve such an effect?
Hi Everybody,
I was wondering if there is such a work done with Scriptaculous/Prototype
before and if not how to achieve it?
Example : http://www.anatolip.com/
It is done with codes borrowed from moofx and his own codes.
Thanks in advance
Danial
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2009 Jun 29
2
One more fix
This resend includes the rebase, but fixes a problem I just noticed with nil/empty checks.
2009 Jun 29
2
Resend of Cloud UI/service patches
This is a resend of the 2-patch series from a week or so ago, needed to be rebased due to some commits on next