Hi,
When I load pages through the db, e.g.: ovrigt.php?typ=disco and after that go to the menu I get an error message from IE6: "Object required" (translated from swedish IE). Part of menu: - <div id="menycontainer">
-
<div id="opacitet">
-
<ul>
-
<li><a class="meny" href="index.php">
-
<div class="roundtop">
-
<div class="r1"></div><div class="r2"></div><div class="r3"></div>
-
<div class="r4"></div></div><span class="menycontent">Hem</span></a>
-
</li>
-
<li><a class="meny" href="#" onmouseover="MM_showHideLayers('undermeny1','','show')" onmouseout="MM_showHideLayers('undermeny1','','hide')">
-
<div class="roundtop"><div class="r1"></div><div class="r2"></div>
-
<div class="r3"></div><div class="r4"></div></div>
-
<span class="menycontent">Övrigt</span></a>
-
</li>
-
</ul>
-
</div>
-
<div id="undermeny1" class="undermeny" onmouseover="MM_showHideLayers('undermeny1','','show')" onmouseout="MM_showHideLayers('undermeny1','','hide')">
-
<a href="../ovrigt.php?typ=fritids">Fritids »»</a><br />
-
<a href="../ovrigt.php?typ=disco">Disco »»</a><br />
-
<a href="../ovrigt.php?typ=skoldatatek">Skoldatatek »»</a><br />
-
</div></div>
There is no problem with FF.
6 2112
Moved from Php forum to the Javascripts forum. though, the errors is from php file its a js issue.
Changed the thread title to better describe the problem.
What line does the error occur on?
What line does the error occur on?
The whole menu code is: - <ul>
-
<li><a class="meny" href="index.php" >
-
<div class="roundtop">
-
<div class="r1"></div>
-
<div class="r2"></div>
-
<div class="r3"></div>
-
<div class="r4"></div>
-
</div>
-
<span class="menycontent">Hem</span>
-
</a>
-
</li><li><a class="meny" href="#" onmouseover="MM_showHideLayers('undermeny2','','show')" onmouseout="MM_showHideLayers('undermeny2','','hide')" >
-
<div class="roundtop">
-
<div class="r1"></div>
-
<div class="r2"></div>
-
<div class="r3"></div>
-
<div class="r4"></div>
-
</div>
-
<span class="menycontent">Om OFF</span>
-
</a>
-
</li><li><a class="meny" href="kalendarium.php" >
-
<div class="roundtop">
-
<div class="r1"></div>
-
<div class="r2"></div>
-
<div class="r3"></div>
-
<div class="r4"></div>
-
</div>
-
<span class="menycontent">Kalendarium</span>
-
</a>
-
</li><li><a class="meny" href="#" onmouseover="MM_showHideLayers('undermeny3','','show')" onmouseout="MM_showHideLayers('undermeny3','','hide')" >
-
<div class="roundtop">
-
<div class="r1"></div>
-
<div class="r2"></div>
-
<div class="r3"></div>
-
<div class="r4"></div>
-
</div>
-
<span class="menycontent">Samverkan</span>
-
</a>
-
</li><li><a class="meny" href="OFFtidning.php" >
-
<div class="roundtop">
-
<div class="r1"></div>
-
<div class="r2"></div>
-
<div class="r3"></div>
-
<div class="r4"></div>
-
</div>
-
<span class="menycontent">OFF-tidning</span>
-
</a>
-
</li><li><a class="meny" href="kontaktaOss.php" >
-
<div class="roundtop">
-
<div class="r1"></div>
-
<div class="r2"></div>
-
<div class="r3"></div>
-
<div class="r4"></div>
-
</div>
-
<span class="menycontent">Kontakta oss</span>
-
</a>
-
</li><li><a class="meny" href="#" onmouseover="MM_showHideLayers('undermeny1','','show')" onmouseout="MM_showHideLayers('undermeny1','','hide')" id="current">
-
<div class="roundtop">
-
<div class="r1"></div>
-
<div class="r2"></div>
-
<div class="r3"></div>
-
<div class="r4"></div>
-
</div>
-
<span class="menycontent">Övrigt</span>
-
</a>
-
</li> </ul>
It's always on line 28 that the problem occurs. The menu is generated with PHP.
Which line is line 28? Check the source when viewing in your browser.
Hi,
Which line is line 28? Check the source when viewing in your browser.
I meant linenumber 28 on this page. But doesn't matter now. After a lot of time I found the solution. The code was refering to a div which name had been changed.
Thanks anyway.
Glad to hear you got it working. Post again anytime if you have any more questions.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Dave Hammond |
last post by:
I've got what should be a simple assignment of either an element value
or a default string to a variable, but when the element doesn't exist I
get an "Object required" error rather than an...
|
by: deko |
last post by:
I'm getting intermittent "Object Invalid or No Longer Set" errors in my
Access 2002 mdb.
What causes these errors?
Has anyone dealt with this before?
I can't trace it because it's not easy...
|
by: Lauchlan M |
last post by:
Hi.
Usin ASP.NET, getting an "Object reference not set to an instance of an
object" error.
In my login.aspx page I have:
string arrUserRoles = new string {"UserRole"};...
|
by: Kamal |
last post by:
I am trying to send mail through smtp. smtp service is
running on my machine. But every time during the
smtpmail.send(msg) call gives "Could not
access 'CDO.Message' object." error. Could some...
|
by: Lauchlan M |
last post by:
Hi.
I'm using ASP.NET, getting an "Object reference not set to an instance of an
object" error.
In my login.aspx page I have:
string arrUserRoles = new string {"UserRole"};...
|
by: chuckdfoster |
last post by:
I am getting a "Could Not Access CDO.Message Object" Error when I try to use
the following code to send an email via ASP.NET. When I run this on one
machine it works, on another one it doesn't. ...
|
by: dhnriverside |
last post by:
Hi peeps
I'm just following this HOW-TO from MSDN..
http://support.microsoft.com/default.aspx?scid=kb;en-us;306355
But I've got a problem. I've adding the #using System.Diagnostics; line to...
|
by: louie.hutzel |
last post by:
This JUST started happening, I don't remember changing any code:
When I click the submit button on my form, stuff is supposed to happen
(which it does correctly) and a result message is posted back...
|
by: piyumi80 |
last post by:
hi,
i wrote the following code to get a specific data row from the data set.but it generates the
"Object reference not set to an instance of an object.".....error
private void...
|
by: andersond |
last post by:
On a webpage that has a variety of questions I get an "object required" error on lines like this...
document.getElementById('tableQuestion17').style.visibility="visible";
This is the code...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |