Author |
Message |
Ewout
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Apr 24, 2004
Posts: 15
|
Posted:
Mon Jan 03, 2005 11:38 am |
|
Hi,
I have tried many things but I can't get it to work....
Just a simple line of javascript but it's loaded from a ASP page....
That could be the problem.
Code:<sc ript language="JavaScript1.1" SRC="http://www.trendmicro.com/syndication/wtc/wtc_applet_js.asp"></s cript>
|
Thanks,
Ewout |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Ewout
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 03, 2005 12:28 pm |
|
It's an ASP page......
Is it possible to load this in a php module ?
Thanks,
Ewout |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Ewout
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 03, 2005 3:08 pm |
|
ok I got it working but it's appearing in the right blocks area.......??
Code:$content .= "</s cript>\n";
$content .= "<s cript language=\"JavaScript1.1\"\n";
$content .= "SRC=\"http://www.trendmicro.com/syndication/wtc/wtc_applet_js.asp\"></S CRIPT>\n";
|
Anything I have to change to get it centered ?
Thanks<
Ewout |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Ewout
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 03, 2005 3:09 pm |
|
Why can't I use the Word "S cript" ?? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
xfsunolesphp
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 23, 2003
Posts: 77
|
Posted:
Mon Jan 03, 2005 4:20 pm |
|
$content .= '<center><s cript language="JavaScript1.1" SRC ="http://www.trendmicro.com/syndication/wtc/wtc_applet_js.asp" type="tect/javascript"></s cript></center>'; |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Ewout
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jan 04, 2005 12:56 pm |
|
xfsunolesphp wrote: | $content .= '<center><s cript language="JavaScript1.1" SRC ="http://www.trendmicro.com/syndication/wtc/wtc_applet_js.asp" type="tect/javascript"></s cript></center>'; |
<center> will not help.........
this is the complete Module?
Code:<?php
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$index = 1;
$module_name = basename(dirname(__FILE__));
$pagetitle = " - Trend Antivirus Map";
include("header.php");
OpenTable();
$content .= "</s cript>\n";
$content .= "<s cript language=\"JavaScript1.1\"\n";
$content .= "SRC=\"http://www.trendmicro.com/syndication/wtc/wtc_applet_js.asp\"></S CRIPT>\n";
CloseTable();
include("footer.php");
?>
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Jan 04, 2005 2:42 pm |
|
Ewout wrote: | Why can't I use the Word "S cript" ?? | phpNuke doesn't allow it and neither does NukeSentinel. You could inject javascript into your posts too easily. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jan 04, 2005 2:45 pm |
|
If the center tags are not working then it's probably because the javascript you're trying to include is overriding it. Why don't you just save the javascript to a .js file? Or is this more than that - is it a real applet? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Ewout
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jan 04, 2005 2:51 pm |
|
It's an applet, and it's working but it looks like a block on the right side.... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jan 04, 2005 3:23 pm |
|
Add the <center> and </center> directly to the ASP code - before and after the <table> and </table> tags. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Ewout
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jan 04, 2005 4:04 pm |
|
I don't have any <table> tags ....? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jan 04, 2005 5:44 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Ewout
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jan 05, 2005 2:05 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jan 05, 2005 2:08 pm |
|
I downloaded it, so can you. Then modify it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Ewout
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jan 05, 2005 2:44 pm |
|
and then upload it again to the Trend site ? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jan 05, 2005 2:47 pm |
|
Just put it on your box and point src to it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Ewout
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jan 06, 2005 12:46 pm |
|
But then it's not updated automatically.....
Have you seen what it is ? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|