|
|
| About site: Programming/Languages/JavaScript/Tools - JavaScript Creator |
Return to Computers also Computers |
| About site: http://www.wsabstract.com/script/JHP10.html |
Title: Programming/Languages/JavaScript/Tools - JavaScript Creator Code generation wizards for alert box, background color, prompts, confirm, status message, background fade. |
|
|
|
|
Full_Multimedia_Agency Offers digital video and multimedia production services.
| P4_Pascal_Implementation Complete implementation of the P4 Pascal compiler and interpreter. Source for the compiler is available in C and Pascal.
| XSL_Lint A semantic lint checker for that detects poor syntax and redundant areas of a stylesheet.
| Recovery_for_Exchange_Server Data recovery program for MS Exchange Server fixes EDB and STM problems.
| Lone_Star_Media Provide site design and development services.
| En-Dering_WebWorks Provides web and graphics design, logos, maintenance, and optimization services.
|
|
| Alexa statistic for http://www.wsabstract.com/script/JHP10.html |
Please visit: http://www.wsabstract.com/script/JHP10.html
|
| Related sites for http://www.wsabstract.com/script/JHP10.html |
| Simply_RISC Designs and supports open-source RISC processors, systems, peripherals; sells S1 Core, a 64-bit Wishbone-compliant CPU Core based on reduced Sun Microsystems OpenSPARC T1 microprocessor. Catania, Ital | | Taylor,_Andrew University of New South Wales - Application of logic programming, compiler technology, computers and biology, knowledge acquisition, knowledge representation, logic programming systems, program analys | | The_University_of_Waikato_Usability_Laboratory An academic group doing Usability testing and consulting | | Linux_Laughs Collection of various humor bits. | | Object_Oriented_Programming_in_C Paul Field's fine, clear paper, published in C Vu 4:1 (November 1991), on how to use an object-like discipline with a procedural language. | | Bass,_J_H_ Programming, tutorials, source codes in Qbasic, Vbasic, Pascal, Logo and Dbase. Education and reference links. | | Free,_Libre_and_Open_Source__Caribbean (Archive, Jun 2003). Official website of the free, libre and open source conference in Trinidad & Tobago. | | SCO_Set_to_Take_SGI\'s_Unix_License_Away SGI may join IBM on SCO list of intellectual property thieves. In recent SEC filing, SGI says SCO threatened to revoke SGI Unix license due to a breach of contract, similar to IBM complaint, to disrup | | Digital_Frog_International [Win Mac] Natural science software for virtual frog dissection and field trips. Includes product and company information, online ordering, technical support and user resources. | | Zetamania A fan site for Zetapets. Includes pictures, tips, and news. | | Internetters_Limited Register the internet domain name online. | | Sky_Pics Images of the sky and clouds, in three sizes. | | Win32_Assembly_Programming_Using_RosAsm Various Win32 assembly programs available. | | Config__General Generic Perl module for reading and writing complex configuration files. Listed on CPAN. | | PyLint An extensible tool that checks if a module satisfies a given coding standard. | | Tutorial__Introduction_to_XML Digital Web Magazine presents a short overview of basic XML concepts. | | Business_Internet_Services Offering web design, hosting assistance, and maintenance services. Based in Washington. | | Illumine_Studios Offering web site hostingand internet multimedia development using audio, video, Flash and custom graphic design. | | Your-Web-Guys Domain registration, search engine optimization, and hosting services. | | MegaNet Develops and hosts web applications. |
|
This is websites2007.org cache of m/ as retrieved on 2008.09.07 websites2007.org's cache is the snapshot that we took of the page as we crawled the web. The page may have changed since that time.
|
|
JHP10
var content = "";
var BGCHANGE = " function initArray() "+
"{ "+
" this.length = initArray.arguments.length; "+
" for (var i = 0; i < this.length; i++); "+
" this[i+1] = initArray.arguments[i]; "+
"} "+
"var hexChars = \"0123456789ABCDEF\"; "+
"function Dec2Hex (Dec) "+
"{ "+
" var a = Dec % 16; "+
" var b = (Dec - a)/16; "+
" hex = \"\" + hexChars.charAt(b) + hexChars.charAt(a); "+
" return hex; "+
"} "+
"function BGCHANGE (begin, end, steps) "+
"{ "+
" steps = steps -1 ; "+
" redA = begin.charAt(0) + begin.charAt(1); "+
" red_valA = parseInt(redA,'16'); "+
" redB = end.charAt(0) + end.charAt(1); "+
" red_valB = parseInt(redB,'16'); "+
" red_int = ((red_valB - red_valA) / steps) * -1; "+
" grnA = begin.charAt(2) + begin.charAt(3); "+
" grn_valA = parseInt(grnA,'16'); "+
" grnB = end.charAt(2) + end.charAt(3); "+
" grn_valB = parseInt(grnB,'16'); "+
" grn_int = ((grn_valB - grn_valA) / steps) * -1; "+
" bluA = begin.charAt(4) + begin.charAt(5); "+
" blu_valA = parseInt(bluA,'16'); "+
" bluB = end.charAt(4) + end.charAt(5); "+
" blu_valB = parseInt(bluB,'16'); "+
" blu_int = ((blu_valB - blu_valA) / steps) * -1; "+
" step = 2; "+
" red = red_valA; "+
" grn = grn_valA; "+
" blu = blu_valA; "+
" document.bgColor = begin; "+
" while ( steps >= step ) "+
" { "+
" red -= red_int; "+
" red_round = Math.round(red); "+
" red_hex = Dec2Hex(red); "+
" grn -= grn_int; "+
" grn_round = Math.round(grn); "+
" grn_hex = Dec2Hex(grn); "+
" blu -= blu_int; "+
" blu_round = Math.round(blu); "+
" blu_hex = Dec2Hex(blu); "+
" document.bgColor = red_hex + grn_hex + blu_hex; "+
" step++; "+
" } "+
" document.bgColor = end; "+
"} "+
" "
\n\")
}
}
//////////////////////
//// Background /////
////////////////////
function EXBGCOLOR()
{
document.bgColor='0000FF'
}
function BGCOLORTEST()
{
var BGCOLORVALUE = document.Add.BGCOLORVALUE.value
if(BGCOLORVALUE == ''){}
else
{
document.bgColor=BGCOLORVALUE
}
}
function BGCOLORSOURCE()
{
var BGCOLORVALUE = document.Add.BGCOLORVALUE.value
if(BGCOLORVALUE == ''){}
else
{
document.Add.write.value = ("\n\n\")
}
}
////////////////////////
///// Window Open /////
//////////////////////
function EXWINDOWOPEN()
{
window.open("http://www.geocities.com","windowname","height=320,width=400,scrollbars,resizable")
}
function WINDOWOPENTEST()
{
var WINDOWOPENVALUE = document.Add.WINDOWOPENVALUE.value
if(WINDOWOPENVALUE == ''){}
else
{
window.open(WINDOWOPENVALUE,"windowname","height=320,width=320,scrollbars,resizable")
}
}
function WINDOWOPENSOURCE()
{
var WINDOWOPENVALUE = document.Add.WINDOWOPENVALUE.value
if(WINDOWOPENVALUE == ''){}
else
{
document.Add.write.value = ("\n\n\")
}
}
////////////////////////
///// Prompts /////
//////////////////////
function EXPROMPT()
{
var contain="";
contain=" TemporaryWindow\n\")
}
//////////////////
///// News //////
////////////////
var TIME = "";
function NEWSTEST()
{
document.Add.write.focus();
if(document.Add.NEWSVALUE1.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE1.value\)",0);
if(document.Add.NEWSVALUE2.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE2.value\)",2000);
if(document.Add.NEWSVALUE3.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE3.value\)",4000);
if(document.Add.NEWSVALUE4.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE4.value\)",6000);
if(document.Add.NEWSVALUE5.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE5.value\)",8000);
if(document.Add.NEWSVALUE6.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE6.value\)",10000);
if(document.Add.NEWSVALUE7.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE7.value\)",12000);
if(document.Add.NEWSVALUE8.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE8.value\)",14000);
if(document.Add.NEWSVALUE9.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE9.value\)",16000);
if(document.Add.NEWSVALUE10.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE10.value\)",18000);
if(document.Add.NEWSVALUE11.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE11.value\)",20000);
if(document.Add.NEWSVALUE12.value == '') {}
else
{
setTimeout("document.Add.write.value = \(document.Add.NEWSVALUE12.value\)",22000);
}
}
}
}
}
}
}
}
}
}
}
}
}
function EXNEWS()
{
document.Add.write.focus()
setTimeout("document.Add.write.value = \('This is an')",0);
setTimeout("document.Add.write.value = \('example')",2000);
setTimeout("document.Add.write.value = \('of News')",4000);
setTimeout("document.Add.write.value = \('')",6000);
}
function NEWSSOURCE()
{
if(document.Add.NEWSVALUE1.value == '') { var NEWS1 = '' }
else
{ var NEWS1 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE1.value+'\'\)\",0\)\n'
TIME="2000"; }
if(document.Add.NEWSVALUE2.value == '') { var NEWS2 = '' }
else
{ var NEWS2 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE2.value+'\'\)\",2000\)\n'
TIME="4000"; }
if(document.Add.NEWSVALUE3.value == '') { var NEWS3 = '' }
else
{ var NEWS3 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE3.value+'\'\)\",4000\)\n'
TIME="6000"; }
if(document.Add.NEWSVALUE4.value == '') { var NEWS4 = '' }
else
{ var NEWS4 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE4.value+'\'\)\",6000\)\n'
TIME="8000"; }
if(document.Add.NEWSVALUE5.value == '') { var NEWS5 = '' }
else
{ var NEWS5 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE5.value+'\'\)\",8000\)\n'
TIME="10000"; }
if(document.Add.NEWSVALUE6.value == '') { var NEWS6 = '' }
else
{ var NEWS6 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE6.value+'\'\)\",10000\)\n'
TIME="12000"; }
if(document.Add.NEWSVALUE7.value == '') { var NEWS7 = '' }
else
{ var NEWS7 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE7.value+'\'\)\",12000\)\n'
TIME="14000"; }
if(document.Add.NEWSVALUE8.value == '') { var NEWS8 = '' }
else
{ var NEWS8 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE8.value+'\'\)\",14000\)\n'
TIME="16000"; }
if(document.Add.NEWSVALUE9.value == '') { var NEWS9 = '' }
else
{ var NEWS9 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE9.value+'\'\)\",16000\)\n'
TIME="18000"; }
if(document.Add.NEWSVALUE10.value == '') { var NEWS10 = '' }
else
{ var NEWS10 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE10.value+'\'\)\",18000\)\n'
TIME="20000"; }
if(document.Add.NEWSVALUE11.value == '') { var NEWS11 = '' }
else
{ var NEWS11 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE11.value+'\'\)\",20000\)\n'
}
if(document.Add.NEWSVALUE12.value == '') { var NEWS12 = '' }
else
{ var NEWS12 = 'setTimeout\(\"document.news.news.value = \(\''+document.Add.NEWSVALUE12.value+'\'\)\",22000\)\n'
TIME="22000"; }
document.Add.write.value = ("\n\n\\n\n\n\n")
}
//////////////////
//// Status /////
////////////////
function EXSTATUS()
{
window.status="This is your own customized message!"
setTimeout("window.status=''",10000)
}
function STATUSTEST()
{
window.status=document.Add.STATUSVALUE.value
setTimeout("window.status=''",10000)
}
function STATUSSOURCE()
{
if(document.Add.STATUSVALUE.value=='') {}
else {
document.Add.write.value = ("\n\n\")
}
}
////////////////////
//// Fading BG ////
//////////////////
function FADESOURCE()
{
var STARTFADEVALUE = document.Add.STARTFADEVALUE.value;
var ENDFADEVALUE = document.Add.ENDFADEVALUE.value;
if(STARTFADEVALUE == '') {}
if(ENDFADEVALUE == '') {}
else
{
document.Add.write.value = ("Background Changing\n\nfunction initArray\(\)\n{\n this.length = initArray.arguments.length\n for \(var i \= 0; i < this.length; i++\)\n this\[i\+1\] = initArray.arguments\[i\]\n}\nvar hexChars \= \"0123456789ABCDEF\";\n function Dec2Hex \(Dec\)\n {\n var a = Dec % 16;\n var b = \(Dec - a\)/16;\n hex = \"\" + hexChars.charAt\(b\) + hexChars.charAt\(a\);\n return hex;\n}\n function CHANGEBG \(begin\, end\, steps\) { steps \= steps \-1 ;\n redA \= begin.charAt\(0\) + begin.charAt\(1\);\n red_valA \= parseInt\(redA,'16'\);\n redB \= end.charAt\(0\) + end.charAt\(1\);\n red_valB \= parseInt\(redB,'16'\);\n red_int \= \(\(red_valB - red_valA\) / steps\) * -1;\n grnA \= begin.charAt\(2\) + begin.charAt\(3\);\n grn_valA \= parseInt\(grnA,'16'\);\n grnB \= end.charAt\(2\) + end.charAt\(3\);\n grn_valB \= parseInt\(grnB,'16'\);\n grn_int \= \(\(grn_valB - grn_valA) / steps\) * -1;\n bluA \= begin.charAt\(4\) + begin.charAt\(5\);\n blu_valA \= parseInt\(bluA,'16'\);\n bluB \= end.charAt\(4\) + end.charAt\(5\);\n blu_valB \= parseInt\(bluB,'16'\);\n blu_int \= \(\(blu_valB - blu_valA\) / steps\) * -1;\n step \= 2;\n red \= red_valA;\n grn \= grn_valA;\n blu \= blu_valA;\n document.bgColor = begin;\n while \( steps >\= step \) \n {\n red \-\= red_int;\n red_round = Math.round\(red\);\n red_hex = Dec2Hex\(red\);\n grn -\= grn_int;\n grn_round = Math.round\(grn\);\n grn_hex = Dec2Hex\(grn\);\n blu -\= blu_int;\n blu_round = Math.round\(blu\);\n blu_hex = Dec2Hex\(blu\);\n document.bgColor \= red_hex + grn_hex + blu_hex;\n step\+\+;\n }\n document.bgColor \= end;\n}\n\n\n\\n\n")
}
}
function FADETEST()
{
var STARTFADEVALUE = document.Add.STARTFADEVALUE.value;
var ENDFADEVALUE = document.Add.ENDFADEVALUE.value;
if(STARTFADEVALUE == '') {}
if(ENDFADEVALUE == '') {}
else
{
document.Add.HIDE.value = ("Background Changing\n\nfunction initArray\(\)\n{\n this.length = initArray.arguments.length\n for \(var i \= 0; i < this.length; i++\)\n this\[i\+1\] = initArray.arguments\[i\]\n}\nvar hexChars \= \"0123456789ABCDEF\";\n function Dec2Hex \(Dec\)\n {\n var a = Dec % 16;\n var b = \(Dec - a\)/16;\n hex = \"\" + hexChars.charAt\(b\) + hexChars.charAt\(a\);\n return hex;\n}\n function CHANGEBG \(begin\, end\, steps\) { steps \= steps \-1 ;\n redA \= begin.charAt\(0\) + begin.charAt\(1\);\n red_valA \= parseInt\(redA,'16'\);\n redB \= end.charAt\(0\) + end.charAt\(1\);\n red_valB \= parseInt\(redB,'16'\);\n red_int \= \(\(red_valB - red_valA\) / steps\) * -1;\n grnA \= begin.charAt\(2\) + begin.charAt\(3\);\n grn_valA \= parseInt\(grnA,'16'\);\n grnB \= end.charAt\(2\) + end.charAt\(3\);\n grn_valB \= parseInt\(grnB,'16'\);\n grn_int \= \(\(grn_valB - grn_valA) / steps\) * -1;\n bluA \= begin.charAt\(4\) + begin.charAt\(5\);\n blu_valA \= parseInt\(bluA,'16'\);\n bluB \= end.charAt\(4\) + end.charAt\(5\);\n blu_valB \= parseInt\(bluB,'16'\);\n blu_int \= \(\(blu_valB - blu_valA\) / steps\) * -1;\n step \= 2;\n red \= red_valA;\n grn \= grn_valA;\n blu \= blu_valA;\n document.bgColor = begin;\n while \( steps >\= step \) \n {\n red \-\= red_int;\n red_round = Math.round\(red\);\n red_hex = Dec2Hex\(red\);\n grn -\= grn_int;\n grn_round = Math.round\(grn\);\n grn_hex = Dec2Hex\(grn\);\n blu -\= blu_int;\n blu_round = Math.round\(blu\);\n blu_hex = Dec2Hex\(blu\);\n document.bgColor \= red_hex + grn_hex + blu_hex;\n step\+\+;\n }\n document.bgColor \= end;\n}\n\n\n\\n\n")
}
newwin = window.open("","window","resizeable,width=300,height=200");
content = document.Add.HIDE.value;
setTimeout("newwin.document.write(content)",500);
}
function EXFADE()
{
newwin = window.open("fade.html","windowname","height=320,width=320,resizable")
}
// -->
Alert Box
Alert Message:
Background Color
Background Color:
New Windows
URL for the window:
Prompts
What the prompt says:
Confirm
What the confirm says:
News
News Line 1:
News Line 2:
News Line 3:
News Line 4:
News Line 5:
News Line 6:
News Line 7:
News Line 8:
News Line 9:
News Line 10:
News Line 11:
News Line 12:
Status Message
What the status should say:
Background Fade
Starting color of the background:
Ending color of the background:
|
|
| |
Code | generation | wizards | for | alert | box, | background | color, | prompts, | confirm, | status | message, | background | fade. |
|
http://www.wsabstract.com/script/JHP10.html
JavaScript Creator 2008 September
dvd rental
dvd
Code generation wizards for alert box, background color, prompts, confirm, status message, background fade.
Rules
|
© 2008 Internet Explorer 5+ or Netscape 6+
|
|
Recommended Sites: 1.
Arts -
Business -
Computers -
Games -
Health -
Home -
Kids and Teens -
News -
Recreation -
Reference -
Regional -
Science -
Shopping -
Society -
Sports -
World
Miss Gallery
- Top Anime Hentai
- DVD rental by mail
- Credit Cards - Car Credit - Payday Loan - Cell Phone - Just Holden Commodores
|