ASP Treeview and mozilla

E

Ed

It does not expand the treeview upon clicking the [+] on the "root" folder.
This is happening on Mac Safari and Mozilla Firefox.
 
B

Bob Lehmann

The first one says it has only been tested in IE. If you take a look at
treeview.js for each of them you'll see why the first one doesn't work in
non-IE browsers.

Bob Lehmann
 
A

Aaron Bertrand - MVP

What was the problem? And could you update your FAQ example with this?

Yes, way ahead of you. I was using an onmousedown event on a <div> and
Mozilla doesn't get it, so I switched to an <a>
 
D

Dave Anderson

Aaron said:
Yes, way ahead of you. I was using an onmousedown event on a <div>
and Mozilla doesn't get it, so I switched to an <a>

There's a bit more to it than that, as the JavaScript console warns:

Error: document.all is not a function
Source File: http://aspfaq.com/treeview/treeview.js
Line: 3




--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 
A

Aaron Bertrand - MVP

You must be seeing a cached version. If you load that js file directly, and
save it locally, you will see that there is no longer any reference to
document.all.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
 
D

Dave Anderson

Aaron said:
You must be seeing a cached version. If you load that js file
directly, and save it locally, you will see that there is no longer
any reference to document.all.

I had never looked at it before this thread, so any caching wasn't mine. I
do note that it is fixed now, however.



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,154
Messages
2,570,870
Members
47,400
Latest member
FloridaFvt

Latest Threads

Top