Displaying 20 results from an estimated 2000 matches similar to: "Error when prototype.js is loaded"
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
2005 Sep 13
1
populating asterisk realtime tables from configfiles
Here is my file to parse and load extensions. No wise cracks about my
code....
DB.php is the Pear DB module. (pear.php.net)
<?php
include('DB.php');
$db_host = '';
$db_name = '';
$db_login = '';
$db_pass = '';
$db_table = 'extensions_table';
define(DBINFO,"mysql://$db_login:$db_pass@$db_host/$db_name");
$db =
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'':
2001 Jun 04
0
Re: unix R CMD check problem
Doh!
turns out I was using a newer feature of S-PLUS that is not supported in R,
or at least was generating the parse error.
replace all
a = b
with
a <- b
(except in arguments, naturally ...)
Sorry to bother anyone ... smooth sailing ahead.
> Date: Mon, 4 Jun 2001 10:03:56 -0600 (MDT)
> From: Tim Hoar <thoar at cgd.ucar.edu>
> Reply-To: Tim Hoar <thoar at ucar.edu>
2006 Sep 26
0
newbie: Example of using prototype window class
HI guys,
I really want to use some of the cool protoype window libs I have seen,
im a real dope when it comes to javascript and the such, can someone
give me some code hints on how to use a prototype skin classs as my
default browser skin for the app I am working on?
Also how to open a prototype window from within a ruby app?
Is the prototype window lib included with RoR out of the box?
thx in
2018 Jan 23
0
Now playing (PHP example)
This php script is also good for displaying a now playing title on your station's website.
It is not an auto refreshing script so the page would have to be refreshed manually by the visitor when the song changes.
Script follows:
<?php
function getMp3StreamTitle($streamingUrl, $interval, $offset = 0, $headers = true)
{
$needle = 'StreamTitle=';
$ua = 'Mozilla/5.0
2004 Aug 06
0
icecast2 ogg vorbis client request headers
On Friday 02 April 2004 11:04, Dave St John wrote:
> > You must have some other, unrelated, problem, presumably elsewhere in
> > your code.
>
> this is what i have, and does work with mp3, but ogg does not want to work.
> im testing with winamp, you think that may be the issue?
>
>
>
> fwrite($fp,"GET /mymp3 HTTP/1.1\nUser-Agent:$HTTP_USER_AGENT\n\n");
2004 Aug 06
3
icecast2 ogg vorbis client request headers
> You must have some other, unrelated, problem, presumably elsewhere in your
> code.
this is what i have, and does work with mp3, but ogg does not want to work.
im testing with winamp, you think that may be the issue?
<p><p>fwrite($fp,"GET /mymp3 HTTP/1.1\nUser-Agent:$HTTP_USER_AGENT\n\n");
for ($i=0; $i<120; $i++) {
if (feof($sp)) break;
$str.=fread($sp,4096);
2007 Apr 12
6
JSON handling in Prototype 1.5.1_rc2
Hi,
I try to use the JSON encoder/decoder on JSON string receive from an
HTTPRequest.
And it failed to handle characters with accents (çéèà...) giving me an
parsing Exception.
I think because the convertion from string to object is a simple
eval !
This make Protoype unusable for non americain characterset
application ! Or I miss something !
Sad !
Constant
2004 Aug 06
3
icecast2 ogg vorbis client request headers
Well the code itself is what i took from tom peppers sc proxy script and
incorperated our own auth system for icecast2
i know i got it close with ogg and it seems to be when i tweak the
$str.=fread($sp,4096);
bit amount, i get different results, 4096 works fine for mp3 on icecast2 and
shoutcast, but im assuimg maybe there is more or less to read from
the ogg headers?? if so what would be the
2006 Feb 20
0
prototype.js Array.prototype.shift() method
I noticed that prototype.js defines a shift() method for the Array prototype.
The base prototype already defines this method, is there a reason it is being
redefined in prototype? Maybe certain browsers aren''t implementing the
shift() method? If that''s the case, shouldn''t there also be an unshift()? :)
Thanks!
-Jeremy
--
Jeremy Kitchen ++
2007 Sep 12
2
Prototype.js and Coremetrics eluminate.js issues
Hi,
I am trying to use prototype.js on a JSP that also contains some
javascript from Coremetrics (eluminate.js). Coremetrics is used for
tracking marketing clicks.
When I have both of these javascript imports on the page I get
javascript errors in the eluminate.js file. I get javascript errors
that say "Undeterminate string constant."
It looks like the prototype.js file is somehow
2006 May 12
1
best list/forum for prototype.js?
Hi,
Where is the best place in the net to discuss the prototype.js
library? I have some questions that are purely prototype.js questions
and unrelated to rails.
Thanks,
Peter
2006 Mar 01
1
prototype.js ajax w/ post - how to send ''+'' character
Hi,
I am trying to send input from a form to do a live php boolean search. so
an example
search string is
''+neoflex +standard +output -green''
the problem is something is filtering the ''+'' and i can figure out to to
send it.
here is the html and js that i am using.
<input type="text" id="prodid" onkeyup="autosearch(this)"
2006 Feb 10
0
Behaviour.js and prototype Event.observe
say I have some code like this:
Behaviour.register({
''#clickme'' : function(el) {
Event.observe(el, ''click'', function(event) {
alert("clickme was clicked");
});
}
});
Behaviour.apply();
Behaviour.apply();
the element with the id of ''clickme'' will now have 3 onclick event observers.
Is there a way to work around this?
I
2006 Jan 22
0
Using prototype.js Documentation - UPDATED VERSION TO COVER 1.4.0
Hi Everyone,
The most popular documentation on prototype.js now got even better.
The earlier one was for version 1.3.0. Sergio Pereira has updated his documentation
to cover prototype.js version 1.4.0.
http://www.sergiopereira.com/articles/prototype.js.html <http://www.sergiopereira.com/articles/prototype.js.html>
-Mandy.
_______________________________________________
2005 Nov 15
1
prototype.js mousewheel event patch
Hi All.
I made mousewheel event patch for prototype.js .
http://rails2u.com/tmp/wheel_demo.html
This wheelevent works WinIE & Firefox.
If it is good, Would you adapt the patch I made?
-gorou
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Oct 03
0
Prototype.js Doc Update
Hi Guys,
Just received an email from Sergio.
He has updated his prototype.js documentation yesterday.
Has added some stuff on the position object.
http://www.sergiopereira.com/articles/prototype.js.html
Thank you,
Mandy.
2005 Sep 01
0
expert advice needed - prototype.js vs. x library
Hello,
I''m looking for some expert advice since I''m quite a newbie when it comes to
programming.
I realized that a lot of people(programs) are using the prototype.js and
honestly, I cannot see why.
Right, prototype has some nice AJAX support but it is lacking a
documentation.
I recently came accross cross-browser.com and saw their xlibrary - to me it
seems that xlibrary
2005 Aug 22
1
Docs for prototype.js
I just found this (by way of comp.lang.javascript), and article on the
use of and reference for prototype.js.
http://www.sergiopereira.com/articles/prototype.js.html
I haven''t checked the details, but it looks pretty good. The author
points out that it is un-official. Sam, if you''re reading this, is
there a chance of giving it an official blessing?
Michael
--
Michael