I need to make a 1 time use required interactive prompt. part of web assistant duties state compliance issue.
This will require..
content container.
Place the content into a div container. Give it a unique id, and set it’s display:none.
<div id=”myprompt” style=”display:none” >Here is my exciting and important content. It needs your response.This will interrupt your user flow until you respond.</div>
This is in mysvc.asp
external styling.
I make a custom style for the div container give it a good location, and to make it look important. Style the top, left, width, height, borders text and background to match the theme.
This is a style defined in mysvcdb.css as promptstyle.
interactive response form.
This is the content for the prompt. It is a question that needs a response, the best use for a web form, no? Make a standard web form for now. In the content container in mysvc.asp
Asp form capture logic.
This will be the logic to capture the user response to the form. you can use your flavor of server side languages. Im using classic asp here. Benjy whipped this up and i made a few changes
The file is votereg.asp
Javascript Logic
to Show and hide the content based on the user interaction.
Storage of user interaction results
So no repeat. Could use user request.cookie…dom storage … User preference database storage.
Logic to check user compliance to requirements at login.
check cookie or db storage for compliance.