Simple example not using jquery

41 views
Skip to first unread message

rwhiting

unread,
Dec 10, 2009, 8:05:44 PM12/10/09
to jLayout
I am just beginning a project with grails using the default prototype
js library. I am not wanting to install and use jquery at this time.
I have looked at your example page showing how to create the various
layouts using jquery. If you could provide a simple example of using
the border layout without using jquery, it would be very helpful. I
find myself getting lost in the creation of the components (east,
west, center, north, and south) that I then pass in as per your
example. Thank you.

Bram Stein

unread,
Dec 11, 2009, 7:05:20 AM12/11/09
to jla...@googlegroups.com
Hi,

I'm not that familiar with Prototype, so I can't provide a simple
example. As far as I can tell however, you'll need a simple wrapper
around Prototype's Element class. This wrapper should map the methods
needed by jLayout to the ones provided by Prototype. An example would
be the "isVisible" method, which should be mapped to the "visible"
Prototype method. A list of all the necessary methods can be found at
http://www.bramstein.com/projects/jlayout/ in the "Usage" section.
Most of these methods have an equivalent Prototype method, but some
will need a bit more work.

Best regards,

Bram
> --
>
> You received this message because you are subscribed to the Google Groups "jLayout" group.
> To post to this group, send email to jla...@googlegroups.com.
> To unsubscribe from this group, send email to jlayout+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jlayout?hl=en.
>
>
>
Reply all
Reply to author
Forward
0 new messages