Skip to content

yanhuiyi/misc-jscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Miscellaneous JavaScript Code

A repo to track down JS code.

In your web page:

<script src="parentWinRedirect.js"></script>

Documentation

(Coming soon)

Examples

The custom error display function, you should define when you call the validate function:

<script src="parentWinRedirect.js"></script>
<script>
  var dest = null;
  	
	document.getElementById('btn').onclick = function() {
	  dest = window.open('', '_blank', 'fullscreen=no, width=500, height=700, resizable=no');	
			parentWinRedirect(dest, "http://www.google.com/", 500);	
	}
</script>

Release History

(Nothing yet)

About

The repo for tracking miscellaneous javascript code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published