similar to: Pop up menus - any ideas?

Displaying 20 results from an estimated 1000 matches similar to: "Pop up menus - any ideas?"

2006 Mar 31
7
Checkboxes expand to show new options when checked?
I''m writing a simple CMS where every item ("listing") HABTM categories and subcategories (which themselves belong_to a category). What I''m trying to do now is create a UI effect for listing creation: when you go to create a listing, only the possible categories will be shown, but when you select a category a set of new categories will be displayed like so: Lions
2006 Apr 11
2
Finding items from two models - then merging them
I have a model, listings. Listings habtm categories and subcategories, which are seperate models. What I want to do is search categories for certain items, like so: @categories = Category.find(:all, :conditions => ["name LIKE ?", "#%{:search_string}%" and subcategories for the same: @subcategories = Subcategory.find(:all, :conditions => ["name LIKE ?",
2006 Apr 15
8
Inheritance in Rails - I need some help
I''ve got a model, "category" and another model "subcategory." Each subcategory belongs_to a category, and a category has_many subcategories. What I need to do is set it up so that I can search Category and Subcategory with one .find call. So: Category.find(:all, <etc) will find categories and subcategories. Now, I believe this can be done by making
2008 Dec 25
5
One question about Dynamic Select Menus
Hi all, Merry X''mas first :-) I have "Product","Category","Subcategory" 3 Model, and when new "Product", I want to use "Dynamic Select Menus" just like Ryan mentioned in http://railscasts.com/episodes/88-dynamic-select-menus I have everything down. But when I visit the js file, I got following error Showing
2006 Jun 20
4
Invoking MouseOver using link_to tag ?
Hi, How can we trigger a JavaScript built in function from a <%= link_to %> ie. i have the below statement in my view. I want to invoke a JavaScript function on "MouseOver" of this below text (''TestingMouseOverEvents''). <%= link_to "TestingMouseOverEvents" , :controller => "login", :action => "logout"%> Note: The
2006 Jun 16
5
Menu using Scriptaculous Effects = OnMouseOver bug
I am trying to achieve a Flash-like menu with OnMouseOver effects on 3 divs below. Unfortunately, the javascript resets when the mouse is rolled over the text and if you go mouse crazy on the divs, the script seems to remember where it cut off, and doesn''t roll down completely afterwards. Is it a good place to ask for help? I couldn''t find any Scriptaculous forum (only
2006 Jan 15
13
Hotlinking an entire row in an HTML table
Hi, This seems simple but I cant get it to work... I have a table with 4 or 5 columns and 20-30 rows. I''d like to have the ability to click anywhere in a particular row to fire an action, such as bringing up a "Details" page for the clicked row. This would eliminate the need to generate a "Details" link at the end of every row, which is what I have now and looks
2006 Mar 30
5
Heeelp - no idea what''s going wrong.
I''m working on a simple CMS. The main data type are "listings" a listing habtm (has_and_belongs_to_many) categories and subcategories. Subcategories belong_to categories. Subcategories are basically the same as categories, but they are treated differently in a few situations. The problem is, I can''t seem to write the view/controller/model code that allows me to
2005 Oct 16
1
blindup and blindup confusion
here''s a basic question. i have an h2 element and i want onmouseover to show a div using blinddown; i also expect onmouseout of the mentioned div (but not h2) to have effect blindup to get rid of the div. so i set up: <h2 id = "show" class="show">Show div</h2> <div id = "out" class = "out" style="display:none">some
2006 Jan 06
3
image replacement (new Effect.*****) problem
Here''s what I''m trying to do. I have two divs, one holds about 20 small images of products and the other holds a single large image of one of the products. I''m trying to use the jazzy "new Effect." way of changing images but I can''t seem to get it too work. My script is replacing the image and then making the element disappear. What
2005 Oct 31
2
Inplaceeditor and a tooltip on mouserollover?
on mouseover when using inplaceeditor it highlights in yellow. Great. However, I want to also show a tooltip inside this div on mouseover. Specifically, when a user is over editable text, besides the yellow background, I want to display next to it a "delete" link. One of the things I''ve tried is this: <script language="JavaScript"> new
2006 Jul 10
2
inline javascript in partials
When rendering the following partial, the <script> block isn''t getting rendered at all. Does rails strip this out or is it some limitation of the browser? <% remote_options = { :update => update, :with => "Form.serialize(''#{form}'')", :url => { :action => "process_multiple" } } %> <% do_before ||= nil %> <% click_fn =
2006 May 07
2
Category and subcategories in database
I have a project I''m trying to decide if I want to use rails for. I''m new to rails, so I''m not sure how easy it would be to implement something like this using ActiveRecord. Here''s the situation: Category > subcategory > subcategory > product Category > subcategory > product Some categories will have many subcategories, others few. I want
2009 Oct 15
10
AJAX - how to have multiple select form sets implemented?
hi, there :) Consider a blogging application whereby a user is trying to add a new blog. He/she has to select a category. Upon selecting a category from a drop down box, a new sub categories drop down box will be created (hence an AJAX call). Got this implemented and it''s ok. Now, let''s assume that a given blog can have multiple categories (and subcategories). For example, a
2006 Jul 23
3
Newbie: Display hierarchical Records in a view
Hi, I have two models: category and subcategory. (one to many relationship), and a controller ''home'' I''d like to display all the categories and their sub categories in the view: home\index.rhtml. I have a method in the ''home'' controller'' like this: def list_categories @categories = Category.find(:all) end This list all the categories
2006 Jan 13
10
[Announcement] Google: Evil or Not?
"Google: Evil or Not?" is my first Rails webapp and I''ve just made it public at http://evilornot.info Do you still believe the ?Do no evil? Google mantra? Do you think Google Book Search, the AOL deal, and Larry and Sergey?s 767 point to Google losing it?s pristine morality and turning over to the dark side? Now you can discover what the world thinks and contribute your
2006 Jan 16
4
how di i stop a running effect?
Hi, i need some help with Effect.Appear/Effect.Fade i would like fade in and out an element on hovering an element(-> tooltip behavior), but when i''m using Effect.Appear/Effect.Fade both effects will continue to play and overlap each other, resulting in unpredictable behavior. <code> <button onmouseover="Effect.Appear(''test_div2'')"
2006 Aug 06
1
Newbie: populate 2nd dropdown list based on user''s selection in 1st dropdown list
Hi, I am creating a form that a user can post a message based on his selection on category and subcategory. (A category has many subcategories.) How do I dynamically populate subcategory dropdown list when user chooses a category from category dropdown list? Thanks in advance. -- Best regards, Ming Ma
2006 Jul 25
1
Feeling silly
I don''t know why, but I am drawing a complete blank on something that should be easy. I''ve been searching, perhaps using wrong terms, and still not coming up with anything. Here''s what I''m trying to do: <div class="button" onMouseOver=''this.className="button_hover"''; onMouseOut
2005 Jul 19
1
Grow (and shrink)
Hi, When is the Scale effect going to go back to being able to return an item to its original size? I loved that onmouseover, onmouseout combo. This is a terrific lib-- has made rethink javascript top-to-bottom. AR