Wiki source for Iframe


Show raw source

Simple snippet

**Application**
show anoter site-page within a page

**How to use**
save it under actions
name it iframe.php

{{iframe www.yahoo.com}}


%%php
<?php

echo "<iframe src=";
$rss_path = $vars['url'];
if ((!$rss_path) && $wikka_vars) $rss_path = $wikka_vars;
$rss_path = $this->cleanUrl(trim($rss_path));

echo $rss_path;
echo "></iframe>";

?>
%%

TODO
- make the iframe with a height and width
- iframe with border or not
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki