I need to modify the policy statement to suit our office environment and it seems the approved MOD for this is no longer available.
Since I'm not a coder, I don't understand why the policy statment is so complicated in terms of all the code.
Why can it not just be a simple file included somehow instead of all this & vbnewline & _ stuff. I want to be able include clickable email addresses and URLs in the policy statement, but the usual mailto: syntax just crashes the file and gives an error.
I don't know if the older version MOD will work - I've got the lastest install going. In any case, I've managed to edit the original file - I'm still stuck on how to get hyperlinks / mailto and text formatting ie, <b></b> working that file. When I use the usual html stuff the page fails to load and give me an error.
Because all the HTML is being sent to the browser via Response.Write statements, you'll need to double-quote your double quotes.
i.e. if you want the browser to send out: <a href="mailto:somebody@anemail.com">Don't click this</a>
Your statement will look like: Response.Write "text before the link <a href=""mailto:somebody@anemail.com"">Don't click this</a>. and text after the link"
Note that the whole thing is also enclosed in double quotes.
when you see & _ its telling the scripting engine that the statement continues on the next line.
www.w3schools.com has a good primer on ASP and VBScript if you want to find out more.