| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Javascripts

Page history last edited by Jason 14 years, 3 months ago

new javascript code

 

<head>

<script type="text/javascript">

<!--

function myPopup8() {

win8 = window.open( "", "win8",

"status = 1, height = 300, width = 300, resizable = 0" )

;

win8.document.write('The Civil Service Reform Act of 1978 - Abolished the U.S. Civil Service Commission and distributed its primary functions among the U.S. Office of Personnel Management, the Merit Systems Protection Board, and the Equal Employment Opportunity Commission.');

}

//-->

</script>

</head>

<body>

<a onClick="myPopup8()"><b onmouseout="this.style.color = 'black';" onmouseover="this.style.color = 'red';" align="justify">

The Civil Service Reform Act of 1978 </b></a>

</body>

 

 

Hey guys, so we can't use javascripts because it can only be enabled by admins.  This means Dr. Berry or other admins are the only ones able to enable javascripts, so we're going to have to work something out i guess. But just so you guys have the script I'm posting it here.

So here is the javascript to get a popup window to a different URL.  The text will also automatically be bolded by the script and when your mouse goes over it it will turn from black to red.

 

Definition Javascript

 

To use it just insert the URL you want to be brought up in the first underlined area , and insert the word your using in the second underlined area I'm pointing too:

 

 

If you want to see what it can do go to this URL and click on the My Popup text:

http://jasonprivatepage.pbworks.com/#view=page

 

So the script above is for a URL popup.  If you just want text use use the following updated script

 

Definition javascript updated

 

The word you want defined is still the same.  Just use the area inbetween the win3.document.write(' bla ') to write what you want to show up in the popup.

 

A working script:

Bureaucracy

Comments (1)

Safatul said

at 6:07 pm on Nov 4, 2009

Just to add on to this, we can easily create a simple web-page so it posts a definition or something by changing the URL at "#1."
I'm thinking a page on our st gregory server may be the easiest, so we can try that.

You don't have permission to comment on this page.