Javascript not working on home PC but it does at work

  • Thread starter Thread starter JW
  • Start date Start date
J

JW

Hello -

I've tried the Javascript group and FrontPage and they tell me it's a
browser issue. Here's the scoop:

I have a site that I developed and hadn't checked on it for months. When I
went back to look at it the 4 images that are supposed to rotate are not
(only 2 of them are showing up). I decided to look at the site from my PC
at work to see if there truly was a problem or if it was my PC at home. It
does just what it's supposed to do when I view it from my work PC.

(The site is www.haackbrothers.com)

The only thing I've done on my PC at home is run some clean-up programs and
I've afraid I've deleted something that was critical to be able to view this
javascript that I've inserted in the page.

Can anyone help?

I'm running IE 6 on Windows 2000 NT (FrontPage 2000).

Thank you,
Janet
 
JW said:
Hello -

I've tried the Javascript group and FrontPage and they tell me it's a
browser issue. Here's the scoop:

I have a site that I developed and hadn't checked on it for months.
When I went back to look at it the 4 images that are supposed to
rotate are not (only 2 of them are showing up). I decided to look at
the site from my PC at work to see if there truly was a problem or if
it was my PC at home. It does just what it's supposed to do when I
view it from my work PC.

(The site is www.haackbrothers.com)

The only thing I've done on my PC at home is run some clean-up
programs and I've afraid I've deleted something that was critical to
be able to view this javascript that I've inserted in the page.

Can anyone help?

I'm running IE 6 on Windows 2000 NT (FrontPage 2000).

Thank you,
Janet

1. You might want to refresh your scripting engine:
http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001169
or
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp
Windows Script 5.6 for Windows 2000 and XP
http://www.microsoft.com/downloads/...43-7e4b-4622-86eb-95a22b832caa&DisplayLang=en

Sometimes there's a corrupt file in the cache and one must go to Tools |
Internet Options and click Delete Files.

2a. Start>Run>Regsvr32 vbscript.dll

2b. Start>Run>Regsvr32 jscript.dll

(WinXP users who have problems with 2a and 2b, see
http://www.mvps.org/inetexplorer/answers_9.htm)

3. Re-register all DLLs listed in http://support.microsoft.com/?kbid=281679

4a. IE Tools>Internet Options>Advanced>Browsing>Enable third-party browser
extensions (uncheck & reboot).

4b. Find the hijacker that caused 4a to be checked (or if none were checked,
check for hijackware anyway):

Dealing with Hijackware
http://mvps.org/winhelp2002/unwanted.htm
http://aumha.org/a/parasite.htm
http://www.mvps.org/inetexplorer/Darnit.htm

--
Frank Saunders, MS-MVP, IE/OE
Please respond in Newsgroup. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/
 
Frank Saunders said:
1. You might want to refresh your scripting engine:
http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001169
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp
Windows Script 5.6 for Windows 2000 and XP
http://www.microsoft.com/downloads/...43-7e4b-4622-86eb-95a22b832caa&DisplayLang=en

Sometimes there's a corrupt file in the cache and one must go to Tools |
Internet Options and click Delete Files.

2a. Start>Run>Regsvr32 vbscript.dll

2b. Start>Run>Regsvr32 jscript.dll

(WinXP users who have problems with 2a and 2b, see
http://www.mvps.org/inetexplorer/answers_9.htm)

3. Re-register all DLLs listed in http://support.microsoft.com/?kbid=281679

4a. IE Tools>Internet Options>Advanced>Browsing>Enable third-party browser
extensions (uncheck & reboot).

4b. Find the hijacker that caused 4a to be checked (or if none were checked,
check for hijackware anyway):

Dealing with Hijackware
http://mvps.org/winhelp2002/unwanted.htm
http://aumha.org/a/parasite.htm
http://www.mvps.org/inetexplorer/Darnit.htm

--
Frank Saunders, MS-MVP, IE/OE
Please respond in Newsgroup. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/
I'm still working on this problem.

I've done all the steps you've outlined except getting into the registry. I
tried that but I couldn't find exactly the same names so didn't want to mess
around in there.

On this page I see only one static image:

http://javascript.internet.com/bgeffects/random-image-script.html
 
....
I think you're a victim of the Red-X syndrome.
I can make your 4 images work but only after loading them separately
and then letting the page run from the cache while offline.

Perhaps you need to make the delay longer to ensure that they get
downloaded automatically. Also, is there any way that you could check
if they were cached first while online? There seems to be a heck of an
overhead going to the server all the time. I suppose that could just be
due to my current cache-checking option (Every visit...) So that would
be another variable you could try experimenting with... Yes, when I do that
I can go back online (set Work Offline off) and still see all 4 images.
In fact, now I can go back to Every visit... and because they are all now
cached the overhead of the checking is small enough that there aren't
any more Red-X.


I think that there must be something else wrong with the second example.
I do have all 5 images cached but as you say I only see one per visit...
I would have to analyse the code more thoroughly than I have a desire to
but I think that that will be the way it works. E.g., I just tested by reloading
the page (offline) using Ctrl-N and was able to see a random selection
of the 5 images that way.


HTH

Robert Aldwinckle
---
 
Robert Aldwinckle said:
...

I think you're a victim of the Red-X syndrome.
I can make your 4 images work but only after loading them separately
and then letting the page run from the cache while offline.

Perhaps you need to make the delay longer to ensure that they get
downloaded automatically. Also, is there any way that you could check
if they were cached first while online? There seems to be a heck of an
overhead going to the server all the time. I suppose that could just be
due to my current cache-checking option (Every visit...) So that would
be another variable you could try experimenting with... Yes, when I do that
I can go back online (set Work Offline off) and still see all 4 images.
In fact, now I can go back to Every visit... and because they are all now
cached the overhead of the checking is small enough that there aren't
any more Red-X.



I think that there must be something else wrong with the second example.
I do have all 5 images cached but as you say I only see one per visit...
I would have to analyse the code more thoroughly than I have a desire to
but I think that that will be the way it works. E.g., I just tested by reloading
the page (offline) using Ctrl-N and was able to see a random selection
of the 5 images that way.


HTH

Robert Aldwinckle
Actually, that's not my page. Someone else referred me to that page for me
to check to see if the java thing was working. Maybe that's not such a good
test.

Now I did design this page: http://www.haackbrothers.com and that should
have 4 pictures that rotate through - and relatively quickly. Does it do
that for you?

Janet
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top