Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your pages that will be used as tabs should not have HTML, HEAD or BODY tags. I'm pretty sure they should just exist as raw HTML.</p> <p><strong>EDIT</strong></p> <p>Okay, here's what the <code>index.php</code> HEAD section should look like (the rest of the page remains the same):</p> <pre><code>&lt;head&gt; &lt;meta charset="utf-8" /&gt; &lt;script type="text/javascript" src="/ui/js/jquery-1.4.2.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/ui/js/jquery-ui-1.8.2.custom.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/ui/development-bundle/ui/jquery.ui.tabs.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/ui/development-bundle/ui/jquery.ui.widget.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/ui/development-bundle/ui/jquery.ui.core.js"&gt;&lt;/script&gt; &lt;link type="text/css" href="/ui/css/ui-lightness/jquery-ui-1.8.2.custom.css" rel="stylesheet" /&gt; &lt;script type='text/javascript' src='http://www.google.com/jsapi'&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready(function () { $("#tabs").tabs({ ajaxOptions: { error: function (xhr, status, index, anchor) { $(anchor.hash).html("Couldn't load this tab. We'll try to fix this as soon as possible. If this wouldn't be a demo."); } } }); }); google.load('visualization', '1', { 'packages': ['annotatedtimeline'] }); &lt;/script&gt; &lt;title&gt;&lt;/title&gt; &lt;/head&gt; </code></pre> <p>And here's what <code>lazarus.php</code> should look like:</p> <pre><code>&lt;script type='text/javascript'&gt; var data = new google.visualization.DataTable(); data.addColumn('date', 'Date'); data.addColumn('number', 'Sold Pencils'); data.addColumn('string', 'title1'); data.addColumn('string', 'text1'); data.addColumn('number', 'Sold Pens'); data.addColumn('string', 'title2'); data.addColumn('string', 'text2'); data.addRows([ [new Date(2008, 1, 1), 30000, undefined, undefined, 40645, undefined, undefined], [new Date(2008, 1, 2), 14045, undefined, undefined, 20374, undefined, undefined], [new Date(2008, 1, 3), 55022, undefined, undefined, 50766, undefined, undefined], [new Date(2008, 1, 4), 75284, undefined, undefined, 14334, 'Out of Stock', 'Ran out of stock on pens at 4pm'], [new Date(2008, 1, 5), 41476, 'Bought Pens', 'Bought 200k pens', 66467, undefined, undefined], [new Date(2008, 1, 6), 33322, undefined, undefined, 39463, undefined, undefined] ]); var chart = new google.visualization.AnnotatedTimeLine(document.getElementById('chart_div')); chart.draw(data, { displayAnnotations: true }); &lt;/script&gt; &lt;div id='chart_div' style='width: 700px; height: 240px;'&gt;&lt;/div&gt; </code></pre> <p>This worked for me.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload