By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,567 Members | 1,670 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,567 IT Pros & Developers. It's quick & easy.

'Now you see me' DOM problem

P: n/a
Hi All

Yes it's the IE waif again.

As per my previous post I want to put across my quandary in as clearer
format as I can so in a nutshell I have a graphic that acts as a link so
that when you click on this link in one FRAME it makes a graphic and a
dropdown menu visible (by default they are invisible), which are in another
FRAME and also displays a specific page in another FRAME.

To give you an idea of what I mean, please visit www.bardwells.co.uk and try
to click the anim gif link that is titled 'product lists'. In Safari,
Mozilla, etc browsers you will probably find that nothing happens, but in IE
you would see a graphic and dropdown menu appear at the top-right of the
page and also a new page would appear in the larger frame of the site.

Could somebody post me an example of how they would get this to work in
Mozilla, Safari, etc.

Thanks

Robbie


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Lee
Astra said:
To give you an idea of what I mean, please visit www.bardwells.co.uk and try
to click the anim gif link that is titled 'product lists'. In Safari,
Mozilla, etc browsers you will probably find that nothing happens, but in IE
you would see a graphic and dropdown menu appear at the top-right of the
page and also a new page would appear in the larger frame of the site.


Testing that in Mozilla, you see the error message:

parent.title.document.winloc has no properties

Don't try to refer to objects by their ID attribute.
Use (in this case):

parent.title.document.getElementById("winloc")

Jul 23 '05 #2

P: n/a
Lee wrote:
Astra said:

To give you an idea of what I mean, please visit www.bardwells.co.uk and try
to click the anim gif link that is titled 'product lists'. In Safari,
Mozilla, etc browsers you will probably find that nothing happens, but in IE
you would see a graphic and dropdown menu appear at the top-right of the
page and also a new page would appear in the larger frame of the site.

Testing that in Mozilla, you see the error message:

parent.title.document.winloc has no properties

Don't try to refer to objects by their ID attribute.
Use (in this case):

parent.title.document.getElementById("winloc")


Humorous really, since the offending code is inside a block intended to make
the code compatible with Netsacpe :-)

function ordering() {
if (isNN()) {
parent.title.document.winloc.visibility = "show";

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.