Location: PHPKode > scripts > awfDialog Wizard > awfdialog-wizard/awfDialog/examples/GradientBuilder/index.php
<?php
	//Version 1.2 (final)
   include('../../lib/awfDialog.php');
?>

<!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">
	<head>
		<title>awfDialog Class :: Gradient Buider Example</title>
		<link rel="stylesheet" href="../style.css" type="text/css" media="screen" />
		<script language="javascript" src="ajax.js"></script>
		<script src="jscolor/jscolor.js" type="text/javascript"></script>
	</head>
	<body>
		<script>
			jscolor_init();
		</script>
		<div class="header">
			<img src="../../docs/images/testlab2.jpg" align=right><img src="../../docs/images/testlabhead.jpg">
		</div>
		<div class="content">
			<table width="100%" cellpadding="2" cellspacing="1" border="0">
				<tr>
					<td width="100%" valign="top">
						<font size="1">awfDialog :: AJAX Enabled Dynamic Dialog Wizard Class :: Gradient Builder Example</font>
                        <center>
						<div id='container'>
<?php
    
    
    $str1="<b>Welcome to the Gradient Builder Wizard.</b><br><br>The purpose of this wizard is to demonstrate both the awfDialog Wizard class, as well as dynamic creation of gradient images using the GD library and the gradient_image class from <a href='http://phpclasses.org' target=new ><font color=#008800>PHPClasses.Org</font></a>.<br><br> If the title bar above does not render a dark green-to-light green gradient you may not have the GD library installed or could be missing the dependency class. See the documentation on how to verify the class files.<br><br>Click the Next button to continue the wizard.<br><br>";
    
    $m1 = new awfDialog('D1','Gradient Builder',$str1, ICON_NONE,false,575);
    $m1->SetImagePath("../../lib/images/");
	$m1->SetVAlign(BODY_MIDDLE);
    $m1->SetHAlign(BODY_CENTER);
    $m1->SetIconType(ICON_INFO);
    $m1->SetIconSize(ICON_SIZE_LG);
    $m1->SetGradient('224e15','c3f60a');
    $m1->SetImagePHPURL('../../lib/image2.php');
    $m1->SetWizMode(true);
    $m1->SetAjaxNext("doStart();");
    $m1->EnableWizImage();
    $m1->SetBodyBGColor('#efffca');
    $m1->Render();
    $m1->Clear();
?>
                    </div>
					<!--<div id='error'><textarea id="raw" cols=75 rows=10 class="color"></textarea><br><input type=text class="color"></div>-->
					</center>
					</td>
					<td width="120px" bgcolor="#efffca" valign="top" class="quick">
						<?php include('../examplemenu.php');?>
					</td>
				</tr>
			</table>
		</div>		
		<div class="footer">
			<img src="../../docs/images/KLNminilogo.jpg"><br><font color="white">
			TestLab is an internal-use only production of <a href="http://knowledgelinknetwork.net">Knowledge Link Network</a></font><br>
		</div>
	</body>
</html>

Return current item: awfDialog Wizard