User:Tomaschwutz

From Wikiversity

Jump to: navigation, search

Just discovering wikiversity, I find it a good idea to capture a learning process and to share it with others.

I am new to wikis. Be patient with me. Constructuve criticism and guidance are welcome.

Contents

[edit] Intro

[edit] Support

[edit] Ideas

  • Science learning portal
    • [- Wikiversity] (open content, religion, consencus, Time, etc. )

[edit] Projects

[edit] Configuration

[edit] Instaview

function ScrollToElement(theElement){
  var selectedPosX = 0;
  var selectedPosY = 0;
  while(theElement != null){
    selectedPosX += theElement.offsetLeft;
    selectedPosY += theElement.offsetTop;
    theElement = theElement.offsetParent;
  }
 //alert(selectedPosY);
 //window.scrollTo(selectedPosX,selectedPosY);
 //window.scrollTo(0,selectedPosY);
 window.content.document.documentElement.scrollTop = selectedPosY;
}

var b = window.content.document.getElementById("InstaViewDump")
ScrollToElement(b)