Included below are some examples of hand-coded client side (browser) application logic created.
*** JAVASCRIPT FUNCTIONS – MANIPULATES FORM DATE VALUES FOR UPDATING DATABASE |
function AddDateTime() { var DayTimeTotal = “”; var DayTimeTotal = document.ToolTest.Date_Menu.value + document.ToolTest.starttime.value + document.ToolTest.starttimezone.value; var GetTime = document.ToolTest.starttime.value; var GetTz = document.ToolTest.starttimezone.value; if (DayTimeTotal.length > 0) { } } function textValue() { var DisplayInteger, DisplayString = “”; DisplayInteger=document.ToolTest.starttime.selectedIndex DisplayString=document.ToolTest.starttime.options[DisplayInteger].text if (DisplayString.length > 0) { document.ToolTest.DisplayText.value = “Value is ” + DisplayString +”!” } } // End –> |
*** VBSCRIPT FUNCTION – MANIPULATES FORM DATE VALUES FOR PASSING TO JAVASCRIPT |
Function AddMins
Dim TheForm, GetHr, GetMin, GetTZ, AddTZ, AddTMins, SetGameTime, Test ‘ Set TheForm = Document.forms(“form1”) |
*** JAVASCRIPT – TIMER CODE FOR ONLINE TEST APP – CAPTURE DURATION + FORCING TEST END TIME |
<BODY onload=”startClock(); startTime();”> <script language=”JavaScript”><!– var Temp; var TimerId = null; var TimerRunning = false; Seconds = 0 Minutes = 0 Hours = 0 function showtime() if(Seconds != 1) { var ss=”s” } else { var ss=”” } Temp = ‘Elapsed Time is ‘+Hours+’ hour’+hs+’, ‘+Minutes+’ minute’+ms+’, ‘+Seconds+’ second’+ss+” function stopClock() { function startClock() { function stat(txt) { function erase() { function startTime() { document.test.t_date.value = ((hours < 10) ? ‘0’ + hours : hours) + return; } function finishTime() { document.test.s_time.value = ((hours < 10) ? ‘0’ + hours : hours) + loadDoc(); } */ // –> |
*** ACTIVEXSCRIPT – DUAL CODE TO ENABLE CROSS BROWSER FUNCTIONALITY |
<SCRIPT LANGUAGE=”VBScript”>
sub DemoTxt_MouseDown (Button, Shift, X, Y) sub Demo_MouseDown (Button, Shift, X, Y) <DIV BACKGROUND=”#ffffff” ID=”Demo_alx” <OBJECT ID=”DemoTxt” WIDTH=370 HEIGHT=140 |
*** JAVASCRIPT / ACTIVEXSCRIPT – DUAL CODED TO SUPPORT CROSS BROWSER FUNCTIONALITY |
<!– section f: navigation tabs –> <tr><td colspan=8 width=590>u0026amp;nbsp;</td></tr> <tr><td width=160 valign=top><nobr><IMG SRC=”../graphics/t_empty85.gif” ALT=”.” WIDTH=”85″ HEIGHT=”71″ BORDER=”0″><a href=”/index.htm” onMouseOut=”out(‘home’);” onMouseOver=”over(‘home’) ;”><IMG NAME=”home” SRC=”../gfx/t_home.gif” ALT=”home” WIDTH=”75″ HEIGHT=”71″ BORDER=”0″></a></nobr></td><td width=20 valign=top align=left><IMG SRC=”/graphics/t_empty20.gif” WIDTH=”20″ HEIGHT=”71″ BORDER=”0″></td><td width=410 colspan=6 valign=top><nobr><OBJECT CLASSID=”CLSID:812AE312-8B8E-11CF-93C8-00AA00C08FDF” ID = “tab2_alx” STYLE = “LEFT:0;TOP:0;WIDTH:375;HEIGHT:71;”><PARAM NAME = “ALXPATH” REF VALUE=”/alx/tab2.alx”><a href=”../maps/tj_welcome.map” onMouseOut=”out(‘welcome’);” onMouseOver=”over(‘welcome’) ;”><IMG NAME=”welcome” SRC=”/graphics/t_welcome.gif” ALT=”welcome” WIDTH=”75″ HEIGHT=”71″ BORDER=”0″ ISMAP></a><a href=”/maps/tj_nav.map” onMouseOut=”out(‘navigation’);” onMouseOver=”over(‘navigation’) ;”><IMG NAME=”navigation” SRC=”/graphics/t_nav.gif” ALT=”navigation” WIDTH=”75″ HEIGHT=”71″ BORDER=”0″ ISMAP></a><a href=”/maps/tj_services.map” onMouseOut=”out(‘services’);” onMouseOver=”over(‘services’) ;”><IMG NAME=”services” SRC=”/graphics/t_services.gif” ALT=”services” WIDTH=”75″ HEIGHT=”71″ BORDER=”0″ ISMAP></a><a href=”/maps/tj_news.map” onMouseOut=”out(‘features’);” onMouseOver=”over(‘features’) ;”><IMG NAME=”features” SRC=”/graphics/t_news.gif” ALT=”news” WIDTH=”75″ HEIGHT=”71″ BORDER=”0″ ISMAP></a><a href=”/maps/tj_cities.map” onMouseOut=”out(‘cities’);” onMouseOver=”over(‘cities’) ;”><IMG NAME=”cities” SRC=”/graphics/t_cities.gif” ALT=”cities” WIDTH=”75″ HEIGHT=”71″ BORDER=”0″ ISMAP></a></OBJECT><IMG SRC=”/graphics/t_empty35.gif” ALT=”nothing” WIDTH=”35″ HEIGHT=”71″ BORDER=”0″></nobr></td></tr> |
*** LINGO – MACROMEDIA SHOCKWAVE (DIRECTOR) APPLET – NFL JAX JAGUARS |
on startmovie global basejagschannel, basecast, channum, jagdelay, jagpausestate, slowmostatus, voiceintrodelay, endofroto — —the next variable is how many seconds of narration before motion — set voiceintrodelay = 6.2 * 60 — —the next variable is the exact last frame of rotoscoping —this should be exactly one frame prior to “end” label —and should be the exact frame where the dissolve takes place — set endofroto = 127 — —the next variable is where the jaguar sprites start set basejagschannel = 5 set basecast = 51 set channum = 0 set jagpausestate = FALSE set slowmostatus = FALSE global syncstart, jagfps, jagtps, tempocastbase, tempocast — — — |