similar to: document.viewport API documentation failing

Displaying 20 results from an estimated 90000 matches similar to: "document.viewport API documentation failing"

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
2007 Oct 03
1
Form getElementsByTagName("*") is empty
I''m having problems serializing a form. I''ve narrowed the problem down so that if I break in Prototype''s getElements function, and trace into the $A that makes an array of the return of $(form).getElementsByTagName("*"), the iterator doesn''t contain any elements. However, looking at the form variable in FireBug shows all the elements I''d
2007 Apr 13
2
Is JavaScript JSON Hijacking problems present/considered in Prototype's coming release?
I sort of let things loose on Prototype''s growth for awhile - yet, as the article (found here: http://webreflection.blogspot.com/2007/04/are-130-byte-enought-to-solve.html) came before me, the question arose: ''is the issue considered in Prototype?'' I couldn''t find a bug regarding it: the one in German isn''t counted. ) So I roll it in here. Please
2008 Jan 31
0
Element.Fire on window.parent.document from iframe (fails in Opera)
I wanted to create an iframe that could be included on any page for uploading images, without determining the parent behaviour at all from within the iframe. The iframe include just checks if there was an image loaded, and does this to pass upload information to the parent (this only fires when an image was uploaded): $(window.parent.document).fire(''image:uploaded'',
2008 Jan 16
1
Small doubts with clonePosition, Keypress and this
Hello Guys, I comes to try to clarify some small doubts, I''m trying to create a function that, if I positioned over this, create a box around the cell, but I don''t want to alter values of style, I think that a good way is create a floating table with the same dimensions, to do this, I found "Position": overlap but says it''s obsolete, then I found clonePosition
2007 Jun 09
1
Element extending problem
Okay, I posted about this a few days ago but couldn''t replicate it in my test case. I have this page, which everything works fine on... except some of the prototype methods. They do not appear to exist on an extended Element. ie: Element._extended = true Element.up = undefined Element.addClassName = function Element.getElementsBySelector = undefined I''ve been trying to figure
2007 Oct 23
0
drag'n'drop or sortable
Hi, I''m a newbie and have a little problem getting into scriptalicious: I''d like to convert the items of a drop down list into draggable objects - they should be only draggable but not sortable. They should be draggable onto another box but in there the items should be automatically sorted by the numerical id''s and not sortable by the user. I looked through all the
2007 Feb 06
0
sortable + ie6 : background tends to disappear
hi all, i use sortables in a project, and it seems to have the following issue in IE6: while and after dragging the background pictures vanish... a simplified demo can be found here: http://files.caillou.ch/script.aculo.us/ i searched in the group, but couldn''t seem to find a solution. does anyone have a suggestion? greetz ... caillou
2007 Aug 29
0
Viewport size Q for those with a widescreen Mac.
At the moment I''m short of access to a widescreen Mac. I''m trying to find out what the pixel size of the viewport is on Safari when you have it maximised with tabbed browsing and the standard set of buttons, menus and toolbars in place. I''ve done the same exercise on Firefox and IE7 on Ubuntu Linux and Windows, and for a nominal 1280x800 widescreen display you get a
2008 Feb 10
3
Ajax.Request evalJSON document.write hangs
I''m not the best when it comes to javascript so this is probably a simple mistake. I''m using the following code to read an external json file and print out its values. The problem is when I try to write the value to the browser it causes the browser to load like it hasn''t finished the javascript code. Its writing the value to the screen so I think its hanging after that
2007 May 24
0
IE6-7 Observe Document Oddity - mouseup
I''ve come to the recent need to know when the scrollbar has been grasped and let go. However, I''ve worked my way into a corner using Event.observe on the document (window wouldn''t work for me at all in Internet Explorer 6 & 7). Oddly enough, it works for mouse down... just not up. I''ve attached a simple functional test file. Expected Results:
2007 Apr 17
4
close a div when click out of the div
Hi. I have this question: I have a page with more ugual "GIF" (say ?/Help gif). When I click on one of this giv a "DIV" is showed (one for each gif). And when a div is showed the last div "showed" there must "hide". Ok, no problem. I have do it. My problem is that the div that is showed in this moment must to "hide" when I clink into the document
2008 Feb 15
2
Where to report typos/bugs in the Prototype API online docs?
I was wondering where to report typos/bugs for the Prototype online API docs (http://prototypejs.org/api)? Seems a bit overkill to submit typos to the Rail Trac - but perhaps that''s the correct place? Additionally, the website indicates that this documentation is written in Markdown. Is the documentation from which the online API is generated in SVN? I saw a documentation branch
2007 Nov 09
1
Prototype API Docs inconsistency
Hi, If you follow those two links (watch the case difference) : - http://www.prototypejs.org/api/element/getElementsBySelector - http://www.prototypejs.org/api/element/getelementsbyselector You''ll see that the first one does not indicate the 1.6 deprecation even though it is the same method. I guess those docs where generated, so the problem might exists elsewhere in the docs. Thanks
2007 Oct 16
3
hide is not a function
I''m using FF2 + prototype 1.5.1 this small line is giving me a problem: $$("#splash- description .buy").hide(); Firebug says this: $$("#splash-description .buy").hide is not a function if I use a single $ the the hide() function seems to work... why is this function now working for the double $$? Stefan --~--~---------~--~----~------------~-------~--~----~
2008 Apr 07
5
trying to use Ajax.InPlaceEditor
Hi, I''m programming a Ruby on Rails project where I am on the edit page of /boxes/1/edit and I''m trying to make an InPlaceEditor for the color property. (E.g. red box, blue box, etc.) My problem is that after successfully saving the value in the database, the response I get from the server is javascript, and it''s being rendered in the place where the updated value is
2007 Apr 05
3
Trying to get drag and drop to revert when I want and stay at other times
Here''s the deal. I''m making an ajax-based chess game. It''s done but there''s something I''d like changed. Right now, to move pieces, you click on the piece you want and you click where you want the piece to go. People expect that, but they also expect the ability to simply drag and drop the piece. So I''ve been using the draggables and droppables,
2008 Mar 21
3
getElementsByClassName
I know this is deprecated in 1.6, but my question is how do I properly use the native browser implementation? Do I need to change my code? I''m having a difficult time finding examples on this. Why is this deprecated instead of incorporated into prototype? Or did I answer my own question... Also, I want to utilize the new document.querySelector. Has some one implemented this inside
2007 Dec 03
3
DOMContentLoaded error on IE6
Hi, I am loading prototype dynamically using the following js: var scr=document.createElement(''script''); scr.setAttribute("type","text/javascript"); scr.setAttribute("src","./static/js/lib/prototype.js"); document.getElementsByTagName("head") [0].appendChild(scr); on IE6
2006 Dec 06
5
Content overlapping IE7 scrollbars?
Hey all, I''ve Googled and searched for this answer numerous times, but can''t find it. Apologies if this has been posted here before. I have a frameset in IE7 with a top and bottom frame (I know... frames suck. No choice here). The bottom frame is where all the action is, specifically, a portal with draggable (sortable, actually) portlets. Anyway, I get this funky problem