Displaying 20 results from an estimated 1000 matches similar to: "Collapsible Hide/Show DIV"
2006 Jun 13
1
Element.remove parent div
Hi all,
Currently I am using Element.remove like so:
<div class="blurb" id="drag_1">
<a onclick="Element.remove(''drag_1'');" class="remove"></a>
</div>
However I would like to just create a function since I''ll be removing
multiple DIVs and updating the sortable order. I just can''t get some version
2008 Feb 13
8
comparing ajax.updater div in js
This is really bugging me no matter what I''m trying.
In javascript, I''m using the ajax.updater, and it (obviously) writes
back out to a div. I want to then compare what was echoed out into
this div (which came from the php file I listed in ajax.updater) with
a string.
test should equal "SomeString" because that is what is being echoed
out to
2009 Feb 15
2
Collapsible Fieldset
Hey there,
(First steps in Ruby and Rails...)
I''m trying to make a fieldset collapsible, like they are, for example,
on many Drupal pages.
What I''ve figuared out is the following:
<fieldset id="addressdata" class="collapsible collapsed">
<legend>
<%= link_to_function("Show/Hide Addressdata") { |page| page[:
2007 Jun 28
2
img element inside div not accessible with $$() or getElementsBySelector
I can''t access an img inside a div using the $$() syntax. Using
getElementsBySelector doesn''t work either. Both return empty arrays. I
can access it with getElementById, however.
<div id="foo">
<img id="image" src="blah.jpg">
<div id="bar"
</div>
- Using $$(''#foo img'') returns an empty array
- Using
2019 Aug 07
0
samba-tool PTR with /16 network
Hai,
?
Good your asking this.
I should have tested it... and NO, PTR lookup is not working correctly in this case.
?
I've reported it as a bug.
https://bugzilla.samba.org/show_bug.cgi?id=14077?
?
Greetz,
?
Louis
?
?
Van: H?noch Herv? [mailto:h.henoch at isc84.org]
Verzonden: woensdag 7 augustus 2019 11:01
Aan: L.P.H. van Belle; samba at lists.samba.org
Onderwerp: Re: [Samba] samba-tool
2009 Jun 06
0
loglikelihood and AIC
Hi,
I tried fitting loglinear model using the glm(catspec). The data used is FHtab. . An independence model was fitted. Here summary() and fitmacro( ) give different values for AIC.
I understand that fitmacro( ) takes the likelilhood ratio L2(deviance) to calculate AIC and uses the formula AIC= L2- d.f(deviance)*2 and this AIC is used for comparison of nested models. (Am I right?)
The value
2010 Nov 08
1
API Google MAPS
Hello everybody,
I''m working with Version 3 of Google Maps JavaScript API, and I have
the next code:
In a layout of my application:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
2006 Feb 07
1
Help needed with conflicting EventObserver
Hello everyone,
I have a page that populates/updates make, model and year select lists
via Ajax.Updater and I think that an EventObserver is causing a
conflict.
Here''s what I''m trying to do. I''m using this page as a create and
edit page for a car database. If I''m calling the page in edit mode,
I''ll want the make, model and year set (using the
2011 Mar 19
2
I get an error message
Everytime I try to open up a game called Rollercoaster Tycoon 2 I have copied the program files to a thumb drive, I get a popup text box that says the following:
<html><head id="AM_Offline_Page"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="am-version" content="6.1"> <script
2006 May 26
0
I can not get any scriptaculous effects to finish with items visible
I''m sorry I can''t seem to get any of the scriptaculous
effects to work correctly. I''ve searched on the web
forum but found nothing relevant. The only time I get
an HTML element to fade or shrink gracefully is when I
use them as inline handlers and feed them ''this''
instead of the HTML element id. But I can not get
anything to appear. Things disappear but
2005 Nov 29
0
Behaviour and scriptaculous
I have a <div> that I want to toggle its visibility. I have "hide"
text which makes it hide an makes the text "show" visible.
My problem is I don''t want the "hide" text to display if javascript is
disabled. So it starts out as display:none. I can then make it
visible by window.onload.
The problem is when I use the onload handler then the text does
2008 Jun 05
0
Javascript & Scrolling
I am currently in the middle of creating a horizontal scrolling
product list with page buttons that use effects to scroll from one
page to another using scriptaculous.
I am having problem that when the window is resized, so only the
viewable area of the div changes, this causes the width to change and
then because of that the scroll effect will scroll to position 2000
but then when the scroll bar
2010 Nov 17
1
How to enable div that was hide using JQuery
I Have used Ajax and JQuery link to enable new and close functionality
problem scenario:
* While using ajax link to open the new content and closing the same
using Jquery link its working fine wherein the same does not happen
again while we try to open the new content immediately after closing the
"New content"
* The above said works fine only while we refresh the page
How to resolve it
2008 Jul 21
0
Re: Listing user jobs
I have been able to list all jobs for a user with the following code:
In application_helper.rb:
def userjobs
userid = current_user.id
@jobs = Job.find(:all, :conditions => { :user_id => userid })
return(@jobs)
end
In application.rb:
helper :application
In qalayout.html.erb:
<% if logged_in? %>
<a href="javascript:;"
2006 Mar 08
0
question about auto-updating div with overflow:auto and maintaining position
I have a div (with overflow:auto) that gets stuff added to it via
Ajax.PeriodicalUpdater, and I''d like to keep it scrolled to the bottom all
the time, unless the user manually scrolls away from the bottom (and be able
to return it to its bottom-sticky form afterwards)
I''m not sure if this is just some css trickery I need to do, or if it requires
some javascript to do it.
2006 Mar 08
2
RE: question about auto-updating div withoverflow:auto and maintaining position
You should be able to do this by changing the div''s .scrollTop value via
javascript (maybe just pick a very large number to ensure bottom is hit,
like 10,000).
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of
Jeremy Kitchen
Sent:
2011 Mar 09
1
Javascript call from view.
Hello All,
I am working on a Microblogging application.(majorly written in Ruby
on Rails).(the application is similar to twitter) .There is a timeline
showing messages by the logged-in user and his/her
followers.
Each message has a reply link which has been coded as follows
<%=link_to "Reply" ,{},:href=>"#",:class => "replyMessage
noBackgroundImage" ,:title
2009 May 07
12
is there simpler way to export html within xml
Hi,
we''re exporting a lot of html code within xml, our current method works
but it''s very messy - far from perfect, is there a better way to do
this.
an example of our controller code is
html = html + "<img src="/icon/icon_email.gif"
2006 Jan 26
0
cloneNode not draggable in IE
Here''s the problem: I have a div, id=mydiv, which I clone using:
var clonedDiv = document.getElementById(''mydiv'').cloneNode(true);
I then set the id to be mynewdiv:
cloneDiv.id = "mynewdiv"; //not using setAttribute to accomodate IE
I then remove the original div:
Element.remove(document.getElementById(''mydiv''));
I then insert the new
2008 Mar 27
3
Help with authentication errors
Hello,
I have been working through two books, "Agile Web Development with
Rails, 2nd Ed." and "Ajax on Rails". I''m using Rails2.0. In both cases,
I run into an authentication error when doing the examples. In AWDwR,
when trying to add new information to the database (p. 68) I get
ActionController::InvalidAuthenticityToken in AdminController#create