PDA

View Full Version : HTML email using vB: problem with a javascript file


Triky
03-31-2009, 03:46 PM
Hey there, in my HTML code I am calling a javascript code like this:

<div class="smallfont">

<script type="text/javascript" src="http://www.site.org/external.php?forumids=73,74&type=js"></script>

<script language="" type="text/javascript">

<!--

for (x = 0; x < 6; x++)

{

document.writeln("<img class=\"inlineimg\" style=\"vertical-align: middle\" src=\"http://www.site.org/skin/buttons/lastpost.gif\" alt=\"\" border=\"0\" /> <a href=\"http://www.site.org/showthread.php?t="+threads[x].threadid+"\">"+(threads[x].title.length > 56 ? threads[x].title.substr(0, 56) + '..' : threads[x].title)+"</a><br />");

}

//-->

</script></div>

The problem is: this code in a mail reader it is not displayed. Any advice?

Triky
04-03-2009, 04:13 PM
Bump.

Triky
04-08-2009, 12:36 PM
Bump.

Triky
04-16-2009, 11:34 AM
B0mp.

Triky
04-23-2009, 05:43 PM
BImp.

Triky
04-30-2009, 09:11 AM
BAmp.
No one?

Triky
06-24-2009, 10:38 AM
Bump.

Triky
07-03-2009, 10:20 AM
Bump.