• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

IE is blocking my javascript

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My script works in IE 6 on XP............. but fails to work on IE 7 on XP and vista
It always works in Firefox.

A bar shows up and asks if i want to temporarily allow the script, but nothing happens when i agree to allow the script.

Help please

 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to enable JavaScript to run off your local drive. It is done for security reasons.

http://radio.javaranch.com/pascarello/2005/05/18/1116473896158.html

Eric
 
jite eghagha
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes that fixes things for me, but i know a thing or two about computers so it no big deal for me. But the average Joe doesn't want all the hassle of resetting things. It's not practical to ask everyone who come to my site to do this...or is it?

Would you suggest i leave JavaScript out of my web page entirely to avoid this hassle.
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is your average Joe going to run your code off of the C drive? No, they run it off a web server which the browser is set up to handle JavaScript.

Eric
 
jite eghagha
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My web site is hosted on GoDaddy right now.......Do you imply that there is some setting i need to tinker with on GoDaddy.

You said, " No, they run it off a web server which the browser is set up to handle JavaScript". Please could you tell me more about what you meant?

 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are getting that warning when you visit your site via http?

Are you using ActiveX or something like that?

Eric
 
jite eghagha
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes i visit the site via http, and no, there's no activeX or anything else involved.
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am just curious. Are you going to implement login using javascript? In this implementation user can see the source of page and see what user name and password should be enter.
 
jite eghagha
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
lol

no i won't be using java script for login implementation.

thank you for the warning....

this was just a ........friendly wager between friends ..........JavaScript vs anti-JavaScript

Because of this issue only one of five friends could view the web site i put up.

I think JavaScript is cool so i was hoping to find a simple solution.
 
Ranch Hand
Posts: 607
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jite eghagha wrote:Yes i visit the site via http, and no, there's no activeX or anything else involved.



No reason why the script should not work....Script looks perfectly clean to me

Can you give the link of the page that you hit when you get that Java Script warning? Maybe having a look at it would help!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic