Displaying 20 results from an estimated 1000 matches similar to: "Bug in Effect.Highlight ?"
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 Jun 19
13
PNG and Alpha-Transparency
Is there a prototype / extension which will assist in cross-browser support
of PNG images?
http://www.alistapart.com/articles/pngopacity/
It seems to me that a class could be developed which would zip through the
DOM and make changes where needed for IE 5.5 / IE 6.0 to handle PNG images.
I don''t want to write one if it''s been done before.
Sam
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
2008 Jun 20
3
problems using effects.morph && effect.appear
Hi,
i wrote a sliding navigation using effect.morph and effect.appear. I
don''t know why but there are a couple of problems:
1. effect.appear seems not to work in IE6
2. The effects aren''t really "smooth".
3. When using effect appear. The new element triggers onmouseover the
onmouseout function....
It''s a small script:
www.rhizom.nl/volkan/scriptalicous
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
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 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 Jun 15
12
Why such bad performance with IE ?
Regarding DragDrop
I am wondering what the deal about Internet Explorer 6 is. My application is
near to final and now while testing browsers all but the IE6 are running as
supposed to. Any other browser is performing smooth movement while IE
compared provides a very bad expirience. I''ve seen some "tuning" infos on
this list but they are either outdated or not actually working
2006 Mar 09
2
handling events: mouseover, etc.
I''m having a hard time figuring out how to handle mouseover events w/
Ruby on Rails (esp. whether Javascript takes over, or the Controller
should be used).
I''m currently trying to create a simple mouseover info box showing the
definition, and some other information, when certain words are
moused-over.
Say I have an array of Word objects that have 1) word name 2) definition
2008 Mar 05
6
Prototype Observe Links (Mouseover)
Hi all,
I''am new to Prototype and after a 2 hours of research I didn''t find a
solution for the following question:
I have the following list:
<ul id="navi">
<li><a href="/about/">Home</a></li>
<li><a href="/about/" class="dropdown"
onmouseover="showSubnavi(this)">About</a>
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 May 24
1
link_to_remote, image_tag, mouseover is this possible?
Hi guys,
I was wondering if you are able to have a link_to_remote, having an
image_tag and the link_to_remote has a mouseover event that updates a
div. Does the image_tag need the mouseover event? I currently have:
<%= link_to_remote(image_tag(@p_image.public_filename(:thumb)), :update
=> "big_pic", :onmouseover => {:action => :color_change, :id =>
@p_image.id})%>
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 Mar 03
3
Ajax.InPlaceEditor - disabling the yellow highlight?
Is there a way to disable Ajax.InPlaceEditor''s yellow rollover highlight?
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
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 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:
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
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question..
I often crash my Safari when using ''Enter'' on InPlaceEditor''s for
submitting.
Works fine on firefox(win & Mac) - no javascript errors.
Anyone else seen this behavior?
(Maybe it is just my alterings of InPlaceEditor :-)
Best Regards
Michael Krog
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