Displaying 20 results from an estimated 10000 matches similar to: "Prototype: Possible bug in Element.positionedOffset?"
2008 Mar 15
0
Prototype viewportOffset browser problem
hi folks,
i have a problem with the Element.viewportOffset() method.. here''s a
little demonstration script ->
http://audiovandalen.com/dev/scripttests/viewport/
if you hover the first row of the table its viewportOffset().top says
101
now, if you scroll down to the end and hover row #3, it also says (and
should respectively) 101, because its there where row #1 was before..
this
2006 Feb 03
0
Contribute: Center extension to Prototype''s Position object
If anyone is intrested, i was hardly missing such a feature in prototype
(for displaying well formatted error dialogs and things like that):
Position.center = function(element){
var options = Object.extend({
zIndex: 999,
update: false
}, arguments[1] || {});
element = $(element)
if(!element._centered){
2008 May 30
7
Styling an Anchor Tag With Prototype
I have a question: How do you style the various components of the
anchor tag? I am doing it this way:
$$(''a:link,a:visited'').each(function(link){ //links
link.setStyle({ color: ''#''+$F(''cp4_Hex'') });
});
$$(''a:hover'').each(function(link){ //links
link.setStyle({ color: ''#''+$F(''cp5_Hex'')
2006 Apr 26
0
RE: DOM events not firing in IE6 with floated di vs
Yea that''s what I am seeing also.
Think I got round this before by turning the structure into a table :(
Andrew - Thanks for your input..
> -----Original Message-----
> From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
> Behalf Of Andrew Tetlaw
> Sent:
2007 Mar 13
3
Prototype question invalid error in IE6
Hi, I''m new to using Prototype and script.aculo.us. I''m trying to use
prototype to adjust an elements top margin based on the height of the
screen. I''m also using script.aculo.us to make the element move
negatively off the left of the window to create a scrolling effect. It
works fine in Firefox, but I keep getting an Invalid argument error in
IE6.
Here my margin code
2006 May 16
4
Positioning
I''m trying to understand the Position object. Specially the various
offset methods. From looking at the code I think I may understand them
but I wanted to run it by the group to make sure I had a clear
understanding.
realOffset - This returns the coordinates of the element as if none of
the elements on the page are scrollable from the document edge.
cumulativeOffset - This returns
2005 Nov 11
0
Re: Rails-spinoffs Digest, Vol 6, Issue 17
Hey I got a question regarding sortables. I can drag and drop the items on a
page to different locations. But when I refresh the page the contraols are
goin to their inital positions. Is there any way that I can make them stay
in their new positions even after post back (refresh)??? Thank you.
On 11/11/05, rails-spinoffs-request@lists.rubyonrails.org <
2007 Apr 04
2
Is Element in Viewing Range
How could I tell if an element is visible? Not visible as in the css display
property, but visible in the browser''s clipping area. So if I had a long
list of columns and wanted to know if the user has to scroll horizontally to
see the last one.
Thanks!
Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2006 Jun 16
0
Element.scrollTo
Is it posable to use Element.scrollTo(''id_target_object'') to scroll
to a spot in a DIV tag with overflow set to scroll???
I am unable to get this to work at all in my tests.
______________________________________________________________________
Alex Duffield . Principal . InControl Solutions . http://
www.incontrolsolutions.com
2006 Sep 14
1
Prototype on Windows CE .NET V4.2 - suppose to be IE6
Anyone tried this.
I tried a quick page and works with firefox, ie on xp, but on on CE
Any thoughts.
According to MS its ie6
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
2006 Nov 24
1
prototype crashes IE6
IE 6 SP1 crashes on pages with prototype.js
AppName: iexplore.exe AppVer: 6.0.2900.2180 ModName: kernel32.dll
ModVer: 5.1.2600.2945 Offset: 00012a5b
It''s suggested that TextWare''s QuickFind BHO is causing the crash and
that uninstalling it does the trick! I wan''t to find exactly what part
of prototype is causing this...
My findings will end up here and on
2008 Jun 05
0
Javascript & Scrolling
I am currently in the middle of creating a horizontal scrolling
product list with page buttons that use effects to scroll from one
page to another using scriptaculous.
I am having problem that when the window is resized, so only the
viewable area of the div changes, this causes the width to change and
then because of that the scroll effect will scroll to position 2000
but then when the scroll bar
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:
2008 May 30
1
Prototype doesn't work if we have swf content on the same page
I having to many troubles with prototype and scriptaculous when i have
object tag to embed swf content on webpage. First it conflict with
adsense and the page can''t be showed on IE6, fine, i remove adsense
banners. But my lightbox galery(maded with prototype) doesn''t work if
i had swf content from youtube...
Some body can help with this problem?
I''m starting hate
2006 Sep 06
1
Scroll option for Sortable.create
I have been unable to get the scroll option to work properly. I am
setting
Position.includeScroll Offsets? = true;
in my script prior to calling Sortable.create and overflow:scroll is
part of my div container class. The scroll bars appear and I am able to
add/remove items, but the automatic scrolling (as described in the
documentation) does''t fire. In others word, the container
2006 Nov 23
3
Prototype Safari onSubmit Issues
Hi folks. Another Prototype question.
I have a simple ajax form which I want to return results on an
onChange. Works in IE6 (Win) and FF, but Safari doesn''t seem to take
the onChange too well. Upon the return key, it blanks out the form.
Upon tabbing to the next field (actually the next form), I get the
results.
<form name="form1" id="form1"
2006 Mar 22
1
RE: Support for window scrolling for draganddrop
To answer my own question, yes. I looked at the trunk and it passes the
option on from Sortable.
Greg
> -----Original Message-----
> From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-
> bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Gregory Hill
> Sent: Wednesday, March 22, 2006 12:51 PM
> To:
2006 Jan 18
0
Behaviour & Effect.Highlight?
I''m having a problem with Effect.Highlight and a simple Behaviour rule.
In brief, I have a Sortable list. Using Behaviour, I add a hover effect
(apply a style on mouseover, remove style on mouseout). The styles contain a
border color and background color.
var myrules = {
''.sortable li'' : function(element){
element.onmouseover = function(){
2007 May 11
1
Using the hoverclass option with DragDrop
Hi everyone,
I''m making a shop website for a class I''m doing and I''m trying to
implement drag and drop capability. I''ve got the dragging part
sorted, but I''m struggling with the dropping.
When I hover the item over the droppable area, I want the area to
change colour, and if I hover away from it, have it change back. Do I
do this with the hoverclass
2008 Jul 03
0
Droppable focus? problem
Hi!
I have a div called Div1
I have a style #Div1:hover that changes the background color to Div1
(want to see if the hover event is fired)
I make Div1 Droppable with a hoverclass that adds a border (to see the
hover event too)
Then if I put the mouse above the div''s background color changes as
expected (I could deduce that the z-index is not a problem)
If I put a draggable above it,