HP WebQoS Software manual Appendix a 165

Models: WebQoS Software

1 182
Download 182 pages 33.13 Kb
Page 165
Image 165

Policy and Rule Descriptions

Policies Set in WebQoS

<SCRIPT LANGUAGE="java-script">

<!-- Hide from non java-script browsers

function clockTick()

{

now = (new Date()).getTime();

remaining = Math.max(Math.round((finalTime - now) / 1000),0);

minutes = Math.floor(remaining / 60); seconds = remaining % 60;

if(seconds<10) secondString = "0" + seconds; else secondString = "" + seconds;

document.clock_form.clock.value = " "+ minutes + ":" + secondString;

document.clock_form.clock.blur();

if(remaining > 0) setTimeout("clockTick()", 1000); else dialog();

}

finalTime = (new Date()).getTime() + (TOTALSECKEY * 1000); clockTick();

//End of clock --> </SCRIPT>

<P> Why not

<a href="DEFERURLKEY" target=_blank><i> view coupons</i></a> while you wait? </P>

Your Defer page can also include a popup window that prompts the user to enter the site after the defer timer has expired (see Figure A-3).

Appendix A

165

Page 165
Image 165
HP WebQoS Software manual Appendix a 165