Forum Moderators: open

Message Too Old, No Replies

Java Script for Image Rotation Not Working

         

DougWD

2:49 am on Mar 1, 2008 (gmt 0)

10+ Year Member



Hello and thanks to all who respond.

I'm working on a computer where a java script in a web page will not rotate the images on the home page, either in IE6+ or FF 2+. This tells me it isn't a setting in either of the browsers, and I checked and could find nothing.

It's a Front page object something like:
<script language="JavaScript">
<!--
function FP_swapImg() {//v1.0 etc. etc.

I'm just trying to figure out why it isn't working on this specific machine, and not doing any web work.

It works on my machine in both FF and IE.

Again, I think I've gotten this nailed down to a computer specific setting of some sort, since the page works correctly on both of my computers using the same browsers and versions, and not the java or the browsers.

Any idea why it won't cycle through the images on his machine?

[edited by: DougWD at 2:51 am (utc) on Mar. 1, 2008]

DougWD

8:47 am on Mar 2, 2008 (gmt 0)

10+ Year Member



Anyone have any clue on this?

rocknbil

6:39 pm on Mar 2, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Find some other page that has Javascript on it, see if it executes.

Since you say it's all browsers I'm going to take a wild stab here - this machine uses Norton Antivirus, doesn't it? :-)

I would look there, or in whatever antivirus software you have installed, it's a good suspect.

DougWD

7:08 am on Mar 3, 2008 (gmt 0)

10+ Year Member



OK I'll try that. I don't think he is using Norton though. I'll disable his Virus utility and see if that does it. Thanks.

vol7ron

2:59 pm on Mar 3, 2008 (gmt 0)

10+ Year Member



2 things

- Besides saying either the browser or antivirus may be blocking the script, we cannot help you. You'd actually have to post the script.




I'm working on a computer where a java script in a web page ... same browsers and versions, and not the java or the browsers.

- JavaScript and Java are two unrelated languages :)





DougWD

7:31 am on Mar 4, 2008 (gmt 0)

10+ Year Member



Actually, that was the problem. I uninstalled the security software and cleared both caches in both browsers, and then everything worked fine.

I reloaded another option for security.

Much thanks.