473,385 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Permission denied error in Javascript

Hi,

I my web application, am using frames.

<frameset name="aaframe" rows="190px,64.0%,45px" >
<frame name="aframe" language="vb" src="../Top_page.aspx"
frameBorder="0" noResize scrolling="no">
<frameset name="bframe" cols="25%,75%">
<frame name="rleft" src="../Aspx/Left_page.aspx">
<frame name="rright" src="../Aspx/Right_Page.aspx">
</frameset>
<frame name="cframe" language="vb" src="../bottom_page.htm"
frameBorder="0" noResize scrolling="no">
</frameset>
Now, in Right Page when user presses on a button called "FullScreen", I
change percentage of aaframe rows to "0%, * ,0%" by following code.
function showFullScreen()

{

if (document.Form1.Image_FullScreen.title ==
"Switch to Full Screen")

{

parent.aaframe.rows = "0%,*,0%";

parent.bframe.cols = "25%,75%";

document.Form1.Image_FullScreen.title="Switch
to Normal Screen";

document.Form1.Image_FullScreen.src="normalscreen. jpg"

}

else

{

parent.aaframe.rows =
"190px,64.0%,45px";

parent.bframe.cols = "25%,75%";

document.Form1.Image_FullScreen.title="Switch
to Full Screen";

document.Form1.Image_FullScreen.src="fullscreen.jp g"

}

}

This maximises my page. The code works fine when the page loads for the
first time.

When the page reloads after some click event, I get a javascript error
"Permission Denied".

Can anyone hlpe me out whats the issue?

Thanks,

Tanmaya
Jul 5 '06 #1
0 1108

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: HikksNotAtHome | last post by:
In Mozilla 1.4b, when the URL is set to a local URL, it works as expected. function showIt(){ var xmlhttp = new XMLHttpRequest(); xmlhttp.open("GET", "blank.html" ,true);...
2
by: PM Creyghton | last post by:
I got this error without using frames: First of all, I'm developing an ASP application, and once in a while my activeX components crash or hang, I got page-not-found errors, errors generated by...
3
by: Colin Graham | last post by:
I am working with a piece of javascript that i have inherited from another developer. It is for a date picker function and it runs fine locally but i get an error when i deploy it on the server and...
2
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some...
21
by: alistair_henderson | last post by:
Morning All, I have some code for a website which uses 'window.open' to simulate modal dialog boxes. I use the window.closed property to decide if the window object exists at various points. ...
1
by: nandakumar.raghu | last post by:
Hi, I have written a javascript function that acceses properties from an activex object. - <OBJECT id="alertObj" classid="clsid:AEE77194-B98F-4E0E-A27F-4AD6B23F0038"></OBJECT> function...
1
by: prash.marne | last post by:
Hi, I am trying open a simple popup window & my code is .. <html> <head> <title>popup_window</title> <script type="text/javascript"> function popup_onclick(){ my_window =...
0
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to...
5
by: TimSki | last post by:
Hi, I have an iframe on my page which calls an external website. When the page loads in firefox i see a 'Error: Permission denied to call method Location.toString' in the error console but the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.