similar to: newbie: Example of using prototype window class

Displaying 20 results from an estimated 60000 matches similar to: "newbie: Example of using prototype window class"

2007 Jul 17
0
Error when prototype.js is loaded
I have some javascript on my page which contains an array for a menu. Without protoype.js loaded, I don''t receive any js errors. However, once I load prototype.js, my code for my menu shows an error. This area was coded prior to implementing prototype.js, so it is not dependent on prototype, but other site functions will be. Here is the error that I get: invalid quantifier +);}); }
2007 Jan 22
1
Prototype.js object.constructor exception
I''m trying to debug an a uncaught exception: Permission denied to get property Object.constructor error. I have some code like this: myObject.js ------------ function myObject (arg1, arg2, arg3) { //does some constructor related stuff } myObject.prototype.createSomething = function() { // do more boring stuff // return an Array; } manager.js ----------- var fakeHashMap = new
2006 Apr 05
6
Help with new EventSelectors in prototype
Hello, I can''t seem get to work the newly inctroduced EventSelectors of protoype. I downloaded the latest release via SVN. And included both prototype and scriptaculous. This is a short extract of my test: <body> <div id="footer">This is a footer</div> <script type="text/javascript"> var Rules = { ''#footer:loaded'':
2006 Jul 17
0
Is there an example of using "Prototype Window Class'' with rails?
I feel like a bit of an idiot asking this but does anyone have an example of http://prototype-window.xilinus.com/index.html being used in rails. Should I try and feed it through page.call using rjh. Like this: page.call (''win = new Window("window_id", {className: "mac_os_x", title: "Sample", width:200, height:150});win.getContent().innerHTML =
2006 Mar 25
1
Prototype Window Class v0.5
Hi, I have developed a Window class in Javascript based on prototype library. It allows you to have resizable window in your web page. You can change easily the look and feel and use script.aculo.us effects to show and hide windows. Download, documentation and samples are here: http:// blogus.xilinus.com/pages/javawin Feel free to use it. Thanks Seb
2006 Jun 30
0
Prototype Window Class v0.95
Hi I have posted an new releases of my Prototype Window Class (v0.95): http://prototype-window.xilinus.com . This version allows you to set window/dialog contents by using an Ajax requests. This is cool because you can create content in a partial having all the power of Rails to do it. Seb
2008 Feb 05
0
prototype-1.6.0.2 Newbie Why is AJAX.request fired 3 times?
Hello list! I am taking my first steps with AJAX and decided to give prototype a try. - I add a reference to the script to my page - Then somewhere near the bottom of the page I fire up: new Ajax.Request(''ws_adrestype.php'', { method:''get'', requestHeaders: {Accept: ''application/json''}, onSuccess:
2005 Nov 25
0
question on rails , form_remote_tag and backbase
David, I been reading your book and going through the examples but i am stuck on th using the form_remote_tag. I am using the Backbase ajax framework with rails and protoype.js The following form.rhtml file <% if @guess %> <p> It seeems ''<%=h @guess %>'' is hardly the right answer</p> <% end %> <%= form_remote_tag(:update =>
2005 Sep 15
1
Javascript object literals -- prototype clash?
I''ve been playing with some ideas in getting the server-side Rails code and client-side AJAX stuff working nicely together while still providing fallback for non-js viewers. I''m using Behaviour + prototype. I was experimenting with using an object literal to define forms that would be inserted into appropriate divs. Why not just write the forms on the server side and unhide
2006 May 23
4
Version 0.80 of Prototype Window Class
Hi I have just posted a new release of my Prototype Window Class (http://blogus.xilinus.com/pages/javawin) Seb
2006 Mar 29
6
Prototype Window Class 0.6
Hi I have just released a new version of my Prototype Window Class included modal windows and a lot of stuff that some people send me, thanks to all of you guys for your support. Seb
2006 Apr 04
1
Prototype Window Class 0.65
Hi I just want to say that I have done a new release of my Prototype Window Class ( http://blogus.xilinus.com/pages/javawin ) I added few things according to a lot of emails I got. Not sure if it''s the correct mailing list to use. If not let me know where I can post this announce. Thanks Seb
2006 Apr 16
0
Prototype Window Class v0.70
I have released a new version of my Prototype Window Class (http:// blogus.xilinus.com/pages/javawin) - Add autoposition in setContent. The window will be at the exact element location - Add draggable/closable parameter if you need to specify is the window is draggable/closable or not - Add parent parameter if you need a specific parent element of the window instead of body (useful for
2006 Mar 13
2
Prototype ajax/javascript q
I''m trying to send to my application the coords x,y on an "input type image" in a html form, but x,y variables are not present in the POST_DATA (are not submitted). Any other field (hidden inputs) are being sent when I click on the image input form field. I use rails 1.0 and prototype 1.4, browsers Seamonkey 2.0, Firefox 1.x and Konqueror, Linux, and I''m just a
2006 Jun 12
6
Prototype Window Class v0.85
Hi I just want to annouce a new release of my Prototype Window Class with a new website with full documentation and new samples (I hope it''s easier to understand now :)). http://prototype-window.xilinus.com/ Thanks again to all of you guys for your help. Seb PS Dj T, have you finished your Rails plugin?
2005 Dec 16
6
extending prototype''s classes
Hi, I''m relatively new to javascript programming, and OOP in general, so please be nice to me ;) My question is: I''d like to extend the Form class in prototype to have a Disable function that will disable all of the fields in a form. I''ve already written a function to do this, but I''d like to include it in my own library so I can access it easily and also
2005 Sep 25
1
Prototype "classes" and inheritance
JavaScript doesn''t (yet) have a notion of classes. Prototype.js just adds a suitable convention for implementing them. It provides a way to create a new class by extending a base class using Object.extend, but it doesn''t handle method inheritance. There are ways of doing implementing this through traversing the chain of prototypes, but I''m not sure they are
2008 Jan 16
1
IE5.5
Hey Rails, Prototype and Scriptaculous peoples. I love all three frameworks, my only concern is Prototypes lack of support in IE5.5 Is there really too much of the framework that IE5.5 can''t handle or is simply a design decision not to support it? I want to push web standards forward, but unfortunately there''s simply stil too many IE5.5 users to ignore. The incorrect box model
2010 Jul 12
1
newbie: what is preferred approach for including javascript files?
Hi, What is the cost of not cacheing javascript? If that cost is serious, do I prefer to selectively include javascript files only for view where they are needed? In other words I see four options: 1) Cache everything in layouts/application.html.erb and don''t worry about selective inclusion of .js files where they are needed; 2) cache some things in (e.g., dependencies like jquery) and
2008 Jan 31
7
Ajax.InPlaceEditor via PHP via prototype widows class = HELP :-)
my window comes up fine and builds a page from some PHP which is all kosher. this is what the source of the "window" looks like: ----------------------------------------------------------------------------------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">