search for: js

Displaying 20 results from an estimated 3343 matches for "js".

2011 Jun 12
3
What is someone trying to do?
...tand what the person was trying to do by what they were attempting to access. Can anyone explain a method to their madness? The whole things seems weird... Below -Jason ------ Requests with error response codes 404 Not Found /!document.body: 1 Time(s) /.exec: 1 Time(s) /.google-analytics.com/ga.js (http://google-analytics.com/ga.js): 1 Time(s) /.player.play: 1 Time(s) /J.cur: 1 Time(s) /Math.pow: 1 Time(s) /VideoJS.isIE: 1 Time(s) /a: 2 Time(s) /apple-touch-icon-precomposed.png: 2 Time(s) /apple-touch-icon.png: 2 Time(s) /blue_bg.png: 1 Time(s) /event.type: 1 Time(s) /favicon.ico: 4 Time(s)...
2005 Dec 28
6
Sudden Javascript Console noise in firefox
I have been using the latest version of Firefox and Scriptaculous for about a week now, with no problems. Now I get a lot of noise in the javascript console out of the blue: http://img481.imageshack.us/img481/7913/screen4nt.jpg -- ============================ Brian Peiris Brampton, Ontario, Canada brianpeiris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or
2006 Mar 29
4
Why doesn''t Rails 1.1 have all the Script.aculo.us 1.6 files?
Why aren''t builder.js, slider.js, and scriptaculous.js part of the Rails 1.1 javascripts? rab:javascripts $ pwd /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/html/javascripts rab:javascripts $ ls -l total 288 -rw-r--r-- 1 root wheel 148 Mar 28 08:56 application.js -rw-r--r-- 1 root wheel 28036 Mar 28 08:56...
2006 Jun 07
3
Including scriptaculous.js causes page to "hang"
When I say hang, I mean the browsers spinner keeps spinning and Firefox''s info bar at the bottom says "Transfering data from ...... " I''m just including the js like this: <script src="/js/prototype.js" type="text/javascript"></script> <script src="/js/scriptaculous.js" type="text/javascript"></script> which I cribbed from the demo pages anyway. If I remove the 2nd line, and just have proto...
2007 May 14
8
Problem with script.aculos.us script
I''m newbie to rails application. I like to use script.aculos.us script in my app. I faced the following problem. 1. first i creat my application. 2. Then I copied the files scriptaculous.js, builder.js, effects.js, dragdrop.js, controls.js and slider.js and prototype.js into my app/public/javascripts/ 3. Then included the <%= javascript_include_tag :defaults %> code into head section of my view file. 4. Then executed the code <div id="dragDIV" class="green...
2005 Dec 25
2
scriptaculous-js-1.5.0
I''m not a JavaScript guy, so please help me out. It''s my understanding that Rails 1.0 includes scriptaculous-js-1.5.0 But it seems to contain portions of, but not the complete library. Rails 1.0 includes 4 .js files, scriptaculous-js-1.5.0 includes 8. What am I missing? > tmornini$ rails --version > Rails 1.0.0 > > tmornini$ rails test | grep ''.js$'' > create public...
2007 Dec 11
0
Rails 2 doesn't include builder.js, scriptaculous.js, slider.js, and sound.js. Should I add them?
I''m upgrading the Scriptaculous files in my Rails 2 project to version 1.8. Rails 2 doesn''t produce builder.js, scriptaculous.js, slider.js, and sound.js in the Javascript folder by default, and the files it produces (controls.js, dragdrop.js, effects.js) don''t have a version number in them. If I''m replacing the default files with the Scriptaculous 1.8 versions, are any of the extra files...
2005 Sep 24
5
Load latency, file count, and a proposal
Hey All, So now that we''re up to 7 files, and hopefully more coming as the project grows, minimizing load latency seems much more important. Maybe it''s time to consider creating a single file distribution, much like what prototype.js is (a concatination of 6 or so other files)? re: packaging suggestions *) scriptaculous_only.js - all of the scriptaculous components w/o prototype *) scriptaculous_prototype.js - prototype + scriptaculous (Better names anyone?) re: caching - let''s avoid forcing it One can argu...
2009 May 31
7
[mapstraction commit] r11 - Added functionality to automatically load scripts needed.
Author: robert.moran Date: Sun May 31 11:13:23 2009 New Revision: 11 Modified: trunk/source/mxn.core.js trunk/source/mxn.js trunk/source/mxn.yahoo.core.js trunk/tests/index.htm Log: Added functionality to automatically load scripts needed. Allowed mapstraction default constructor to have provider omitted (will use first loaded provider). Minor change to yahoo implementation - syntax/sp...
2019 Jan 11
2
[asterisk-app-dev] Multiple ChannelDestroyed events for the same channel
Hiya, When I hang up on a call to my stasis app I’m getting multiple channelDestroyed events for the same channel: app.js:985:13) Channel was destroyed: 1547220509.77 app.js:1029:17) This was a customer app.js:1030:17) Checking if this was a customer talking to an agent app.js:1043:21) Customer was not talking to anyone app.js:1126:13) 2019-01-11 10:28:29 app.js:985:13) Channel was destroyed: 1547220509.77 app.js:1029...
2006 Mar 31
3
refreshing JS libraries on client?
Hi folks, So I''ve got this app built on prototype, with a bunch of extra JS classes to do what we want. Now the problem is, when I make a change to one of those JS files (or an upgrade to prototype itself), how do I ensure that the client browsers refresh their cache with the latest JS? Clearly I want the browse to cache the large JS files, but I also want that cache...
2011 Sep 06
8
Ajax and rails 3 UJS (jquery)
...ipt. For my project, I have selected jQuery as the javascript framework for my rails 3.0.9 app. What I have done to have my app''s deletion link (for each item) trigger an alert box when the deletion process is completed: 1) installed jquery-rails gem, deleted the public/javascript/rails.js file 2) added the line, "gem ''jquery-rails'', ''>= 0.2.6''" to my Gemfile, ran "rails generate jquery:install" 3) set up the controller action, destroy to respond by giving a json object when it''s being called by ajax # DELETE /pa...
2008 Jul 11
1
prototype.js breaks treemenus from pear HTML_TreeMenu in safari
hi all i see a very strange behavior in safari when using prototype.js and the pear HTML_TreeMenu to reproduce get prototype.js (http://www.prototypejs.org/assets/ 2008/1/25/prototype-1.6.0.2.js) and treemenu.js (http://cvs.php.net/ viewvc.cgi/pear/HTML_TreeMenu/TreeMenu.js?revision=1.22). and test the following html with safari on mac or windows (http:// www.apple....
2007 Jan 23
3
Too many session numbers per page request?
If I view the source on one of my pages I see: <script src="/javascripts/prototype.js?1168898271" type="text/javascript"></script> <script src="/javascripts/effects.js?1169242655" type="text/javascript"></script> <script src="/javascripts/dragdrop.js?1169241657" type="text/javascript"></script> &...
2009 Apr 24
2
passing a value to a js function via button_to_function
...y dialog a particular record when user clicks button in a row. in the table I''m doing: <td><%=button_to_function ''Show'',''showresource1()'',:class =>"ui-button ui-state-default ui-corner-all", :id => resource.id %></td> js: <script type="text/javascript" charset="utf-8"> function showresource1() { jQuery("#resource_details").load( ''http://localhost:3000/resources/show/4'').dialog(''open''); } </script> I can open the dialog and loa...
2006 Aug 13
4
Javascript compression / How to hook in to rails development
Hi there, I thought it''s rather neat to use the javascript compression from http://dojotoolkit.org/docs/compressor_system.html This removes javascript comments and renames variables and seems pretty reliable and effective. For example, I keep the original htmlarea.js file from http://xinha.gogo.co.nz/ in a file htmlarea.js.txt and it compresses from 200K to 100K. With gzip it compresses further down to 27K as opposed to 50K without the intermediate custom_rhino compression (hopefully I can make use of Apache 2.0 mod_deflate soon.) So I set up a Rake task...
2008 Sep 25
2
jquery, format.js and IE
I''m trying to use jQuery to write all my js unobtrusively, and running into a bit of a problem when triggering the format.js block in IE6 (and possibly IE7). It returns the JSON string no problem, but instead of parsing it, IE6 asks to download the resource as a .js file. So if my url is ''/pictures/1.js'', IE6 will ask to s...
2005 Jul 08
8
Integrating script.aculo.us into existing javascript codebase
Hi, I''m new to this mailing list, so first off, a big THANK YOU for the script.aculo.us and prototype.js libraries. I''m trying to integrate script.aculo.us into an existing pretty large Javascript codebase (see http://openrecord.org). I''m running into a problem with prototype.js and the existing codebase''s use of for/in loops over an Array. prototype.js defines Objec...
2005 Dec 12
7
possible opera+prototype bug in evalscripts?
...his error in Opera 8.51: ------------------- snip ----------------------------- http://ccml.uni-weimar.de/ Timeout thread: delay 10 ms Error: name: EvalError message: Statement on line 258: Illegal use of eval Backtrace: Line 258 of linked script http://ccml.uni-weimar.de/javascripts/prototype.js results.push(iterator(value, index)); Line 227 of linked script http://ccml.uni-weimar.de/javascripts/prototype.js iterator(value, index++); Line 417 of linked script http://ccml.uni-weimar.de/javascripts/prototype.js iterator(this[i]); Line 231 of linked script http://ccml.uni-we...
2005 Jul 19
4
a frightfully newbish question about dragdrop.js
Hi folks, I''m in the process of updating a mostly-server-side web app to 21st century functionality, using the prototype.js etc packages. I''m mostly a server-side PHP guy, so please pardon the level of ignorance about Javascript. I''m having some strange problems, and right now, I''m trying to localize whether the problems are generic browser-things or whether it''s my machine (called...