Forum Moderators: phranque
Also, what are the best form scripts for contact, etc.?
Lastly, what is the best way to add a members section to a website?
All replies are appreciated.
Thank you!
QUESTION: What would you say is the best drop-down script available
ANSWER: This. [javascript.cooldev.com] Very customizable.
However, if you're looking for a space saver this [a1javascripts.com] it it.
The menu appears when the user right clicks. It can also stop people viewing your source code.
If you wish people to view source copy this script onto your website:
<script>
<!--
function sourcecode(){
window.location="view-source:"+window.location
}
//Place all this script in your BODY tag
//-->
</script>
<a href="javascript:sourcecode()"> To view the source code click here </a> -------------
Hope this helps
What is the best way to add a members section to your website?
The best way, in theory, would be to manually check your visitors through email notification, but in practice, the automatically adding members to a db is this best option. I am unable to give you the signup code.
If your site does not have a db, you can create a page which sorts out invalid users. I created a sample one using asp.
<%
response.cookies("oktoenter")="example"
session.timeout=300
response.cookies("name") = request("visitor")
session.timeout=1440 'Sets cookies so users don't have to login again and again
%>
<html><head><title>Checking Your User Status</title><link href="/default.css" type="text/css" rel="stylesheet">
</head>
<body bgcolor="#6666FF">
<%
'Identifies the page to loginto
If request("visitor") = "demo" AND request("password") = "demo" Then
redir = "treckonwards/intothisdemo"
ElseIf request("redirect") = "xtra" Then
redir = "treckonwards/intoxtra"
Else
response.write "<font color=#000099><b>Internal Server Error:</b> <br><br> " &_
"Login page not added yet " 'End
End If
'Identifies the user and tells them where to go
If request ("visitor") = "1" AND request ("password") = "1a" Then
response.redirect redir
ElseIf request ("visitor") = "2" AND request ("password") = "2a" Then
response.redirect redir
ElseIf request ("visitor") = "3" AND request ("password") = "3a" Then
response.redirect redir
ElseIf request ("visitor") = "demo" AND request ("password") = "demo" Then
response.redirect redir
Else
response.redirect "rejected.asp" 'If their login info isn't there redirect them to rejected.asp
End If
%>
</body></html> If you have asp, I hope this helps. If you don't I hope the information at the top helps.
Reply if it does not//
'cmatcme
QUESTION: What is the best form scripts for contact etc
ANSWER: This [tele-pro.co.uk] is very customizable just like the top one.
Just like most contact scripts, unless you want another company to host it for you, (which means you are willing to put up with their adfarms) you'll need either need Perl for Windows or Unix, ASP or PHP. If you unsure if you have one of them, please check with your server!
Additionally you can customize this feedback script to act as a subscribe form.