473,324 Members | 2,248 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,324 software developers and data experts.

'Object required' error after buying domain name.

I've recently written a web site for a registered charity I'm involved
with; the web site works fine when you link to it directly, but after
we bought a domain name, JavaScript errors keep popping up.
(Particularly 'Object required' in IE.) I know that they relate to the
collapsible menu I put in the left frame, but I can't pinpoint what's
happening... I had similar errors while developing the web site which
(after extensive searching!) I solved by moving the JavaScript to the
end of the file (to prevent it from referencing ids that hadn't been
declared yet), but this time I'm thoroughly stuck.

The web site is currently at

http://people.pwf.cam.ac.uk/rjf30/

And the domain name pointing to it is

http://www.bridgestobelarus.org.uk/

This is the first website I've written, so I'm well out of my depth...
we would be very, very grateful for any help.

Jul 28 '05 #1
2 1427
mg***@despammed.com wrote:
I've recently written a web site for a registered charity I'm involved
with; the web site works fine when you link to it directly, but after
we bought a domain name, JavaScript errors keep popping up.
(Particularly 'Object required' in IE.) I know that they relate to the
collapsible menu I put in the left frame, but I can't pinpoint what's
happening... I had similar errors while developing the web site which
(after extensive searching!) I solved by moving the JavaScript to the
end of the file (to prevent it from referencing ids that hadn't been
declared yet), but this time I'm thoroughly stuck.

The web site is currently at

http://people.pwf.cam.ac.uk/rjf30/

And the domain name pointing to it is

http://www.bridgestobelarus.org.uk/

This is the first website I've written, so I'm well out of my depth...
we would be very, very grateful for any help.


The problem is in this code:
top.frames[0].document.getElementById('newssubmenu').style.disp lay='none';

And all lines similar.

In simplified terms, the company you bought the website from has
wrapped your existing website in a framset. So when you say
'top.frames', you're referring to *their* frameset and not yours.

The simplest solution is to use 'parent.frames' if you want to go up
the frames heirarchy one step, or parent.parent.frames for two steps,
et cetera.

Jul 28 '05 #2
>The problem is in this code:
top.frames[0].document....


Rather belatedly: your suggestion fixed everything... thank you very
much!

Aug 12 '05 #3

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

Similar topics

8
by: AC | last post by:
I hope someone can tell me why this is not working. I have a form that dynamically creates the code below. This is for one product and there are about 10 to 50 products that are listed depending...
13
by: Patrick | last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can 1) Either set under IIS Manager-> Any specific Virtual Directory-> Configuration->Options->ASP Script timeout for all pages...
9
by: Ben Dewey | last post by:
Project: ---------------------------- I am creating a HTTPS File Transfer App using ASP.NET and C#. I am utilizing ActiveDirectory and windows security to manage the permissions. Why reinvent...
3
by: Adriano | last post by:
Hello, when I try to print something, either DataGrid or from Crystal Report viever the folowing error message appears and cancels printing: Object reference not set to an instance of an...
7
by: Parv | last post by:
I am impersoanting a user to an other domain. But while doing so i am getting A required privilege is not held by the client exception. I have tried with aal possible usernames and passwords...
13
by: Kevin Liebowicz | last post by:
Yes, I wasted the past two days trying to fix this. Yes, this is on a Win2003 Server. Yes, this machine is a domain controller. Yes, I seen the dozens of KB articles like this one:...
14
by: chromis | last post by:
Hi, I've been trying to implement a more OOP oriented approach to dealing with user security on one of my websites, and I am trying to validate the user against an array of roles, however I am...
1
by: RLN | last post by:
I am trying to send mail using CDO. The line below ("objMessage.Send") blows with this error: -21472200960 "Send Using" configuration is invalid" Here is the link where I got this code:...
2
by: krishnakrish | last post by:
Hi, My name is krishna. I am using asp.net 2.0 with C#. I amusing Windows XP professional as OS. When I post some data to an external web server I get the error as "The Remote server returned an...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...

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.