Displaying 20 results from an estimated 9000 matches similar to: "dropdown menu based on unordered list"
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
I just realized I made a mistake... in the first numbered solution, the
!= should be ==
________________________________
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Ryan
Gahl
Sent: Wednesday, January 11, 2006 2:28 PM
To:
2006 Jan 11
0
RE: Event.observer - unordered list problems
Hi Marco (I forwarded this also to the mailing list and removed the
picture as it wasn''t necessary to include to the mailing list so
everyone can hear the general techniques),
I recently had a very similar problem with my project. The problem
arises because whenever you move the mouse to ANY element, the previous
element that the mouse was over gets a mouseout event, even if it
2005 Dec 08
6
Bug in Effect.Highlight ?
Hi All,
I''ve just discover scriptaculous and it is a really good library. Even
if I have some difficulties with short syntax in javascript code :/
I have a strange behaviour with Effect.Highlight, and as it''s said on
bug report page :
"It''s also a good idea to discuss this on the Mailing List beforehand,
maybe it''s already known and in the works, or it
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
1. Create a separate class that has your highlight/unhighlight behavior
in it, and extend just the element you want to highlight with that
class... like this (also allows you to easily apply this behavior
elsewhere when you need it in the future):
Object.extend(this.el, HighlightBehaviorClass.prototype)
2. When defining your event handlers, assign them to variables so you
have a
2006 Mar 04
0
Question about event listener highlighting with child elements
I have created a JavaScript object which is initialized for some input
fields, fieldsets, and divs on the page. With each object i attach a
mouseover and mouseout event that highlights and un-highlights. Also on
mouseout i am trying to display the id of the object to a console. The
highlighting works except for cases when an object is the child of another
object. In this case both are highlighted
2006 Jan 18
2
Event.stopObserving and anonymous functions
Hi all,
I'm using behaviour(.js) to add event handlers to all the table cells
in a table (mouseover, mouseout, clickk). However, I'm also ditching
the table and replacing it with an Ajax.Updater so I want to remove
all the observers before I lose them. Unfortunately, the Event.observe
calls were written as inline anonymous functions so, when calling
Event.stopObserving, I'm supposed
2005 Aug 31
0
Event listener problems
I''ve been using the bindAsEventListener function and registering
various events I want to monitor and have had some problems which
might be of interest.
First I have been having a crash on Safari 2.0 and 2.0.1. The
logical place to call Event.stopObserving to de-register the listener
is actually within the listener once it has finished its task. eg
register a mouseup listener
2008 Apr 16
3
non-bubbling mouseover/mouseout
First, I have only played with Prototype for about a month, so I don''t
know it well. Second, I am more of a server-side programmer than a
client-side programmer.
In my page, I have a div that appears as a result of a link mouseover
event. This div is nested within another div that houses everything
(id = ''menuContainer''). I want the resulting div (which is a submenu)
2005 Nov 08
1
Event.observers - I''m totally list - please help
Hello,
I need some help on how to use the Event.observers - thank you in advance
for your input.
<div class="navcontainer">
<ul id="nav">
<li class="button">
<img src="images/spacer.gif" width="20" height="20">
</li>
<li class="button">
<img
2006 Feb 03
2
Scriptaculous: Newbie question - Effect.fade
Hi there,
Is it possible to do an effect.fade without removing the hidden document
from the flow when in becomes invisible?
I have a line of images (initially all invisible)
[] [] [] [] []
And a list of links
- link 1
- link 2
- link 3
- link 4
- link 5
And what I want to happen is to have the images appear on link mouseover
and disappear on mouseout but for the images to maintain their
2008 Jun 03
7
Iframe shenanigans
Here''s my problem. Unfortunately I have the need to load up fully
qualified html documents
into my page. (think tens of thousands of mini sites). I also have the
need to be as handicap accessible as possible. (So ajax is essentially
out, screen readers aren''t up to snuff yet). Thus I''m using an iframe.
The unfortunate part
is that I have navigation menus that appear over
2006 Feb 09
3
Draggables and Droppable performance (tips)
Hi all. I have some performance tips to share. I had been having
problems with the overall performance of the drag/drop objects. This is
due largely to the fact that my project really pushes the limits
(potentially thousands of draggables and hundreds of droppables in the
document at a time, although that is the extreme case).
Something I discovered is that the performance of dragging goes WAY
2007 May 11
15
Simulating onmouseleave and onmouseenter with Prototype
Hello.
I spent an hour or three chasing down a desired effect that mootools
implements, namely the simulation of onmouseleave and onmouseenter
events.
Why?
Lets say you have a Menu. A ul element that contains many li elements.
If you want to have a function (maybe an effect) fire when the mouse
moves outside of the ul, you are out of luck. Observe the mouseout
function like so:
2006 Feb 17
7
Released: window dialog script
Hello,
First, please let me thank you to Ryan Gahl and Jerod Venema for their
patient help - really appreciated their input - I couldn''t have done this
script without their support.
Today I released a dialog script based on scriptaculous and prototype. A
demo can be seen here: http://net4visions.com/dev/dialog/dialog.htm . Please
see the readme and changelog file for details. Your
2006 Feb 27
0
RE: FW: Calendar widget
Perfect, thanks Marco, great help! Now, why didn''t I think of that? Lol!
-----Original Message-----
From: Marco M. Jaeger [mailto:mail-yVS5avHIROZWk0Htik3J/w@public.gmane.org]
Sent: Monday, February 27, 2006 2:02 PM
To: ''www.dhtmlgoodies.com''
Subject: RE: FW: [Rails-spinoffs] Calendar widget
Thank you Alf - I appreciate your fast response
Marco M. Jaeger | Url:
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 Oct 29
1
scriptaculous: fade out then in.
I''m pretty new to javascript, and scriptaculous, but I know what I want
to do.
I want to make it so that when a person clicks a link, the previous
content of the div fades out, and the new content fades in.
This is what I''ve got for my function:
<script type="text/javascript">
//<![CDATA[
function loadmerch(im)
{
new
2006 May 03
3
My Tooltips contribution
All --
I've been working on a simple tooltip widget and thought I'd release
it into the wild. It builds on the features found in Prototype 1.5.0
RC0 and Scriptaculous 1.6.1.
Very basically, it walks down a list of links and if they have id,
href and title attributes, displays a tooltip on mouseover. Styled
with a few lines of CSS and background images.
You can demo it here:
2007 Jul 27
0
JSON instead of unordered list in Autocompleter
Hi
I was wondering if anybody knows of an extension to the Autocompleter
that would allow us to send a JSON object from the server rather than
an unordered list?
How hard would it be to implement something like that?
Cheers,
Tench
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Apr 27
0
Dropdown list to populate drag and drop sortable list
I''m listing bands playing shows. I want to be able to add and sort the
lineup for each show in a single form. Users select a band playing
from a dropdown list, which (using Ajax) adds the band to an unordered
list which they can then re-arrange.
Are these any tutorials online that cover this? Or can anyone shed any
light on it?
I''ve used a modified version of Cody Fausers code