Displaying 20 results from an estimated 8000 matches similar to: "@content_for_layout transition effects"
2006 Aug 09
3
[Markaby] yield instead of @content_for_layout?
We''re supposed to use yield instead of @content_for_layout, but I can''t
get yield to work in a Markaby template:
yield
text yield
Either one of these lines results in a ''no block given'' error (but ''text
@content_for_layout'' works). Anybody know how to use yield instead?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Mar 13
5
What is the matter with content_for_layout?
Here is my layout file:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>My Demands</title>
<%= stylesheet_link_tag ''ajax_scaffold'', :media => ''all'' %>
<%=
2006 Jul 27
3
Multiple @content_for_layout in template?
Hi guys,
I''m having a few experiments making sites with Rails and I''ve come
across a problem. I''ve made a template for the parts of the site that
the public will see and it has two main columns in it, a main content
column and a thin side column. The content in each of these will change
on each page of the site but I''m not exactly sure about how to send
2006 Jul 13
6
Content_for_layout
Question- if I have more then one view I wish to display in a layout , how
do I tell content_for_layout what to display and where ?
TIA
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060713/a2d0a8c8/attachment.html
2006 Mar 09
0
[FEATURE] Effect.Accordion
Hey guys
Attached is probably the final version of my Effect.Accordion. I don''t
know how it compares to the previous Effect.Accoridon submitted.
It still flickers a bit, however there is a hack which fixes the
container''s height, so it doesn''t flicker the rest of the elements on
the page. It''s also barely noticable in IE6. Any suggestions on how to
fix this
2006 Sep 19
0
Effect.Highlight interferes with Effect.toggle
I''m using something like an accordion, but the div containers have some
elements in them that use Effect.Highlight (i.e. InPlaceEditor and
Ajax.Checkbox, one of my SAU classes). If I click the element that
starts the Effect.SlideUp or some other similar effect, and then mouse
over an element starting an Effect.Highlight, the highlight cancels the
SlideUp. Or, if the Effect.Highlight
2006 Feb 15
5
Formating @content_for_layout
Hi all, I sent a message earlier, so forgive me if you have already
read this (I got some cryptic message in German about how my
e-mail was not read?). Anyway, I was just wondering if there was
any way to format the html that is output using
<%= @content_for_layout %>
I want to use something like the PHP Beautify. I guess I could
write my own, but I was hoping that Rails already had
2006 Jan 23
8
yield vs @content_for_layout, etc..
I am relatively new to RoR and Ruby for that matter. A few questions
for the pros:
Question 1:
In the 5min ajax video the presenter uses
<%= yield %> in his layout.
In the agile book, @content_for_layout is used.
Since, yield is an actual Ruby construct, is it more efficient and
preferred? What is the difference?
Question 2:
Links are often of the form :action =>
2007 Sep 01
2
@content_for_layout or changing default fields on "new" page
Hi all,
I test my small Rails apps using SQLite3, but I think the problem
appeares in every type of database.
.
When I create table and scaffolding apps, a HTML view is based on
columns types. Everything is OK until I want to change preconfigured
behaviour.
.
I created table with a column of type INTEGER, but I wanted to display
check box instead of text field and then save 0 or 1 in database.
2006 Jan 23
4
Transition between effects
Peepz,
I was looking into how script.aculo.us handles effect to write a
tutorial and for a current project I wanted to make transition between
PAIR effects possible. These PAIR effects are (Appear/Fade,
SlideUp/SlideDown, BlindUp/BlindDown) the effect that toggle can handle.
script.aculo.us calls queue.loop each 40 milliseconds, and that calls
all the effect.loop for all effects in the
2006 Jan 24
0
Safari problems w/ Effect.Appear and other effects
Prototype version: 1.4.0
Effects version: 1.51
I''ve recently been working alot with Scriptaculous and Prototype and
I''ve got some good looking results in FF and IE. However, Safari is
killing me! I would love for someone to look at this, and tell me if
its my design or the libraries.
One example:
http://www.tankdb.com/src/report_demo.php
1. Checkout the above page
2.
2006 Jun 22
1
fade and appear effects
i have a box of content on my site that i would like to fade out, load
new content and then fade back in with the new content. i tried
something like this:
<%= link_to_remote(image_tag(url_for_file_column(''project'', ''image'')),
:update => ''project-info'',
:before => "new
2006 Apr 17
6
DO NOT REPLY [Bug 3692] New: regression: symlinks are created as hardlinks with --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=3692
Summary: regression: symlinks are created as hardlinks with --
link-dest
Product: rsync
Version: 2.6.7
Platform: x86
URL: http://rsync.samba.org
OS/Version: FreeBSD
Status: NEW
Severity: major
Priority: P3
Component: core
2006 Jan 21
8
scriptaculous accordion feature - Jump?
Trying the accordion feature as offered at:
http://wiki.script.aculo.us/scriptaculous/show/accordion+feature
The objective is to remove the "jump" reported in the Rico accordion
feature. My demo of the scriptaculous feature, however has a noticeable jump
when tested if FireFox. and IE Win. See:
http://www.jimdavis.org/accord3.html
Have I implemented this incorrectly?
Jim
2005 Jun 29
0
Effects flicker in firefox when called with setTimeout
Hi,
I have a page calling a fade effect from a setTimeout. In Firefox the
element flickers before fading. It works fine in IE - I haven''t
tested any others. Has anyone else noticed this?
I''ve included a simple prototype below (sorry haven''t got web space to
post to - anyone know of any good free space?). Whilst in the
prototype it doesn''t to be much of an
2006 Nov 27
7
3 prototype/scriptaculous effects in order on one <div>
What I am trying to do is fade out the content in a certain <div> load
new content while its black then fade in the new content but im lost.
I need it to go like this...
Effect.Fade,Ajax.Update,Effect.Appear
but everytime I try to do it it just trys to do all of them at once,
how do I go about making the effects wait on the previous one before it
starts?
2008 Sep 17
1
[ANNOUNCE] compiz-0.7.8
A new compiz release 0.7.8 is now available from:
http://xorg.freedesktop.org/archive/individual/app/compiz-0.7.8.tar.gz
which can be verified with:
http://xorg.freedesktop.org/archive/individual/app/compiz-0.7.8.tar.gz.sha1
7b8a67b5d5b4aa6a33fcf60691bfae757768ffa3 compiz-0.7.8.tar.gz
http://xorg.freedesktop.org/archive/individual/app/compiz-0.7.8.tar.gz.sha1.asc
(signed by Danny
2006 Mar 03
6
[PATCH] Effect.Accordion (not from the wiki)
Hello boys and girls
In the ever-loving spirit of OSS, here''s another feature for s.a.u.
In particular it''s called Effect.Accordion, and is a scriptaculified
version of openrico''s Accordion.
Work in progress, I''ll submit further modifications as the come in, but
this is 90% of what needs to be done. I anticipate some bugs when I
start using it more.
Tested
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 16
0
trying to use effects for photo slideshow
Hi all
I am trying to overlay the Effect.Fade and Effect.Appear to make a photo
slideshow, but my frist approaches failed and it seems it needs a bit of
CSS-tweaking and Effects-hacking to make it work
Or does there exist any other simple way to make simultaneous fade-in/out ?
btw. the Wiki seems to be down right now
regards
--
Roberto Saccon - http://rsaccon.com