Displaying 20 results from an estimated 2000 matches similar to: "Prototype doesn't work if we have swf content on the same page"
2005 Mar 10
4
Google AdSense
Hi all,
I'm thinking of possibly trying out Google AdSense on the syslinux web
pages. Before doing so, however, I'd like to hear:
a) Would anyone object to such a move? (And if so, why?)
b) Does anyone have good/bad experiences with AdSense that they would
like to share?
-hpa
2006 Mar 20
5
Google AdSense question to Rails community
Hello everyone!
I''m not sure if it''s right place to ask, but what is your experience
with google adsense? I plan to implement free web service for
community and would like to cover hosting costs. Is adsense worth the
hassle?
olegf
2006 Apr 15
2
3 models -> 1 image
Hello, I have 3 models (Galery, Product, News) which all have 0 or 1
Image
I don''t understand what the relationship between the 3 models and the
Image model should be.
I might goes to Galery has_one Image, Product has_one Image and News
has_one Image but I presume that active record will rely on Image model
having a foreign key related to only one owner model (eg.
Image.galery_id),
2006 Apr 06
4
Using RJS to call custom JavaScript class/method
The announcement for RoR 1.1 shows some nice examples of RJS calls. In
particular I am interested in this one:
# Call the custom JavaScript class/method AddressBook.cancel()
page.address_book.cancel
In trying to develop a "lightbox" style modal form, I have been
successful in saving the form data via AJAX but I can''t seem to close
the "lightbox". I am using the
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 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
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 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
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/.
2006 Jun 24
0
Lightbox and Prototype
I am running Rails 1.1.2 (frozen gems) and trying to use Lightbox 2.0.
I am getting this exception in Firefox:
uncaught exception: [Exception... "Could not convert JavaScript
argument arg 0 [nsIDOMHTMLDivElement.removeChild]" nsresult:
"0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame ::
http://localhost:3000/javascripts/prototype.js?1151109408 :: anonymous
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/.
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 Jan 08
3
Family Connection 1.1.2
== What is Family Connection? ==
Family Connection is an easy-to-setup online hub for your family that
includes a Family News section with Photos, and an Address Book.
For more information, visit http://familyconnect.rubyforge.org/
== Downloads ==
Latest:
svn checkout svn://rubyforge.org/var/svn/familyconnect/trunk
Version 1.1.2:
svn checkout
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
2011 Mar 23
2
rails 3 + mongrel + mime type swf
Hi there!
I ran rails 3 application in localhost. In index.html.erb file I added
<object type="application/x-shockwave-flash"
data="../public/player_mp3.swf" width="200" height="20">
<param name="movie" value="player_mp3.swf" />
<param name="FlashVars" value="mp3=file.mp3" />