Jon T
05-19-2003, 09:05 PM
Having some problems converting the URL over in that anything after the Questionmark gets dropped. (?)
Here is a javaScript I wrote, to convert the URL and page title over to a single "Tell a Friend" Link, but its not coming out right...
What should be:
http://www.domain.com/directory/page.asp?var=Value
Turns to
http://www.domain.com/directory/page.asp
I do not know enough about the ASP Dom to figure this out. Been banging my head on the desk all day. Here is the javascript, anyone know a good conversion?
<script language="JavaScript">
<!-- Hide Me
var urlr = window.document.location.toString();
var doct = window.document.title.toString();
document.write('<a class="sbwblink-b" href="mailto:?body=bla msg- ' + urlr + '&subject=' + doct + '" class="ctrail" title="Tell a Friend">Tell a Friend ››<\/a>');
// Show Me -->
</script>
Thank you!
Here is a javaScript I wrote, to convert the URL and page title over to a single "Tell a Friend" Link, but its not coming out right...
What should be:
http://www.domain.com/directory/page.asp?var=Value
Turns to
http://www.domain.com/directory/page.asp
I do not know enough about the ASP Dom to figure this out. Been banging my head on the desk all day. Here is the javascript, anyone know a good conversion?
<script language="JavaScript">
<!-- Hide Me
var urlr = window.document.location.toString();
var doct = window.document.title.toString();
document.write('<a class="sbwblink-b" href="mailto:?body=bla msg- ' + urlr + '&subject=' + doct + '" class="ctrail" title="Tell a Friend">Tell a Friend ››<\/a>');
// Show Me -->
</script>
Thank you!