Displaying 20 results from an estimated 9000 matches similar to: "Re: Javascript Event Handler for Chat App"
2006 May 19
2
Checking div generation technique
Hi guys,
just wanted to ask, on the onset of our page, we generate several div''s.
What we noticed on an intermittent connection is that several divs don''t
get to generate all the div''s sometimes so we had to reload our page.
Would you have any technique on how we can do this?
thanks
bing
--
Posted via http://www.ruby-forum.com/.
2012 Jul 15
1
APP-ID for using Bing search api through "rbing" gem!
Hello all,
I''m currently working on something and I need to use Bing search api in my
rails app.
I can user a gem called "rbing" which is a ruby wrapper around that api.
For creating
and instance of RBing class and using its methods I need to pass an APP-ID
to its
constructor like this -> bing = RBing.new("MYAPPID")
for getting a Bing APP-ID I searched a lot and
2007 Apr 08
3
Updater and PeriodicUpdater fighting with one another
I have a long-running process to build a directory tree in a database
from a very large and deep folder structure. I am using sessions for
security, but the process takes so long that it never finishes.
Having tried and failed to override the session time-out, I am trying
to work around the problem by having a PeriodicUpdater tickle the
session by loading a page every minute. But I am also
2006 Jun 28
9
Scaffold Issue with Postgres
Hi guys,
I''ve been able to successfully install the postgres adapter for a remote
database machine to get rails up. My machine is running on Fedora 2.
Rails version 1.1.2. Is my yml config correct? I am getting this error
when I execute script/generate scaffold service_contents content :
exists app/controllers/
exists app/helpers/
create app/views/spiel
exists
2006 May 31
2
Checkbox Help
Hi guys,
I am need to help again. Sorry for the newbie query but would definitely
appreciate the help.
Here''s the q: I generate a list of items from the database and render
them out with a checkbox beside them. A user may click more than one
item and I would want to save all checked items into another table. I
have been able to give each checkbox a unique id . Would anyone be able
2006 May 18
3
How to call controller from a div
Hi guys,
it''s me again,
Just wanted to ask, what technique can you use to call a def inside your
controller while clicking on a div?
thanks,
Bing
--
Posted via http://www.ruby-forum.com/.
2006 Apr 28
2
Trying to turn params field into a variable
Hi guys,
I have another question, we have this line on our .rb code:
@variable = params [:user][:bird]
I need to be able to change the 2nd field into a variable because it is
a changing valuename, I was wondering if you had any trick for that.
Meaning I need to make [:bird] into [:dog] or [:cat]...
It''s proven really tricky for me to get it to change I wonder if you
guys had any
2006 May 02
6
Stopping the Ajax.PeriodicalUpdater -- My Kludge?
Well, I''ve been burning the midnight oil trying to figure out how to
issue the stop() command to a PeriodicUpdater. I''ve come up with a
solution that uses setTimeouts to call the stop function. I think my
solution is very kludgey... especially since I''m new to Javascript +
Prototype.
Can anyone let me know if the below code is at all proper? :)
---------
Summary: A
2006 Jun 08
1
Using hidden fields to pass values
Hi guys,
Another question from a newbie.
I need to update a div on my page which gets updated regularly. So what
I''ve done is to create a hidden field which technically just contains
the user_id. This field doesn''t change. I was planning of pulling that
text field user_id data and putting it into params but it keeps on
giving me a nil value.
Is there a technique I could
2006 Jan 22
3
"onload" event handler inside a div
Hi. I need help on what is essentially putting an "onload" event handler
into a div. I am using render :partial and when the partial is loaded, I
would like the divs to show using an effect from a library such as
scriptaculous or moofx. However, there is no "onload" for a div. I was
wondering what alternative methods I should use to achieve this.
Thanks!
--
Posted via
2006 Jun 15
1
Periodically Call Remote Condition
Hi guys,
I''ve been reading through the forums and came across a response for
adding :with condition to a periodically call remote.
I tried it out and couldn''t make it work. Would anyone have a sample of
how to use this conditional structure with periodically call remote?
If not, does anyone have any idea how to add a condition to a
periodically call remote?
What I need is to
2006 May 17
9
Render No Layout?
Hi guys,
Am having a problem.
I have this def in my index controller that works like this:
def do_something
$a = variable1
$b = variable2
$c = variable3
$d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'',
''#{$a} - #{$b}''); \n </script>"
$trigger = "1"
render(:partial =>
2006 May 30
11
Another String Manipulation Exercise
Hi guys,
And I thought it wasn''t a problem. Here''s my string
"/var/www/vhosts/mysite.com/httpdocs/public/file/mypic.jpg"
How do i take out all the text that comes before "mypic.jpg"?
Trickier than I first thought.
TIA,
Bing
--
Posted via http://www.ruby-forum.com/.
2010 Jun 21
4
javascript tabs not working in rails app
This is in application.html.erb:
<script type="text/javascript"
src="../javascripts/application.js"></script>
<script type="text/javascript"
src="../javascripts/jquery-1.4.2.js"></script>
<div id="content">
<%= yield :tabContent %>
</div>
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys,
I''m here again with a problem. I have a rails app called brewed. It''s
located /home/user/brewed. My lighttpd.conf is located at
/home/user/lighty. When I execute lighty on port 80 with:
/usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems
to work fine.
If I type www.mysite.com/main/index on my browser, the page comes out
well. I have my files
2003 Nov 04
0
-test8 & Mail.app
A user just tried to use OSX 10.3's Mail.app via imap. It caused the process
to start eating CPU, and this in the logs. Any idea what could be happening
here? What information should I get on his setup?
imap-login: Nov 03 14:28:37 Info: Login: fenner [12.106.35.5]
imap(fenner): Nov 03 14:30:37 Error: Timeout while waiting for release of exclusive fcntl() lock for index file
2006 Sep 19
0
Interdomain Trust and Logging In
I'm having problems getting Interdomain trusts set up. Both servers are
running samba-3.0.10-1.4E.9 (one RHEL 4, the other CentOS 4). The two
domains are SOCIALWORK and MATH, servers swserver and bing respectively.
On bing, I created a socialwork$ account with the -i option to smbpasswd.
On swserver, I created a math$ account with the -i option to smbpasswd.
The trust relationships seem to
2014 Dec 03
1
Creating a USB bootable modified netinstall ISO image
On Dec 3, 2014, at 12:01, Greg Bailey wrote:
> I think you'd need to use the "isohybrid" command that's included in the syslinux package.
BING! BING! BING! We have a winner! Thanks for that info, it makes
the USB stick bootable. This will make kickstart installations so much
easier, especially for systems that don?t have a CD-ROM (we used to
have to scrounge for an
2006 May 02
0
Render Partial virtual pages
Hi guys,
We all know this snippet of code:
render(:partial => ''page'')
here''s my problem, I think I need to create a render where in the page
will be dynamic. example, page = username and my code will need to
render(:partial => ''username'').
is this even possible?
My issue is with a chat application I''m trying to do. I already have
2009 Nov 05
3
programming phones
I have question thats not really about astrisk but I figure you guys are doing this sort of thing.
We use Aastra 6757i phones. there is some support for XML. the question is how would i go about learning to customize these phones?
_________________________________________________________________
Bing brings you maps, menus, and reviews organized in one place.