|
CodeAve.com - ASP - Miscellaneous | |||
|
|
||||
| AOL Instant Messenger Links | ||||
|
|
||||
<html> <title>CodeAve.com(AOL Instant Messenger Link)</title> <body bgcolor="#FFFFFF"> <% ' variable to get the name of the server, it could be www.codeave.com or codeave.com server_name=request.servervariables("server_name") ' variable to get the location of the current ' asp document from the top level directory script_name=request.servervariables("script_name") ' variable to get any varibles being passed to the current document query_string=request.servervariables("query_string") ' variable that contains the full URL of the current document ' including any quersting values you may be passing document_url="http://" & server_name & script_name & "?" & query_string ' variable that contains the full URL of the current document ' encoded to be passed to AOL Instant messenger aol_link=server.urlencode(document_url) %> <p> Text Link to the current document as text <br> Click <a href=aim:goim?message=<%= aol_link %> >here</a> <p> Text Link to the current document as text with message <br> Click <a href=aim:goim?message=Check+out+this+link+<%= aol_link %> >here</a> <p> Link to Current Page with an additional text message in IM window <br> <% response.write "Click <a href=aim:goim?message="&server.urlencode("Click <a href="""& document_url &""">here</a> to go to a page from CodeAve.com") & ">here</a>" %> <!-- List of encoded characters needed %3ca = < + = (a blank space) %22 = " %3e = > %2f = / Basic Link Convention <a href=aim:goim?message=%3ca+href=%22http://www.wherever.com%22%3eMessage+In+IM%3c%2fa%3e>Linked Text</a> --> </body> </html>
|
||||
|
|
||||