Displaying 20 results from an estimated 600 matches similar to: "prototype.js hangs page load when included in an HTML page"
2005 Jul 06
16
Autocompletion not working in Konqueror
I''ve just had a look again at the autocompletion demo that Thomas put up
at
http://script.aculo.us/demos/ajax/autocompleter
Unfortunately, in Konqueror (3.4.1) it doesn''t work at all. Not even an
error is triggered. It does work nicely in Firefox. How about Safari?
I don''t have the time right now to track this down systematically (maybe
latter), but just from
2008 Jan 23
1
Hot swapping sata drives
I have a two external USB drives only 1 is connected to centos 5.1 at a
time.
the USB drive is SLOW compared to SATA.
The external drive suppots both connections USB and SATA.
I bought a little $5 external SATA connector that goes into the
PCI slot area (does not actually take a PCI slot just the backpanel)
and just plugs back into one of the available SATA
ports on the motherboard.
When I
2012 Aug 10
6
qemu-xen-traditional: NOCACHE or CACHE_WB to open disk images for IDE
Hi list,
Recently I was debugging L2 guest slow booting issue in nested virtualization environment (both L0 and L1 hypervisors are all Xen).
To boot a L2 Linux guest (RHEL6u2), it will need to wait more than 3 minutes after grub loaded, I did some profile, and see guest is doing disk operations by int13 BIOS procedure.
Even not consider the nested case, I saw there is a bug reporting normal VM
2007 Dec 11
0
Rails 2 doesn't include builder.js, scriptaculous.js, slider.js, and sound.js. Should I add them?
I''m upgrading the Scriptaculous files in my Rails 2 project to version
1.8.
Rails 2 doesn''t produce builder.js, scriptaculous.js, slider.js, and
sound.js in the Javascript folder by default, and the files it
produces (controls.js, dragdrop.js, effects.js) don''t have a version
number in them.
If I''m replacing the default files with the Scriptaculous 1.8
2012 Jun 18
1
Slide Show (S9) v1.1 Update - More Template Packs (Deck.js, Impress.js, CSSS, Slidy2, etc.)
Hello,
If you're interested in authoring your presentations/slide shows in
Markdown, you might check out the Slide Show (S9) gem in Ruby. A
simple slide show looks like:
What's Slide Show (S9)?
=======================
A Free Web Alternative to PowerPoint and KeyNote in Ruby
Getting Started in 1-2-3 Easy Steps
===================================
* Step
2006 Jul 24
2
BIG JS limit? Using replace_html with partials containing JS
Hello,
It''s pretty hard giving a practical example on this one.
I have a partial which contains some generated Javascript.
Something like:
order_screen.rhtml
-------------------------------------------
<h1>Order</h1>
<div id="order_part">
<%=render :partial=>''order_new'' %>
</div>
<h1>Ordered products</h1>
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
2010 Aug 16
8
Executing js.erb file with :format =>'js'
Hi, I''m trying to get my javascript to execute after clicking a link on
my page using :format => "js" here''s my link:
<%= link_to image_tag("/images/icons/user_add.png"),
add_contact_path(:profile_id => profile.id, :url => request.url, :format
=> "js"), :title => "Add person to your contacts"%>
in my controller i have
2007 Nov 03
0
Render js
Hi all
Not sure if I''m missing something, render :js => "alert(''hello'');" does
return the alert but also displays alert(''hello'') in the template as text.
This is evident for all javascript returned via render js (inline or in
.js.erb).
Any help appreciated
Thanks
Frazer
-------------- next part --------------
An HTML attachment was
2006 Dec 18
1
Upload Progress (mup.js) typo
I was using the sample_app and found out that the progress bar wasn''t
changing color. It was updating the percentage but wasn''t updating the width
of the status bar style...
I found that the mup.js was missing and appended "px"
So here it is: my first ever Merb patch!
http://pastie.caboo.se/28450
cheers,
-rjs-
(the_mug)
Blog: http://www.rosamour.com
--------------
2006 Aug 31
2
RSpec style in Scriptaculous'' unittest.js
Doing Javascript?
Looks like Scriptaculous'' *excellent* unittest.js has got some BDD love:
http://ajaxian.com/archives/scriptaculous-behaviour-driven-development-testing
Aslak
2007 Mar 09
1
error in clusterer.js (need patch)
there is an error line 348 Clusterer.popUp( poppedUpCluster )
Clusterer.rePop = function ( clusterer ){
if ( clusterer.poppedUpCluster != null )
Clusterer.popUp( poppedUpCluster );
};
should be
Clusterer.rePop = function ( clusterer ){
if ( clusterer.poppedUpCluster != null )
Clusterer.popUp( clusterer.poppedUpCluster );
};
-------------- next part --------------
An HTML
2008 Jan 07
2
rendering js
Hi all,
Just been working on a new app and I''ve hit a problem.
I am trying to render some js back to the page and have tried the following:
render_js
render :js => true
render :js => "alert(''test'');"
And I always seem to get my js returned as text.
I have also added in:
provides :js
I''m sure this is very simple but any pointers would be most
2006 Aug 06
0
js filesizes too bookoo?
Howdy,
I use scriptaculous (and therefore prototype) to do mostly page effects,
no drag-n-drop, no sliders, etc.
Just wondering if there''s a way, other than modifing scriptaculous.js,
to not include all of the scriptaculous libraries for my app?
Also, is there a "lite" version of prototype that you can use with
sciptaculous like there is with mooFX?
Thx,
Dave
--
Posted
2006 Nov 04
0
Pure-DOM JS based rich text editor
My Rails app needs a decent rich text editor, but nothing out there
really seems to do what I want. Looking at the code for these
editors, they all seem horrendously browser specific, full of
workarounds and multiple methods of doing things.
So, I''ve written a proof-of-concept rich text editor, using
Prototype, which works through DOM manipulation.
2006 Jul 26
3
Getting Ajax.Updater or page.replace_html to render js?
Hey guys,
I, for the life of me, cannot figure out how to get Ajax.Updater or
page.repalce_html to render the javascript in a partial. Upon page
loading, the partial gets rendered fine. But when called up to render
through an AJAX function something goes wrong.
Are you guys getting this error???
--
Posted via http://www.ruby-forum.com/.
2006 Jul 27
3
A number (id?) is added after css/js tags like style.css?1154009736
Dears,
My Ror setup works.. but I can''t guess why
<%= stylesheet_link_tag ''style'' , :media=> ''screen''%>
is rended as
<link href="/stylesheets/style.css?1154009736" media="screen"
rel="Stylesheet" type="text/css" />
What is that number.. any usage ??
Or I misconfigured something ?
Thanks
2006 Jun 01
0
JS / CSS ressource files and query strings for caching
Rails appends query strings to ressource files for intelligent browser
caching (only updating browser cache when files get channged)
But this article (
http://www.thinkvitamin.com/features/webapps/serving-javascript-fast ) says
the following:
At this point, you might ask why we don''t just add a query string to the end
of the resource - /css/main.css?v=4. According the letter of the
2006 Jun 12
0
Not able to access global JS variable in Rails
Hie,
I have a very genuine problem, may be i am unaware abt the method of
doing it.
I have to declare a global variable and have to give him a value
dynamically.
I am doing it at top of my page in script tag as
<script language="text/javascript">
var holidays = ''<%=@holidays_list%>'';
</script>
I am using dyna arch calendar to implement the dynamic
2006 Jun 14
3
JS variable -> ruby?
I have a little javascipt script to determine a users GMT timezone
offset... is it possible to use that variable in ruby code, in the view?
js script:
<script type="text/javascript">
Now = new Date();
tzOff = Now.getTimezoneOffset();
tzOff = tzOff/60;
</script>
Thanks!
-stirman
--
Posted via http://www.ruby-forum.com/.