help with a small javascript

Can anyone tell me what is wrong with this code that I wrote to manage the concentration game?<html><head><!-- Filename: tiles.htmSupporting files: ldown.gif, lup.gif, pback.jpg, pr.gif, premier.css, rdown.gif, rup.gif, slide00.jpg - slide11.jpg--><title>The Concentration Gam ...

change the number of matches in the concentration game html attached

In the following websitehttp://www.scriptasylum.com/gamespage.htmlthere is a 'concentration(normal) using different images' game. The number of images used are 18. I would like to know how do I change it to varying amounts (namely 16 and 24) I cannot see where in the html code I should change things ...

innerHTML css/js/ie6? issue

Doing ajax calls for tabbed content - I'd post code, but I've literally tried everything from stock JS to all the different jQuery ajax calls, along with setting the content using innerHTML, outerHTML, and createElement/appendChild. Everything works great in FF, but the pages formatting gets bungled ...

Oracle Maps - tiles are always PNG

I'm trying to test different file formats for my map tiles (trying to shrink tile sizes). When I look in the server's cache directory, they are the correct format. When I look in my browser's cache, they're always PNG.Looking at loadscript.js, line 2733 I found this:return String(this._f174+"?reques ...

JS failing to write input button

Trying to write a button whose link captures a JS variable.The button, name='MajorRev', isn't being created. Nor is the variable 'MajorRecords' being populated.The page is fairly complex.Here's the code for the main page:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ...

Themes using tiles in struts

all.i am working in struts framework.i don't no how to add the extra themes in my tiles-defs.xml.My tiles sheet given below.so please help me <definition name="layout" path="/layout.jsp"><put name="title" value="Helix - Medical ERP Solution" />< ...

jQuery dimensions.js

What's the status of dimensions.js?I mean, in SVN, it's located where it should be built-in but the buildprocess doesn't take it into account.On the other hand, if it's a plugin, it should reside in the directory"plugins".Franck. ...

jQuery jq-corner.js file

Anyone know where I may download the jq-corner.js file written by D. Methvin. It's not available on the author's site.TIA ...

jQuery Dimensions.js? I'm confused

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONT ...

jQuery Another update for form.js

I just checked in some more changes to the form plugin. The methodswere reworked to use the standard plugin style for specifying options.The signatures for ajaxSubmit and ajaxForm now take just a singleargument which is an object literal. Here are the details from thedocs:-----------------The follow ...

jQuery conflict iTooltip and ifx.js in IE

I found a bug:if itooltip.js comes with the ifx.js in the same document, the tooltiponly appears once in IE.Here's an simplified example:<http://test.webdebug.de/tmp/jquery/itoolfx.html>does anybody have an solution or an idea to fix it?-- ...

lite.pl - perl script to create jquery-lite.js

This might be useful for some of you that do not have the java jre installed and are using the jQuery svn. I have been using this like:make jquery./lite.pl build/jquery.js build/jquery-lite.jsI hope this might be useful. Somewhere I read that there might be a full set of perl tools for doing this, p ...

jQuery json.js

Thanks a lot Mark, works fine.Will make a page with some examples later for now just a link for thosewho had/have the same problemhttp://eboyreal.com/sandbox/jquery/jquery-json.js-----Original Message-----From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] OnBehalf Of Mark GibsonSen ...

jQuery json.js

> When I introcuded json.js [http://json.org/json.js] from ...

JQuery alternative for http://json.org/json.js

I found that using http://json.org/json.js conflicts with JQuery.Now question is is there any JQuery alternative for http://json.org/json.js.In other words, can JQuery un-serialize serialized data.Thanks,Kush ...

jQuery json.js

When I introcuded json.js [http://json.org/json.js] fromhttp://json.org/ . Problem now is my browser keeps freezing and eatingup CPU.I checked and it is clearly conflicting with JQuery.Did anyone had similar problem.K ...

js to jquery parent.frame...

how would i rewrite the line below using jquery? thanks.parent.frames['site-diary-frame'].location.href='record.html?newItem='+this.imgsArray[this.unit].itemid+':image:project.html';-- View this message in context: http://www.nabble.com/js-to-jquery-parent.frame...-tf2522027. ...

How do I add a js array of jquery objects to a jquery object?

Maybe there are other solutions to what I'm looking for...I've got a jquery script where I append (one by one) 50 new jquery objectsto another jquery object, but it's taking way too much time, so I thoughtthat it could be faster if I make an array buffer out of them and thenaggregate the ...

jQuery dimensions.js breaks height function?

Please advise: I need to use dimensions.js for the offset function. However,since this file overwrites JQuery's height function, I can no longer setheights (-- i.e. $("p").height("20px"); --). Will the offset function workon all browsers if I strip out dimensions' height ...

jQuery iutil.js problem

Hi, i meet a problem with the plugin iUtil.jsthis line : es = e.style doesn't seem to work in IE7.Anyone could help ?Thanks-- View this message in context: http://www.nabble.com/iutil.js-problem-tf2731985.html#a7620214Sent from the JQuery mailing list archive at Nabble.com. ...

jQuery Include JS scripts dynamically (before DOM has loaded)

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"><title></title></head><body bgcolor="#ffffff" text="#000000">Hi folks,I've been working on a little jQuery ...

jQuery Had to change ifx.js when switching to version 1.0.4 - check me?

I just want to do a sanity check, because I've never delved into any of theinterface code (ifx.js)I'm using Thickbox, and added some custom code to use the "BlindDown"function on one of the animations (from the Interface plugin). Everythingcomes up fine, however when I tried to clo ...

jQuery form.js & jorn's validation

<html><head><style>P{margin:0px;padding:0px}body{FONT-SIZE: 10pt;FONT-FAMILY:Tahoma}</style></head><body>Hi all... again!!!<BR> <BR>I know this is down to my only general knowledge of javascript but I'm trying to use Jorn's validation plugin, and ...

jQuery Thickbox CSS - Including in Thickbox.js?

all,Here is a question I have, and perhaps this is doable (I can't see why not),but why don't the *box scripts like Thickbox, Lightbox, etc, just write theCSS in the Javascript file, and eliminate the need to include a CSS file (orit's contents in your CSS)?For instance, I know Safari ha ...

jQuery reload js in iw with ajax

If I reload a part of the page [ using load(.. ] which has elements bound tofunctions for example a table row tr with a click function when that tableis reloaded the table row no longer has the click function bound to it. InFF I can get around this by adding the js functions to the mypage.php thatim ...

jQuery dimensions.js console.log error message

The version of dimensions.js available on the jquery plugins pages contains this on line 233console.log(' ' + parent.id + ' ' + x + ' ' + y);which triggers an 'error-on-page' message in IE6.BTW, is there a packed version of this excellent plugin available?Bruce-- http ...

jQuery help with a sliding panel layout - dimensions.js?

I'm trying to layout a screen with div on the left that contains some items(eventually some form inputs), and a div on the right that contains variouscontent (including large tables). I want to be able to click on a button toslide the left div out of the way, allowing the right div to expand. I ...

jQuery form.js, IE6 failure

<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; m ...

jQuery dimensions.js lesson needed

I've got a basic layout that looks like this:<div id="wrapper><div id="top"></div><div id="container><div id="leftPane"></div><div id="rightPane"></div></div></div>All divs are flexible in height ...

Patch: jquery.rating.js

Patch for svn://jquery.com/trunk/plugins/rating/js/jquery.rating.jsBug: The slice(1) logic doesn't work -- at least in FF2Index: jquery.rating.js===================================================================--- jquery.rating.js    (revision 1436)+++ jquery.rating.js ...

jQuery JS Source code Formatter - Anyone know of any good ones

Just wondering... does anyone know of any good source-code formatters forJavaScript. I see plenty that use the dirt-simple eval().tostring trick....but that doesn't work good/right.It'd be best if the formatter was a console app, so I could script it toclean up the code in the tree.Another i ...

jQuery ajax GET test.js

<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 11 (filtered med ...

jQuery validation plugin not working in ie6... here is the js link...

heyits writes me in ie6 "$.validator is not an object"ive downloaded the zip file from your site jorn, here is the files im usingthat cuases me that error:http://www.amir.cx/test1/used.zipcan you please check if my version is ok?-- View this message in context: http://www.nabble.com/valida ...

jquery.treeview.js

I am using jquery.treeview.js to display a tree.When I select a leaf of the tree, I send back the text using$(this).text() What I need though, is the text of all the previous nodes, so that Ihave a context for the information.Can anyone tell me how to get and send the information.Thanks,Peter ...

jQuery loading js files at the bottom of the page

Do you guys thinkloading js files at the bottom of the page would make the page load faster?-- Kush Murod, Web applications developerSensory Networks[E] kmurod@sensorynetworks.com[W] www.sensorynetworks.com[T] +61 2 8302 2745[F] +61 2 9475 0316[A] Level 6, 140 William Street East Sydney 2011 ...

jQuery JS loading problem with FF

I got a little problem on a site I'm working on, the problem isthat in FF, it mostly takes for 15sec for some files to load, and Iget this error after load:illegal characterhttp://www.haddock.ffs.gu.se/js/default.packed.jsLine 1A ɲý+J‰çÿi3É@ò{ÉT¬"ß5•˜%(c)ñqvŒ°vqF ...

jQuery How do I write this CF code in JS?

How do I write this CF code:<CFIF IsDefined("Form.Principal")></CFIF>in js?Rick ...

jquery.cookie.js: units for expiry time and null value for cookie deletion

I'm using the jquery.cookie.js plugin from the jQuery SVN and I adjustedit (see patch below) to allow me to...1. easily delete a cookie with the (IMHO more intuitive)$.cookie("name", null) calls instead of the$.cookie("name", '', { expires: -1 }) calls.2. specify the ...

jQuery two bugs with interface/iautocompleter.js

Hello,I have two small problems with iautocompleter.js :- 1 if I put HTML tags in the <value> field the tag is inserted as isin the rel="value" part of the suggestion menu li, and everything getsbroken (they could be escaped, maybe)2- in my setup (the suggestion box is inside an ajax ...

jQuery Dean Edwards Packer & Interface accordion.js...

I had to do some customizing of the Interface code and in the process ofre-packing the source code with Dean Edwards latest Packer code, I cameacross a problem in the accordion.js code.When packing the code the el.accordionCfg.currentPanel is undefined whenfirst initialized. The problem appears to b ...

jQuery IE not executing JS loaded on the fly

Hi,I have this code// loads modules for the selected tab.function loadAllModules() {$.get('draw_modules.php',{},function(data){$("#container").empty().append(data);});}The page "draw_modules.php" creates some HTML and also someJavascript. The HTML gets loaded fine, but th ...

jQuery SWFObject.js, IE and the onChange handler

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=us-ascii"><META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD><BODY><DIV><SPAN class=881441716-03052007> ...

jQuery thickbox.js + tooltip.js

How i can integrate thickbox.js + tooltip.js, my question is because i use first a tip, then i use thickbox to show an image but when i do this, i dont have the "title" for my picture.Any idea? -- Estoy usando la versión gratuita de SPAMfighter para usuarios privados.Ha eliminado 1727 cor ...

jquery.innerfade.js Random Problem

I am trying to use this script jquery.innerfade.js but am having alittle bit of a problem.You can see it here.http://medienfreunde.com/lab/innerfade/I have set it to random but it still always starts with the first itemand then shows the others randomly.How can you make it start out by displaying on ...

Jquery compat-1.0.js patch kills thickbox 3.0

I installed jquery 1.1.2, thickbox 3.0 and the compat-1.0.js patch forDrupal all on the same site and Thickbox died quickly. I played around withthe code for a while and found that a call to show() in TB was the culprit.Wondering how to attack these kinds of problems in the future. On the onehand, I ...

jQuery Dynamically loading javascipt .js files?

Is there a way for jQuery to dynamically load an external js file?For example, instead of always including:<script type="text/javascript" src="lib/type1.js"></script><script type="text/javascript" src="lib/type2.js"></script><script ...

Problem with JQuery and existing JS code.

I have been having trouble with integrating JS into existing website. The particular files that we are trying to include the Jquery into the JS that exists in the files just stops working. Even basic stuff for example even if I called a function called hello() and in there it just had an alert( ...

jQuery JS regular expressions for matching decimal numbers

Hi,has anybody some regular expressions at hand that work in JS to match decimal numbers, eg. 100, 100.4 or 100,120.124Thanks for sharing.-- Jörn Zaeffererhttp://bassistance.de ...

jQuery AVG - Trojan Horse JS/Uniz.B ?

AVG is currently reporting all my copies of jquery.js as having the above virus!Is this a false alarm, and is anyone else getting this message ?And if it is a false alarm, how should we notify AVG so that people visiting jQuery sites don't get scared off by this message ?TIA,Liam ...

jQuery How do I create object from loading JS in right time?

I need to JS I am loading to create the object instance only after theDOM is loaded. What is the correct command? I want to initialize thisfrom the include file rather than from the page where it's used. Thisis not currently a plug-in, and I may make it one. Right now my goalis listed above here ...