本文整理汇总了PHP中Position::set方法的典型用法代码示例。如果您正苦于以下问题:PHP Position::set方法的具体用法?PHP Position::set怎么用?PHP Position::set使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Position
的用法示例。
在下文中一共展示了Position::set方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<div id="impress">
<!-- welcome -->
<div id="title" class="step anim" <?php
$pos->printc();
?>
data-scale="3">
<h1 class="centered">Vot.Ar: a bad election</h1>
<h3>A presentation about the <i class="scaling flag-blue">Vot.Ar</i> (aka BUE) system, its HW, SW & Vulns.</h3>
<br /><br />
<p>Also, a bit about <i>eVoting</i>.</p>
<p class="footnote"><a class="link-shadow" target="_blank" href="https://twitter.com/hashtag/VotArUnaMalaEleccion">#VotArUnaMalaEleccion</a> <a class="link-shadow" target="_blank" href="https://twitter.com/hashtag/eko11">#eko11</a></p>
</div>
<!-- -->
<?php
$pos->set([23000, -1000, 0]);
?>
<!-- -how did we do it? -->
<div class="step" <?php
$pos->shiftprint([0, 1550, -300], -40);
?>
data-scale="1">
<h2>How did we do this?</h2>
<ul>
<li>About a week or so of hard work.</li>
<li><strong>Unofficially</strong>: no assistance was provided by the company nor govt.</li>
<li>By going to public consultation points to have access to machines and ballots.</li>
</ul>
<div class="centered"><img src="img/consultation-point.jpg" alt="Public constultation point" width="533" height="300" /></div>
</div>