search for: xcript

Displaying 10 results from an estimated 10 matches for "xcript".

Did you mean: script
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 to expire at
2006 Feb 24
3
New to Ajax
Hello, I''m very new to ajax and was looking for advice on scriptaculous at their website and they suggested i join your mailing list, I hope that was the right thing to do, I haven''t installed ROR yet but i have downloaded the needed one-click installer which i will setup sometime soon, until such time i would like to work with scriptaculous in its native form in php files, the
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
...oppable so it doesn''t return to > its original place. > > Something like: > > > > [CODE] > > <!-- Draggable image --> > > <img alt="Product" id="item" src="icon.png"> > > <Xcript type="text/javascript"><!-- new > Draggable(item,{revert:true});--></Xcript> > > > > <!-- Droppable Div --> > > <div id="droparea" style="height:100px;width:100px;"> > <Xcript type="text/ja...
2006 Mar 01
0
RE: manipulate <td>''s and their content by grabbingtheir classNames
...''s HTML threat engine found HTML scripts in this email and has disabled them.</font></b></p>You could make a controller-object, which keeps a pointer to the selected index, rather than traversing through the dom each time you change the active cell. Something along : <Xcript type="text/javascript"><!-- MyController = { selected : null, select : function(elm) { if (this.selected) { this.selected.className = ""; } this.selected = elm; elm.className = "selected"; } } --></Xcr...
2005 Oct 12
2
AJAX and disapear javascript tags
Hello everyone. I''m writing web aplications using AJAX (library prototype and scriptaculous). I have situation that I want to change content of one div in my site. I make ajax request to server and getting new content of that div. The problem is that this div should have javascript code (e.g. looks like that <div><script>js code</script>
2006 Mar 01
2
RE: manipulate <td>''s and their content bygrabbingtheir classNames
> Or... > > var myTDs = new Array(); > $A($("main").childNodes).each(function(tr) > { > $A(tr.childNodes).each(function(td) > { > myTDs.push(td); > }); > }); You''ll probably want to make sure the tr elements are TR tags and the same for the td''s, as empty text nodes are inserted randomly by the gecko engine (and maybe others). Greg
2006 Feb 17
4
RE: Ajax.Updater and loading new javascriptfunctions.
...te I would much prefer to have my javascript loaded dynamically with each different component as needed instead of having to load up everything when the app is originally loaded. I tryed including the JS code directly in the code returned by Ajax.Updater as well as linking to it with: <Xcript type="text/javascript" src="/path/to/my_new_script.js"></Xcript> No love. My second problem is probably related. I am using Behaviour.js and would like to have my code loaded by Ajax.Updater register new rules. Again I have to define them in the main...
2006 Feb 26
14
Question abour Draggables & Droppables
Hi, What I need to know is how to change revert:true to revert:false from a draggable after I drop it on a droppable so it doesn''t return to its original place. Something like: [CODE] <!-- Draggable image --> <img alt="Product" id="item" src="icon.png"> <script type="text/javascript"> new
2006 Feb 17
6
Ajax.Updater and loading new javascript functions.
I working on rebuilding my CMS software using AJAX, and have run into a couple problems I cant seem to find the solution to. I am loading up a new component of my system using the Ajax.Updater, and it loads up the HTML fine but as the component I am loading up is fairly complicated I want to load up its relevant javascript functions as well at the same time. I am using the
2005 Aug 29
9
can a class find out it''s instance name?
Hi friends - a javascript question.... Does the prototype object add some way for a class to find out the variable name of its instance variable? Or does javascript have some built in way to do this? This is confusing to describe - but if I define a variable as some object: var myVariable= new Widget(''fdfa''); can some built-in method inside the Widget class be