Snippet Information
Version: 19 (see latest version)
Author: jeff
Language: php
Licensed under GNU LGPL v3
Other versions
"3d_bars_demo" v.19 (see latest version)
Description
Example of using the 3d_bars snippet.
Run
| View code [+] |
Create a snippet based on this »
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Kogbox:3d_bars_demo</title>
<link href="http://www.kogbox.com/stylesheets/default.css" media="screen" rel="Stylesheet" type="text/css" />
<?php include_snippet(1,"3d_bars"); ?>
<style>
body { margin:10px; }
</style>
</head>
<body>
<div style="width:750px;height:500px;">
<?php draw_bar(145,225,210,80,"blue"); ?>
<?php draw_bar(265,300,200,80,"red"); ?>
<?php draw_bar(545,225,180,80,"orange"); ?>
<?php draw_bar(365,385,100,80,"blue"); ?>
<?php draw_bar(300,530,70,80,"red"); ?>
<?php draw_bar(490,425,140,80,"orange"); ?>
</div>
</body>
</html>

Comments (1) | View comments for all versions (2)
jeff (author) said: 25 Dec
It’d be nice to have a manager for this, so they’re printed in the right order… back to front.
Log in if you have a Kogbox account.