Error 'this.$event[...].keys' is

M

Michele

Hi, I've insterted in my page an external JS menu... now I see all right
but when I press F5 key (or when I close the page) I see this error:

Row 1
char 1

'this.$event[...].keys' is null or it isn't an object

index.php?m=account_home


I don't know how to resolve this problem :-(

I hope you can help me....


I've tried to delete the new JS files included and I've seen (... I
think) that if I delete this

<script type="text/javascript"
src="http://localhost/core/includes/js/jquery.js"></script>

I don't see the error (I see other error for the information included in
this file, but I don't see the "Error 'this.$event[...].keys' is" error

I try to post a part of the code (tell me if I must to insert other
files.... I've my page only on locahost I can't to post the URL)



This this a part of the included file (jquery.js)



/*
* jQuery 1.1.2 - New Wave Javascript
*
* Copyright (c) 2007 John Resig (jquery.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* $Date: 2007-02-27 17:18:47 -0500 (Tue, 27 Feb 2007) $
* $Rev: 1460 $
*/

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return
d[e]}];e=function(){return'\w+'};c=1};while(c--){if(k[c]){p=p.replace(new
RegExp('\b'+e(c)+'\b','g'),k[c])}}return p}('7(1D 1u.6=="R"){1u.R=1u.R;v
6=q(a,c){7(1u==l)u 1q 6(a,c);a=a||12;7(6.1p(a))u 1q
6(12)[6.D.27?"27":"2P"](a);7(1D a=="20"){v m=/^[^<]*(<(.|\s)+>
)[^>]*$/.2M(a);7(m)a=6.41([m[1]]);I u 1q 6(c).2p(a)}u
l.6p(a.1l==2A&&a||(a.3W||a.H&&a!=1u&&!a.1W&&a[0]!=R&&a[0].1W)&&6.3N(a)||[a])};7(1D
$!="R")6.30$=$;v $=6;6.D=6.8n={3W:"1.1.2",8K:q(){u l.H},H:0,2b:q(1P){u
1P==R?6.3N(l):l[1P]},2j:q(a){v K=6(a);K.6n=l;u
K},6p:q(a){l.H=0;[].1m.15(l,a);u l},J:q(D,1A){u 6.J(l,D,1A)},2g:q(1b){v
4W=-1;l.J(q(i){7(l==1b)4W=i});u 4W},1G:q(23,O,B){v
1b=23;7(23.1l==3t)7(O==R)u
l.H&&6[B||"1G"](l[0],23)||R;I{1b={};1b[23]=O}u l.J(q(2g){P(v G 1B
1b)6.1G(B?l.1o:l,G,6.G(l,1b[G],B,2g,G))})},1n:q(23,O){u
l.1G(23,O,"3g")},2I:q(e){7(1D e=="20")u l.3u().3s(12.8q(e));v
t="";6.J(e||l,q(){6.J(l.3b,q(){7(l.1W!=8)t+=l.1W!=1?l.6u:6.D.2I([l])})});u
t},2H:q(){v a=6.41(1v);u l.J(q(){v
b=a[0].3j(U);l.Y.2T(b,l);1Y(b.1a)b=b.1a;b.4A(l)})},3s:q(){u
l.3d(1v,U,1,q(a){l.4A(a)})},5j:q(){u
l.3d(1v,U,-1,q(a){l.2T(a,l.1a)})},5k:q(){u
l.3d(1v,11,1,q(a){l.Y.2T(a,l)})},5u:q(){u
l.3d(1v,11,-1,q(a){l.Y.2T(a,l.2c)})},4f:q(){u l.6n||6([])},2p:q(t){u
l.2j(6.2Y(l,q(a){u 6.2p(t,a)}),t)},4Y:q(4M){u l.2j(6.2Y(l,q(a){v
a=a.3j(4M!=R?4M:U);a.$1E=14;u a}))},1C:q(t){u
l.2j(6.1p(t)&&6.2n(l,q(2u,2g){u t.15(2u,[2g])})||6.3z(t,l))},2e:q(t){u
l.2j(t.1l==3t&&6.3z(t,l,U)||6.2n(l,q(a){u(t.1l==2A||t.3W)?6.3y(a,t)<0:a!=t}))},1K:q(t){u



This is a part of my HTML page


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
.....
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script type="text/javascript"
src="http://localhost/core/includes/js/misc.js"></script>
<script type="text/javascript"
src="http://localhost/core/includes/js/mootools.js"></script>
<link rel="stylesheet" type="text/css"
href="http://localhost/core/templates/webby2/media/site.css">
<link rel="stylesheet" type="text/css"
href="http://localhost/core/templates/webby2/media/sidebar.css">
<link rel="stylesheet" type="text/css"
href="http://localhost/core/templates/webby2/media/content.css">
<link rel="stylesheet" type="text/css"
href="http://localhost/core/templates/webby2/media/forms.css">
<link rel="stylesheet" type="text/css"
href="http://localhost/core/templates/webby2/media/toolbar.css">

<script type="text/javascript"
src="http://localhost/core/includes/js/jquery.js"></script>
<script type="text/javascript"
src="http://localhost/core/includes/js/interface.js"></script>

<!--[if lt IE 7]>
<style type="text/css">
..dock img { behavior: url(iepngfix.htc) }
</style>
<![endif]-->

</head>
<body onload="checkChat('http://localhost/core/',0,10);">
<div id="page_wrap">
<div id="page">
<div id="container_wrap">
<div id="container">
<div id="sidebar_wrap">
<div id="sidebar">

<TABLE WIDTH=796 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center">
<TR>
<TD>
<TABLE WIDTH=796 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD width="30" valign="bottom"><img src="images/back_left_top.jpg"
width="30" height="196"></TD>
<TD width="736" height="20">
<TABLE WIDTH=736 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD height="27" background="images/back_top.jpg"></TD>
</TR>
<TR>
<TD>
<TABLE WIDTH=736 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD WIDTH=10 ><a href="index.php"><img src="images/top_sinaxi.jpg"
width="271" height="161" border="0"></a></TD>
<TD width="10" height="161"><a href="account/register/"><img
src="images/top_sx.jpg" width="242" height="161" border="0"></a></TD>
<TD WIDTH=10 HEIGHT=161 ><a href="account/register/"><img
src="images/top_dx.jpg" width="223" height="161" border="0"></a></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD bgcolor="#FFFFFF" WIDTH=736 HEIGHT=8 ></TD>
</TR>
</TABLE></TD>
<TD width="55" valign="bottom"><img src="images/back_right_top.jpg"
width="30" height="196"></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD bgcolor="#C6E8F4">
<TABLE WIDTH=794 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD WIDTH=30 HEIGHT=40 background="images/back_left.jpg" >
<IMG SRC="images/back_left.jpg" WIDTH=30 HEIGHT=239 >
</TD>
<TD height="20" valign="top">
<TABLE WIDTH=736 BORDER=0 align="right" CELLPADDING=0 CELLSPACING=0
bgcolor="#FFFFFF">
<TR>
<TD valign="top">
<div id="content_wrap">
<div id="content">



<!--bottom dock -->
<div class="dock" id="dock2">
<div class="dock-container2">
<a class="dock-item2" href="#">
<span>Home</span>
<img src="http://localhost/core/templates/webby2/media/toolbar/home.png"
alt="home" />
</a>
<a class="dock-item2" href="#">
<span>Contact</span>
<img
src="http://localhost/core/templates/webby2/media/toolbar/email.png"
alt="contact" />
</a>
<a class="dock-item2" href="#">
<span>Portfolio</span>
<img
src="http://localhost/core/templates/webby2/media/toolbar/portfolio.png"
alt="portfolio" />
</a>
<a class="dock-item2" href="#">
<span>Music</span>
<img
src="http://localhost/core/templates/webby2/media/toolbar/music.png"
alt="music" />
</a>
<a class="dock-item2" href="#">
<span>Video</span>
<img
src="http://localhost/core/templates/webby2/media/toolbar/video.png"
alt="video" />
</a>
<a class="dock-item2" href="#">
<span>History</span>
<img
src="http://localhost/core/templates/webby2/media/toolbar/history.png"
alt="history" />
</a>
<a class="dock-item2" href="#">
<span>Calendar</span>
<img
src="http://localhost/core/templates/webby2/media/toolbar/calendar.png"
alt="calendar" />
</a>
<a class="dock-item2" href="#">
<span>Links</span>
<img src="http://localhost/core/templates/webby2/media/toolbar/link.png"
alt="links" />
</a>
<a class="dock-item2" href="#">
<span>RSS</span>
<img src="http://localhost/core/templates/webby2/media/toolbar/rss.png"
alt="rss" />
</a>
<a class="dock-item2" href="#">
<span>RSS2</span>
<img src="http://localhost/core/templates/webby2/media/toolbar/rss2.png"
alt="rss" />
</a>
</div>
</div>

<!--dock menu JS options -->
<script type="text/javascript">

$(document).ready(
function()
{
$('#dock2').Fisheye(
{
maxWidth: 60,
items: 'a',
itemsText: 'span',
container: '.dock-container2',
itemWidth: 40,
proximity: 80,
alignment : 'left',
valign: 'bottom',
halign : 'center'
}
)
}
);

</script>
 
R

RobG

Hi, I've insterted in my page an external JS menu... now I see all right
but when I press F5 key (or when I close the page) I see this error:

Row 1
char 1

'this.$event[...].keys' is null or it isn't an object

index.php?m=account_home

I don't know how to resolve this problem :-(

I hope you can help me....

I've tried to delete the new JS files included and I've seen (... I
think) that if I delete this

<script type="text/javascript"
src="http://localhost/core/includes/js/jquery.js"></script>

I don't see the error (I see other error for the information included in
this file, but I don't see the "Error 'this.$event[...].keys' is" error

It seems you are using jQuery, MooTools, and the interface.js library
for jQuery and that there is a conflict somewhere. I'd suggest you
post to a news group dedicated to one of those libraries.

jQuery:
<URL: http://groups.google.com.au/group/jquery-en?hl=en&lnk=li >

MooTools:
<URL: http://forum.mootools.net/ >

<FAQENTRY>
Perhaps there should be an addition to FAQ item 2.2 regarding
libraries.

P.S. Anything further happening with the wikki/SVN repository?
</FAQENTRY>
 
M

Michele

Last sentence of the first paragraph :)


Last I heard about it was the post Jim made here. It is the weekend,
give him time to rest and see what comes about


Excuse but I don't know what I've to do...
 
R

RobG

RobGsaid the following on 11/10/2007 8:00 PM:



<URL:http://jibbering.com/faq/index.html#FAQ5_1>

Last sentence of the first paragraph :)

<FAQENTRY>

Suggested new 2nd paragraph for FAQ #2.2:

If your question relates to a particular javascript library, or
conflicts between libraries, you will likely get a better and faster
response from a news group or forum that supports the library. The
clj news group will happliy consider questions realted to javascript
within a library if no suitable answer is provided on the
library&ensp;specific forum. Make sure you include a link to where
you asked the question, or information on the responses you received.
Last I heard about it was the post Jim made here. It is the weekend,
give him time to rest and see what comes about.

Anything "come about"?
 
T

Thomas 'PointedEars' Lahn

RobG said:
Suggested new 2nd paragraph for FAQ #2.2:

If your question relates to a particular javascript library, or
conflicts between libraries, you will likely get a better and faster
response from a news group or forum that supports the library.

I have said it often before: The response might be faster, but it will most
likely be not better. Because in many cases the better reponse would be a
strong recommendation not to use that library in its current form.
Therefore, I disagree with this wording.


PointedEars
 
R

Richard Cornford

Randy said:
RobG said the following on 11/25/2007 1:04 AM:
<snip>

The use of "better" in that last sentence would be misguided. We know
that a significant proportion of the 'libraries in common use have been
written by individuals who would barely qualify as novices in terms of
their understanding of javascript and/or browser scripting, and must
assume that individuals using those libraries are even less
knowledgeable not to be aware of the shortcomings of the code they use.
Answers may be more forthcoming, and maybe faster, but they are unlikely
to be "better" in any sense.

The problem with people asking questions about library problems here is
that they are mostly incapable of presenting the complete problem to
this group (i.e. they fail to include most of the code involved (the
parts of the library being employed), or they include a huge mass of
irrelevant code that nobody can be bothered to go through tracing the
dependencies that are pertinent to the issue in hand. That is actually a
general problem with the way questions are often asked here, but tends
to be more significant when the subject includes some general-purpose
library.

Consider:-

"If your question relates to code employing a particular general purpose
library or conflicts between libraries, it is unrealistic to expect
anyone contributing to the group to have any specific knowledge of the
internal details of that library, or to spend the time necessary to gain
such an understanding by reading the library source code just in order
to answer your single question. If your question cannot be presented in
a complete, stand-alone form, without including code that is superfluous
to the issue then answers may be more forthcoming from a group dedicated
to the particular library in question."

Richard.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top