--
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.
but when the line
<script type="text/javascript" src="/System/Scripts/Other/jlayout.border.js
e.g. with the border.js is added then the error disappers?
so the error that fails the load of jlayout, requries the border.js
here is the code that works (i copied you example)
<!doctype html>
<html>
<head>
<title>jLayout Examples</title>
<meta charset="utf-8">
<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<!--<script type="text/javascript"
src="/System/Scripts/jquery/jquery.js"></script>-->
<script type="text/javascript"
src="/System/Scripts/Other/jquery.sizes.js"></script>
<!--<script type="text/javascript"
src="/System/Scripts/Other/jlayout.grid.js"></script>-->
<!--<script type="text/javascript"
src="/System/Scripts/Other/jlayout.flexgrid.js"></script>-->
<!--<script type="text/javascript"
src="/System/Scripts/Other/jlayout.column.js"></script>-->
<!--<script type="text/javascript"
src="/System/Scripts/Other/jlayout.flow.js"></script>-->
<script type="text/javascript"
src="/System/Scripts/Other/jlayout.border.js"></script>
<script type="text/javascript"
src="/System/Scripts/Other/jquery.jlayout.js"></script>
<script type="text/javascript">
jQuery(function ($) {
$('.grid').layout();
$('.flex-grid').layout();
$('.column').layout();
$('.border').layout();
etc.
so the border is requried. or else the error appers.
Regards
Jesper
You need to include the file corresponding to the layout you want to
use. So if you want to use a border layout you'll need to include
jlayout.border.js in addition to jquery.jlayout.js (and of course
jQuery itself.)
Best,
Bram
I thougth that usign the jquery version included the others.
so just for clarification, using jquery is to use the meta approach or?
Regards
Jesper
2012/2/19 Bram Stein <b.l....@gmail.com>:
Best,
Bram