User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 423,633 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,231 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1721 | Replies: 0
Join Date: Dec 2005
Posts: 5
Reputation: freespace is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
freespace freespace is offline Offline
Newbie Poster

Explorer Blocking Script

  #1  
Apr 3rd, 2006
Hello all,
I've recently started learning html and have started looking at javascript.

I have read javascript examples online and these download run with-out trouble.

My problem is that when i put this code into a page i wrote and then try to open it with explorer, explorer blocks any javascript from running and i have to click on the "information bar" and click on "Allow Blocked Content" before the script works.

I am puzzled as this does not occur with the examples on the tutorial sites. These are basic examples like below

<html><head><meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Java Write</title>
</head>
<body>
My first text with javascript:  
<script type="text/javascript">
document.write("<h4>Hello world!</h4>")
</script>
</body>
</html>


My question thens:

Why does explorer block my code but it does not block similar code from other sites?

How do i make my site work as intended ?

Thanks for your time.

Kind Regards,
Freespace
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 9:56 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC