Thread: Java email script & W3C.org
Results 1 to 6 of 6
java scroll bar script? Forum: Website Scripts ForumReplies: 1
12-03-2003, 06:36 AM #1
Java email script & W3C.org
12-03-2003, 08:43 AM #2
I'm no Java guru but.....
I think that it's invalid because you're using two 'document.write' 's. That is, it's considering the two statements as separate markup.
What would happen if you combined them like:
document.write('<a class="contact" href=\"mailto:' + user + '@' + domain + '?subject=' + subject + '&body=' + bodytext + '\">LinkText</a>');
12-03-2003, 10:19 AM #3
12-03-2003, 10:32 AM #4
I think that I remember something about a \ that has to go in front of the / in </a> like <\/a>.
Something like that....... I could be way off, though.
12-03-2003, 01:01 PM #5
Androids right -
http://www.htmlhelp.com/tools/validator/problems.html#scriptIf one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
12-04-2003, 01:34 AM #6
Worked a treat! Thanks guys