Tampilan Daftar Perintah Walikota di SKPD
B-1
Index.php
?php session_start;
? DOCTYPE html PUBLIC -W3CDTD
XHTML 1.0 StrictEN http:www.w3.orgTRxhtml1DTDxhtm
l1-strict.dtd html
xmlns=http:www.w3.org1999xhtml head
titlePengaduan | Dinas Provinsi Jawa Barattitle
meta http-equiv=content-type content=texthtml; charset=utf-8
link rel=stylesheet href=cssstyle.css type=textcss
link href=cssbasic.css type=textcss rel=stylesheet
script src=jsjquery-1.4.2.js type=textjavascript charset=utf-
8script script
src=jsjquery.tools.minacbd.js type=textjavascript charset=utf-
8script script
src=jsjquery.uniform.min.js type=textjavascript charset=utf-
8script link media=screen
rel=stylesheet href=csscolorbox.css
link media=screen rel=stylesheet
href=cssfieldset.css script type=textjavascript
src=js_sharedEnhanceJSenhance.js script
script src=jsjquery.colorbox.js
type=textjavascript charset=utf- 8script
script type=textjavascript charset=utf-8
document.readyfunction { legend.clickfunction{
this.childrenb.toggleCl asscollapsed;
this.nextAlldiv.contentfi eldset.slideToggle500;
}; fieldset.topleft1
legend.childrenb.addClasscoll apsed;
fieldset.topleft1 legend.nextAlldiv.contentfieldset
.hide; fieldset.topleft2
legend.childrenb.addClasscoll apsed;
fieldset.topleft2 legend.nextAlldiv.contentfieldset
.hide; };
document.readyfunction{ Examples of how to assign
the ColorBox event to elements a[rel=example1].colorbo
x; a[rel=example2].colorbo
x{transition:fade}; a[rel=example3].colorbo
x{transition:none, width:75, height:75};
a[rel=example4].colorbo x{slideshow:true};
.example5.colorbox; .example6.colorbox{ifram
e:true, innerWidth:425, innerHeight:344};
.example7.colorbox{width :80, height:80, iframe:true};
.example8.colorbox{width :50, inline:true,
href:inline_example1}; .example9.colorbox{
onOpen:function{ alertonOpen: colorbox is about to
open; }, onLoad:function{
alertonLoad: colorbox has started to load the targeted content; },
onComplete:function{ alertonComplete: colorbox has
displayed the loaded content; }, onCleanup:function{
alertonCleanup: colorbox has begun the close process; },
onClosed:function{ alertonClosed: colorbox has
completely closed; } };
Example of preserving a JavaScript event for inline calls.
click.clickfunction{ click.css{background-
color:f00, color:fff, cursor:inherit}.textOpen this
window again and this message will still be here.;
return false;
}; };
function showFilterstr { if str=={
B-2
document.getElementByIdcontent.in nerHTML=;
return; }
if window.XMLHttpRequest { code for IE7+, Firefox, Chrome, Opera,
Safari xmlhttp=new XMLHttpRequest;
} else { code for IE6, IE5 xmlhttp=new
ActiveXObjectMicrosoft.XMLHTTP; }
xmlhttp.onreadystatechange=function {
if xmlhttp.readyState==4 xmlhttp.status==200 {
document.getElementByIdcontent.in nerHTML=xmlhttp.responseText;
} }
xmlhttp.openGET,index.php?to=Ha silPengujian+url+id=+str,true;
xmlhttp.openGET,index2.php?+str, true;
xmlhttp.send; }
document.readyfunction { choose text for the showhide link
var showText=Show respond list; var hideText=hide respond list;
create the toggle link hide_this.beforepa
href= id=toggle_link+showText+a;
hide the content hide_this.hide;
capture clicks on the newly created link
atoggle_link.clickfunction { change the link text
if atoggle_link.text==showText
{ atoggle_link.texthideText;
} else {
atoggle_link.textshowText; }
toggle the display hide_this.toggleslow;
return false so any link destination is not followed
return false; };
};
function confirmSubmit {
var agree=confirmApakah Anda Yakin Akan Melanjutkan?;
if agree
return true ; else
return false ; }
?php if_GET[to]==statistik ||
_GET[to]== { Run capabilities test
? enhance{
loadScripts:
[ {src:
jsexcanvas.js, iecondition: all},
jsvisualize.jQuery.js, jsexample.js
] ,
loadStyles: [
cssvisualize.css, cssvisualize-light.css
] };
?php }
? pic1 = new Image16, 16;
pic1.src=imagesloading.gif; document.readyfunction{
username.changefunction { var usr = username.val;
ifusr.length = 4 {
status.htmlimg src=imagesloading.gif
align=absmiddlenbsp;Checking availability...;
.ajax{ type: POST,
url: action.php?to=check_user, data: username=+ usr,
success: functionmsg{ status.ajaxCompletefunctionev
ent, request, settings{
ifmsg == OK {
username.removeClassobject_er ror; if necessary
username.addClassobjec t_ok;
this.htmlnbsp;img src=tick.gif align=absmiddle;
} else
{