Exemple #1
0
									</td>
									<td valign='top' rowspan='2'>
										<div class='frame'>
											<div class='headerText'>Header Text</div>
											<div class='bodyText'>This is the body text.</div>
											<div class='initiallyHidden tagline'>This is the tagline.</div>
										</div>
									</td>
								</tr>
								<tr>
									<td align='center' valign='top' width="50%">
										<div><?php 
$buttonLoadCSS1_Print->printHTML();
$buttonUnloadCSS1_Print->printHTML();
?>
</div>
										<div><?php 
$buttonLoadCSS2_Print->printHTML();
$buttonUnloadCSS2_Print->printHTML();
?>
</div>
									</td>
								</tr>
							</tbody>
						</table>
<?php 
$objTestScriptPlugin->printControlPanel(ob_get_clean());
$objTestScriptPlugin->printStatusPanel();
$objTestScriptPlugin->printLogPanel();
$objTestScriptPlugin->printDescriptionPanel("\n\t\tThis test script demonstrates the ability to request the loading and unloading of CSS files from the server side. \n\t\tClick the load button for either CSS1 or CSS2 and watch the browser apply the style changes to the page nearly \n\t\tinstantly.  Once loaded, the style changes can be removed with the unload button.  *NEW*  This test script now\n\t\tshows the use of the new media (optional parameter).  When you click the load or unload CSS1 and CSS2 for print,\n\t\tyou can see the changes only in the print preview or on a printed page.\n\t");
$objTestScriptPlugin->printFooter();
Exemple #2
0
    if (isset($_GET['methodTwo'])) {
        echo 'Using plugin access method Two.';
    } else {
        if (isset($_GET['methodThree'])) {
            echo 'Using plugin access method Three.';
        } else {
            $buttonShowOutput->setAttribute('disabled', 'disabled');
        }
    }
}
?>
</div>

<form id="testForm1" onsubmit="return false;">
<p><?php 
$buttonShowOutput->printHTML();
?>
</p>
</form>

<div>
	<div>
		Please select a method appropriate to the version of php running on your host:
	<div>
<?php 
$sSeparator = '?';
if (false !== strstr($requestURI, '?')) {
    $sSeparator = '&';
}
$newRequestURI = $requestURI . $sSeparator . 'methodOne=1';
$newRequestURI = str_replace('?&', '?', str_replace('&&', '&', $newRequestURI));
Exemple #3
0
			alert(newString);
			xajax.$('myDiv').innerHTML = newString;
		}
	</script>
</head>
<body>

<h1>call Script Test</h1>

<p>Howdy.</p>
<p><?php 
$buttonCallScript->printHTML();
?>
</p>
<p><?php 
$buttonCallOtherScript->printHTML();
?>
</p>

<p>Result:</p>

<pre id="myDiv">[blank]</pre>

<p>Expecting:</p>

<pre>arg1 and 9532.12
some value | this is a string</pre>

<div class='description'>
	<p>This script demonstrates the ability for xajax to send data to and call javascript 
	functions on the client browser.
Exemple #4
0
								<tr>
									<th>Controls</th>
									<th>Effects</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td align='center' valign='top'>
										<div><?php 
$buttonLoadCSS1->printHTML();
$buttonUnloadCSS1->printHTML();
?>
</div>
										<div><?php 
$buttonLoadCSS2->printHTML();
$buttonUnloadCSS2->printHTML();
?>
</div>
									</td>
									<td valign='top'>
										<div class='frame'>
											<div class='headerText'>Header Text</div>
											<div class='bodyText'>This is the body text.</div>
											<div class='initiallyHidden tagline'>This is the tagline.</div>
										</div>
									</td>
								</tr>
							</tbody>
						</table>
					</td>
				</tr>