Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 08-08-2007, 03:29 AM   #1 (permalink)
mssssee2's Avatar
 
Graphic Designer

Join Date: Apr 2007

Location: Thessaloniki, Greece

Posts: 507

mssssee2 is on a distinguished road

Send a message via MSN to mssssee2 Send a message via Yahoo to mssssee2
Default Javascript Question ?

What kind of error is "ACCESS IS DENIED"? I have a page which consists of multiple scripts and everything works fine. Sometimes on IE and Firefox it says ERROR ON PAGE line (random mostly) Access is denied, however, it works fine. Does anyone know what the **** is it? It is really anoying watching it on the Status bar.
__________________
Mike from Greece, 16

mssssee2 is offline  
Old 08-10-2007, 07:09 PM   #2 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default Re: Javascript Question ?

Quote:
Originally Posted by mssssee2 View Post
What kind of error is "ACCESS IS DENIED"? I have a page which consists of multiple scripts and everything works fine. Sometimes on IE and Firefox it says ERROR ON PAGE line (random mostly) Access is denied, however, it works fine. Does anyone know what the **** is it? It is really anoying watching it on the Status bar.
Probably something wrong with the scripts...? It's that or the browser... the browsers should be unlikely though, since it's on both. If you give me a link that does as you say (for me), I can try to see if I can figure it out. :happy:
__________________
Vormund is offline  
Old 08-26-2007, 05:45 PM   #3 (permalink)
mssssee2's Avatar
 
Graphic Designer

Join Date: Apr 2007

Location: Thessaloniki, Greece

Posts: 507

mssssee2 is on a distinguished road

Send a message via MSN to mssssee2 Send a message via Yahoo to mssssee2
Default Re: Javascript Question ?

It's home based interface, not uploaded on website, script works just fine, but there are some inappropriate of denied access errors, of which sometimes the line that error has occured is BLANK! I just wanted to know what type of errors are that. Thanks for the assistance anyway.

P.S I have to add that errors coccur when have used a script function and click on the document, there are inline frames in the structure additionally. Hopefully the errors are only shown in status bar and do not prompt the user except if on an error event loader. Here's a shot of a regular prob :




P.S. 2 The script files (if they help, I marked what I think of suspicious cause it has an enormous size) :


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Music Pad</title>
<style type="text/css">
a:visited {
color: #A4CCF9;
}
.style2 {
margin-bottom: 0px;
}
.style3 {
margin-bottom: 3px;
}
</style>
</head>

<body onkeypress="KEYPRESSED()" onresize="non2()" onmousemove="non()" onerror="assa()" bgcolor="white" onhelp="alert('No help is currently available')" background="Guide%20Files/backround.jpg" onunload="demove()">


<div style="position: absolute; width: 111px; height: 104px; z-index: 1; left: 82px; top: 7px" id="layer1">
<a href="../Media%20Center/Media%20Center.htm">
<img border="0" title="Go back to media center" src="Guide%20Files/MC.jpg" width="113" height="113"></a></div>


<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<img border="0" onclick="wmp()" title="Open Windows Media player" src="Guide%20Files/WMP.jpg" width="110" height="108"><br>
<br>
&nbsp;<form name="A" action="" method="get">

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp; &nbsp;&nbsp;

<Script Language="JavaScript"><!--
// Code created by MiST Corp Michael Stagkos 2007
// REMOVED
function changeIt(ImageToChange, ImageToShow) {
if (document.images) { document[ImageToChange].src = ImageToShow; } }
function bar(message) {
if (document.images) { window.status = message; return true } }
if (document.images) {
o1 = new Image;
o1.src = "Guide Files/LG2.jpg";
}
// --></Script>

<!-- image 1 -->
<a href="Nice"
title="MiST Corp"
onMouseOver="changeIt('img1','Guide Files/LG2.jpg');
return bar('MiST Corporation MUSIC GUIDE')"
onMouseOut="changeIt('img1','Guide Files/LG1.jpg');
return bar('Document: Done')">
<img border="0" name="img1" title="Click to be directed to the music folder :" src="Guide Files/LG1.jpg" width="96" height="124"></a>&nbsp;<font size="7">
</font><iframe name="I1" src="Nice" width="204" height="120">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe><font size="7"> &nbsp;</font><img border="0" src="Guide%20Files/FG1.jpg" title="Click to open the song" onclick="data(this.form)" width="172" height="166"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; <input name="butt1" type="button" onclick="back()" value="BACK"><input name="butt2" type="button" value="FORWARD" onclick="forward()"></p>
</form>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;



<br>

<script>


//Music db

function data(form) {


alert("Press enter to play the song")




/* Test function :
To be hidden
MiST
Michael Stagkos */








}

//The demove function is to slide down the page when location gets closed or changed

function demove() {
for (vsx = 1; vsx <90; vsx++) {
window.moveBy(0,20)
}
window.moveTo(300,35)
}

</script>


<script>


function back() {


history.back()

}

function forward() {

history.forward()

}

//CONSTRUCTABLE

window.setTimeout("one()",1000)

function one() {



}

window.moveTo(0,0)
window.resizeTo(720,800)
window.moveTo(300,1024)

for (vlf = 1; vlf < 45; vlf++) {

window.moveBy(0,-vlf)

}


function non() {

window.resizeTo(720,800)
window.moveTo(300,35)


}


function non2() {
window.setTimeout("noa()",300)
}


function noa() {

window.resizeTo(720,800)

}

//REMOVE IF PROBLEMS

function KEYPRESSED() {

alert("Keypressing is disabled when not on the tab (INLINE FRAME)")

}


</script>


<script>


//Error handler

function assa() {


alert("An error has occured")


}

//END

function wmp() {


window.open("C:\\c.bat")


}



</script>

<script language="Javascript" type="text/javascript">

</script>


<div style="position: absolute; width: 205px; height: 27px; z-index: 2; left: 119px; top: 440px" id="layer2">
<b><a style="text-decoration: none" href="Guide%20Files/ZOORADIO.pls">
ZOORADIO</a>
<a style="text-decoration: none" href="http://www.zooradio.gr/charts.asp">
CHARTS</a></b></div>


</p>


<p align="center">
</p>


<div style="position: absolute; left: 252px; top: -7px; width: 198px; height: 57px; z-index: 11" id="layer18" class="style3">
<iframe name="I2" id="I2" src="../Media%20Center/ADDON%20A2.htm" style="width: 220px; height: 39px" scrolling="no" border="0" frameborder="0" class="style2">Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe></div>


</body>

</html>
__________________
Mike from Greece, 16


Last edited by mssssee2; 08-27-2007 at 10:35 AM.
mssssee2 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question using RadioButton in VB.Net punkin Programming Discussions 4 07-08-2007 11:20 PM
Ram OC question zetahammy Overclocking, Case Mod, Tweaking PC Performance 0 06-16-2007 01:18 AM
quick javascript help joe33 Programming Discussions 1 05-15-2007 04:29 PM
Help me clear something up please(Fresh install of xp type question) jonny_uk Windows Operating Systems and Software 2 04-21-2007 06:38 PM
JavaScript Botnet Code Leaked To Internet Osiris Virus - Spyware Protection / Detection 0 04-02-2007 09:05 PM