Displaying 20 results from an estimated 5000 matches similar to: "Effect.Fade and innerHTML?"
2006 Apr 12
11
innerHTML and scripts not running
Hello,
I''m having an issue with getting embedded javascript code to actually
run when loaded via an Ajax.Request() call and the callback function
inserts the generated HTML and js code to my current page. It seems
that the javascript code is not properly parsing.
For example, I''m using the following function showinfo() to return
some html code.
function showInfo(go_url){
2008 Jan 21
2
scriptaculous fade problem
Been googling trying to find a workaround, with no luck yet ... I hope
y''all can help.
My goal is to have a semi-transparent background screen on a DIV which
will fade in and out over another DIV with a photo for a background.
currently I have background-image: url(screen.png) which is a 32x32
PNG24 filled with white at 35% opacity. The problem is that as the div
is fading-in, IE
2007 Nov 30
2
make sortable divs and innerHTML
My problem is that elements that were included in my site with
innerHTML can´t be sortable because the DOM doesn´t know that these
elements are there.
Has anybody a solution or an idea to this problem?
ToM
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group,
2006 Feb 09
1
cancel fade effect
I was wondering whether it''s possible to pass some arguments to the
effect.cancel() - e.g. when canceling fading, I think the opacity should be
reset to the default value or 1.
Thank you
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jan 18
1
Dragable without the fade
How do I disable the fade or ghosting effect on my dragable?? I want
it 100% opacity on drag.
Thanks.
______________________________________________________________________
Alex Duffield . Principal . InControl Solutions . http://
www.incontrolsolutions.com
_______________________________________________
Rails-spinoffs mailing list
2006 Jun 27
5
Ajax - Inserting selected elements from request.responseText
After retrieving a URL using an Ajax.Request...
function onComplete (request, json) {
// request.responseText holds the entire page
Only the content contained in elementID = ''source'' is intended for display
At this time, the following code works, but it disturbingly copies the
entire page from the source URL into the target DIV
$(''target'').innerHTML =
2005 Sep 27
8
prototype.js
Hi *,
We don''t know if you guys are the right audience, but we got a problem
with prototype.js we need to solve.
Essentially, it is a compatibility bug with the IE.
We wrote a component so it updates itself periodically using AJAX. we used the
prototype.js to accomplish this (using the periodicalUpdater object).
now the component works fine using firefox or opera, but NOT with IE.
the
2006 Jun 13
6
why some features uses new and some just static function call
Hi,
when using prototype and scriptaculous, isn''t it confusing sometimes to
remember which ones you have to use new and which ones that are just static
function call.
For example:
new Insertion.Before(...);
new Effect.Opacity(...)
Effect.Fade(..);
Effect.Appear(...);
I havent really looked at the implementation, but out of curiosity, I''m just
wondering is there a reason some
2007 Jan 28
3
A patch for minimize plugin.
I've added a new option in minimize plugin, called "Disable Fading".
To prevent tearing, damageScreen is used minDonePaintScreen (only if the
option is used).
The patch is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minimize-fading.patch
Type: text/x-patch
Size: 1855 bytes
Desc: not available
Url :
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question..
I often crash my Safari when using ''Enter'' on InPlaceEditor''s for
submitting.
Works fine on firefox(win & Mac) - no javascript errors.
Anyone else seen this behavior?
(Maybe it is just my alterings of InPlaceEditor :-)
Best Regards
Michael Krog
2006 Oct 10
1
metacity theme opacity
I pushed out some changes to gwd that makes it possible to properly set
an overall opacity value for any metacity theme. Making the complete
decorations translucent can look bad with some themes. However, I've
made it possible to have the opacity fade from opaque to the selected
opacity value in a similar way to how the built-in decorations look.
This usually looks a lot better.
I'll add
2009 Feb 26
7
javascript using jQuery.js and prototype.js doesnt work 2get
Hi........
M hving javascript "scripts.js" which uses jQuery.js in rails
application. bt when it is used along with prototype.js, one of the
javascripts which hs been included first in my application.rhtml
fails...
Do some1 hv any solution how to make both the scripts work 2gether...
I tried using
<script>
jQuery.noConflict();
</script>
bt of no use. problem
2006 Jun 16
3
onCreate not getting triggered.
I am trying to get a loader to display during ajax requests, but the
"onCreate" is not getting triggered. The onComplete does.
function loadComponent(section){
values = arguments[1]
pars = $H(values).toQueryString()
pars = "section="+section+"&"+pars
var url = ''/internal/ajax/requests.php'';
var ComponentLoader = new
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya,
I''ve just released script.aculo.us V1.5_pre1.
Please give it a try!
Important new stuff (since V1.1b1):
* Added a main scriptaculous.js file to load in the other libraries
transparently.
* Fixed a condition where standard a href=xxx links wouldn''t work in
autocomplete results. These do now, the onclick event is not
cancelled. [thx to Jasper Slits]
* Added
2007 May 17
5
AJAX, PHP and scriptalicious
Hey,
I''m brand new to AJAX and scriptalicious, so i''m hoping for some help.
inside hello.php
I have this piece of code to grab and loop out users in the database:
function test(){
$query = mysql_query(''SELECT * FROM `testing`'');
while($i = mysql_fetch_row($query))
{
echo''<div class="testie">'';
2006 Nov 27
7
3 prototype/scriptaculous effects in order on one <div>
What I am trying to do is fade out the content in a certain <div> load
new content while its black then fade in the new content but im lost.
I need it to go like this...
Effect.Fade,Ajax.Update,Effect.Appear
but everytime I try to do it it just trys to do all of them at once,
how do I go about making the effects wait on the previous one before it
starts?
2007 Oct 25
4
""throw $continue" is deprecated, use "return" instead"
I am using the firebug plugin to debug my javascript code, and I get
the following message while debugging. Anyone familiar with this
error?
See my code below:
<title>My Test </title>
<script src="json.js" type="text/javascript"></script>
<script src="prototype.js" type="text/javascript"></script>
2006 Jun 26
2
Prototype Ajax event handlers
I''ve been trying to use the prototype.js Ajax obect''s event handlers (onCreate, onComplete) inside the options tags as
below:
function updateCalendar(today, id){
new Ajax.Updater("calendars", "calendar.inc.php",
{asynchronous: true,
onCreate: function(){ showBusy },
onComplete: function(){ hideBusy },
method: "get",
2007 Jul 10
6
Having trouble using data returned by Ajax.request
Hello everyone, I''m new here.
I''ve been working with prototype and plotr for about a month now, off
and on, and I have pretty much hit the wall on using the data returned
by Ajax.Request.
I''m using some php code to return a string:
{''foo'': [[0,0.0865334429075127], [1,0.0828179861705063],
[2,0.0828173042602942], [3,0.0841707718624196]]}
But I keep
2009 Sep 04
12
Changing cursor while waiting for remote function response?
Hello,
Google and the search function didn''t help me this time. Is it possible
to change the mouse cursor while waiting for a response of a remote
function call?
--
Posted via http://www.ruby-forum.com/.