Displaying 20 results from an estimated 400 matches similar to: "Using RJS to call custom JavaScript class/method"
2006 Feb 03
2
RE: help with syntax
I guess the first step is reading up on OOP in javascript...
http://www.webreference.com/js/column79/
http://www.codeproject.com/aspnet/JsOOP1.asp
Then, check out the definitive prototype.js guide...
http://www.sergiopereira.com/articles/prototype.js.html
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2007 Mar 23
7
Lightbox-eske Dialogish Object
So, one of the things I''ve always wanted to do was expand upon the
simplicity of the Lightbox Gone Wild! object that the coders at
www.particletree.com put together months ago. I used it on an
application I wrote to organize my own picture albums on my localhost
web server, but I had to hack it apart to get it to do the things I
wanted it to do. I looked at the Prototype Window
2006 Jul 23
0
appendChild crashes ie6 onload (urget)
Has anyone encountered this problem before?
A function which is attached to the window''s onLoad with Event.observe
crashes ie6 ONLY when appendChild is called.
I have confirmed it across multiple computers. Even weirder, the function in
question is a well tested script commonly used.
http://www.particletree.com/examples/lightbox
I have eliminated all js on the page except
2009 Mar 26
1
Lightbox popup on ajax pages....
Hi,
I''m using lightbox.js for displaying chromeless popup windows.
I have a main page on which I have javascript_include_tag and
stylesheet_link_tag to include lightbox.
Calls to the lightbox popups from this main page work perfectly...
But....calls to the lightbox popups from pages which are called by
ajax(using link_to_remote) from the main page do not work... :(
They work like
2006 Feb 03
6
Rich Text Editor
I know I saw something a while back about a simple Rich Text Editor; did
that go anywhere? I''d love to see something as simple as the one google uses
in gmail. If not, I''ll get started on it :-D.
-Jerod
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 May 28
14
Lightbox and RJS
Hi,
I am trying to include lightbox functionality in my app, but there is
a slight complication. Apparently lightbox initializes all the links
to lightbox events on page load. However, in my case, some new links
to lightbox events will be rendered to the page through ajax events
(obviously this means after the page loads). So I figure I need to
find a way to call lightbox''s
2006 Jul 28
5
RoR & Lightbox
Has anybody else had a problem with using Lightbox in their RoR apps? I
include all the necessary files in application.rhtml and then attempt to use
the Lightbox functionality in pages and such. Nothing happens except that a
new page opens up with the link to the image I was attempting to show with
Lightbox. I''ve even gone so far as to strip out everything except the
necessary
2006 Aug 23
2
new plugin: "redbox", a lightbox/thickbox clone with nice rails integration
Hi folks,
I''ve written a little plugin to use for displaying a block of html over
a page while fading out the background. This is like the lightbox.js
library, and all it''s related offshoots (thickbox, greybox, etc.). My
plugin, Redbox, is not really any better than these others (in fact,
it''s less mature, and less tested), but it builds on prototype and
scriptaculous,
2011 Jul 23
6
Rails 3.1 CoffeeScript not working
I convert my old JS files into CoffeeScript, In my public controller I
used this functions
$(''#events a'').lightBox()
$(document).ready ->
$("#slider").easySlider
auto: true,
continuous: true
they load inside application.js like this
(function() {
$(''#events a'').lightBox();
$(document).ready(function() {
2006 Jan 08
10
Resource Bundle Roundup
I''ve recently made a first release of what I''m calling
"bundled_resource" which is a plugin that makes our lives *much*
easier when we need to use javascripts, stylesheets and images in
conjunction with one another to deliver a special effect or tool on
the client (browser) side. If you missed the release, read about it
on my blog at
2009 Jan 29
3
Lightbox Editor freeze
I've try to use Lightbox Plus image editor (http://www.lightboxeditor.com/) under wine. It start's, but always freeze after few minutes.
It says:
Code:
err:ntdll:RtlpWaitForCriticalSection section 0x7e4518a0 "x11drv_main.c:X11DRV_CritSection" wait timed out in thread 0009, blocked by 0018, retrying (60 sec)
After a minute says the following message:
Code:
wine: Critical
2010 Oct 15
18
Newbie - Rails 3 lightbox?
Hello!
I''m trying to create a simple image "popup" effect using Lightbox2,
http://www.huddletogether.com/projects/lightbox2/. But I don''t get it
to work. My code looks lite this:
<span class="ad_image">
<a href="<%= ad.image.url(:thumb) %>" rel="lightbox"><img src="<%=
ad.image.url(:thumb) %>"
2006 Apr 14
3
link_to_remote_with_overlay - Easy Ajax Overlays
People might be intrested in an article I wrote about using a helper and
some javascript to easily bring up ''Overlays'', a bit like Lightbox.
http://www.eribium.org/eribium/?p=32
--
Posted via http://www.ruby-forum.com/.
2008 May 30
1
Prototype doesn't work if we have swf content on the same page
I having to many troubles with prototype and scriptaculous when i have
object tag to embed swf content on webpage. First it conflict with
adsense and the page can''t be showed on IE6, fine, i remove adsense
banners. But my lightbox galery(maded with prototype) doesn''t work if
i had swf content from youtube...
Some body can help with this problem?
I''m starting hate
2008 May 01
3
Adding script line give errors Help!
I am trying to add this script
<script language="javascript" type="text/javascript" src="http://
www.expedia.com/pubspec/scripts/storefront/expe.sf.vertical.350.asp?pid=&aid="></script>
To my idex page and it give me errors, when I delete this line <script
src="js/lightbox/prototype.js" type="text/javascript"></script>
2009 Aug 21
1
lightbox or slimbox with ruby on rails
Hello guys
I want to use lightbox or slimbox any one having idea about it please
give me
Thanks
--
Posted via http://www.ruby-forum.com/.
2012 Nov 02
2
jquery error in production precompiled
In my rails project, for production precompile
I do : rake assets:precompile RAILS_ENV=production
But it not work for jquery.
In my firegub console, I got the error
“ReferenceError: JQuery is not defined “
at production.rb
# Disable Rails''s static asset server (Apache or nginx will already do this)
config.serve_static_assets = true
# Compress JavaScripts and CSS
2010 Dec 02
2
foreman dropdown menu broken
Hi,
i just installed foreman from the git repository and the dropdown menu
does not work. Don''t know xhtml well but opera tells me:
Uncaught exception: ReferenceError: Undefined variable: Form
Error thrown at line 3, column 0 in http://130.149.58.152/:
new Form.Element.EventObserver(''settings_dropdown'',
function(element, value) {window.location.href = value;})
2010 Oct 28
4
how do i find the trigger of an 'unknown' action
hi , in my logs i see that:
Completed in 1480ms (View: 267, DB: 90) | 200 OK [http://192.168.2.9/xyz/99]
SQL (1.4ms) SET NAMES ''utf8''
SQL (0.7ms) SET SQL_AUTO_IS_NULL=0
Processing xyzsController#images to gif (for 192.168.2.3 at 2010-10-28
15:22:35) [GET]
Parameters: {"id"=>"loading"}
ActionController::UnknownAction (No action responded to
2006 Feb 12
2
AJAX calls don''t do validation
Chatting on the IRC channel today to people (thanks!) it came up that
submitting a form remote bypasses the :validates... in the model. At
least thats how it looks from my tests and what people said is the
current behaviour.
Is this the case?
If so, is there a way around it or will it change in the future? I can
imagine good reasons for the current behaviour.
have fun,
SteveC