Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
This is the home of the Verkkopedagogiikka space.

...



To help you on your way, we've inserted some of our favourite macros on this home page. As you start creating pages, adding news items and commenting you'll see the macros below fill up with all the activity in your space.

...

Navigate space
Section
Column
width60%
Recently Updated
Column
width5%
Column
width35%
Page Tree Search
pagetree

{section}
{column:width=60%}
{recently-updated}
{column}
{column:width=5%}
{column}
{column:width=35%}

h6. Navigate space
{pagetreesearch}
{pagetree}
{column}
{section}<\!-\- This Script is from [www.htmlfreecodes.com|http://www.htmlfreecodes.com/], Coded by: Krishna Eydat-->
<SCRIPT language=JavaScript>
var NS4 = (document.layers);&nbsp;&nbsp;&nbsp;
var IE4 = (document.all);
var win = window;&nbsp;&nbsp;&nbsp;
var n&nbsp;&nbsp; = 0;
function findInPage(str) {
&nbsp; var txt, i, found;
&nbsp; if (str == "")
&nbsp;&nbsp;&nbsp; return false;
&nbsp; if (NS4) {
&nbsp;&nbsp;&nbsp; if (\!win.find(str))
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while(win.find(str, false, true))
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n++;
&nbsp;&nbsp;&nbsp; else
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n++;
&nbsp;&nbsp;&nbsp; if (n == 0)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alert("Not found.");
&nbsp; }
&nbsp; if (IE4) {
&nbsp;&nbsp;&nbsp; txt = win.document.body.createTextRange();
&nbsp;&nbsp;&nbsp; for (i = 0; i <= n && (found = txt.findText(str)) \!= false; i++) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txt.moveStart("character", 1);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txt.moveEnd("textedit");
&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp; if (found) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txt.moveStart("character", \-1);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txt.findText(str);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txt.select();
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txt.scrollIntoView();
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n++;
&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp; else {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (n > 0) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n = 0;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; findInPage(str);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alert("Sorry, we couldn't find.Try again");
&nbsp;&nbsp; }
&nbsp; }
&nbsp; return false;
}
</SCRIPT>

<FORM name=search onsubmit="return findInPage(this.string.value);">
<P align=center><FONT size=3>
<INPUT
style="BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: #666666 1px solid; BORDER-BOTTOM: #666666 1px solid"
onchange="n = 0;" size=16 name=string></FONT><BR><INPUT style="BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: #ffffff 1px solid; BORDER-BOTTOM: #ffffff 1px solid; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #aaaaaa" type=submit value=Search in page ><center><font size=2pt;><font family=Times New Roman;><b>

<font face="Tahoma"><a target="_blank" href="[http://www.htmlfreecodes.com/"><span|http://www.htmlfreecodes.com/%22%3E%3Cspan] style="font-size: 8pt; text-decoration: none">HTML Free Code</span></a></font>