JS script runs on XAMPP not on Fedora 8

Problems with the Windows version of XAMPP, questions, comments, and anything related.

JS script runs on XAMPP not on Fedora 8

Postby giles100 » 03. June 2011 12:02

Hi All,

I have the following script. It runs on my XAMPP localhost, but fails to run IE on my Fedora 8 server. Any clues as to why this might be?
Thanks in advance

Giles

<script type="text/javascript">
function openwindow() {
var w = window.open("popup.html","interaction","resizable=0,width=800,height=600,status=0");
if(w){window.location = "enabled.html"};
if(!w){window.location = "blocked.html"};
}
</script>
</head>

<body>
<button onclick="openwindow();">Test</button>
</body>
giles100
 
Posts: 5
Joined: 03. June 2011 11:56

Re: JS script runs on XAMPP not on Fedora 8

Postby Sharley » 05. June 2011 07:10

Hello Giles,
giles100 wrote:I have the following script. It runs on my XAMPP localhost, but fails to run IE on my Fedora 8 server. Any clues as to why this might be?
None whatsoever but some browsers have a plugin or similar available to debug JavaScripts.

Have you tried to access the JavaScript page in a different browser?

As you may or may not know, JavaScript is a browser-side scripting language not a server-side scripting language and unless Fedora changes JavaScript content (and I seriously doubt it) or you have a restrictive .htaccess file on your Fedora server that is not present in your XAMPP server then, for you, the mystery deepens. :)

Good luck.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 78 guests