Difference between revisions of "User:Ockham/sandbox"

MyWikiBiz, Author Your Legacy — Sunday April 28, 2024
Jump to navigationJump to search
(Replacing page with '<embed> <script type="text/javascript" src="http://widgetserver.com/syndication/subscriber/InsertPanel.js?panelId=eae283bb-c474-4a6f-90de-c405e4ca9a86"></script> </embed>')
Line 1: Line 1:
 
<embed>
 
<embed>
<script type="text/javascript" src="http://widgetserver.com/syndication/subscriber/InsertPanel.js?panelId=eae283bb-c474-4a6f-90de-c405e4ca9a86"></script>
+
function siteSearch (website, expression )
 +
{
 +
  var new_url= "http://www.google.com/search?hl=en&q=" + expression + "+site%3Ahttp%3A%2F%2F" + website + "&meta=";
 +
  if (  (new_url != "")  &&  (new_url != null)  )
 +
{
 +
if (website == "Google")
 +
{
 +
      new_url = "http://www.google.com/search?hl=en&q=" + expression
 +
}
 +
window.location= new_url;
 +
}
 +
  else
 +
      alert("\nYou must make a selection.");
 +
}
 +
 
 +
function searchPerseus (expression )
 +
{
 +
var new_url= "http://www.perseus.tufts.edu/cgi-bin/morphindex?lookup=" + expression + "&.submit=Analyze+Form&lang=la&formentry=1";
 +
      window.location= new_url;
 +
}
 +
 
 +
function getSumma (Book, Quaestio, Articulus)
 +
{
 +
  var new_url;
 +
            if (Quaestio < 100) {
 +
                        Book = Book + "0"}
 +
      new_url = "http://www.newadvent.org/summa/"+ Book + "0900.htm";
 +
window.location= new_url;
 +
}
 +
 
 
</embed>
 
</embed>

Revision as of 14:53, 31 October 2009

<embed> function siteSearch (website, expression ) {

  var new_url= "http://www.google.com/search?hl=en&q=" + expression + "+site%3Ahttp%3A%2F%2F" + website + "&meta=";
  if (  (new_url != "")  &&  (new_url != null)  )

{ if (website == "Google") {

     	new_url = "http://www.google.com/search?hl=en&q=" + expression

} window.location= new_url; }

  else
     alert("\nYou must make a selection.");

}

function searchPerseus (expression ) { var new_url= "http://www.perseus.tufts.edu/cgi-bin/morphindex?lookup=" + expression + "&.submit=Analyze+Form&lang=la&formentry=1";

     window.location= new_url;

}

function getSumma (Book, Quaestio, Articulus) {

  var new_url;
           if (Quaestio < 100) {
                       Book = Book + "0"}
     new_url = "http://www.newadvent.org/summa/"+ Book + "0900.htm";

window.location= new_url; }

</embed>