Hi Folk
I recently completed an interactive map. I have now discovered that it is not working in Opera.
The address is: http://switch.hosts.net.nz/~admin64/search.php
The map is basically 20+ images over each other, each of which are transparent gifs.
Apart from the first one (bottom, showing the country), they are not visible until the mouse moves over the map. That is to say,
the JavaScript swaps the image from hidden to visible. The css for the hidden part is:
#map IMG.n {position: absolute; left: 0px; top: 0px; visibility: hidden; z-index: 5}
and for those that are visible:
#map IMG.v {position: absolute; left: 0px; top: 0px; visibility: visible; z-index: 10}
I think this is where the problem lies. The map seems to be working on Netscape, IE and firefox, but in Opera the areas are not
highlighted.
FYI, the way the styles get swapped is as follows:
.....
if (document.layer s) {
img = findElement('i' +r,0);
}
else {
img = document.images['i'+r];
}
if (img) {
img.className = "v";
}
....
Do you think that perhaps Opera does not recognise this swap (it seems to, because at times it shows parts of the images).
Does anyone have any hints?
Cheers
- Nicolaas 17 1668
windandwaves wrote: I recently completed an interactive map. I have now discovered that it is not working in Opera. http://switch.hosts.net.nz/~admin64/search.php
Firstly, please understand the difference between Java and Javascript.
Secondly, seems to work fine here, except these problems (that seem to
effect *all* browsers):
* Ticking the "North Island" box doesn't tick Wellington, but
does highlight it, and it ticks Stewart Island, but doesn't
highlight it.
* Ticking South Island highlights Stewart Island, but doesn't
tick it.
* Hovering over Fiji doesn't cause the hover effect over the
tick box.
* Ticking New Zealand doesn't tick Wellington, but does highlight
it on the map.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
"windandwav es" <wi*********@co ldmail.com> wrote in message
news:42******** @clear.net.nz.. . Hi Folk
I recently completed an interactive map. I have now discovered that it is
not working in Opera. The address is:
http://switch.hosts.net.nz/~admin64/search.php
The map is basically 20+ images over each other, each of which are
transparent gifs. Apart from the first one (bottom, showing the country), they are not
visible until the mouse moves over the map. That is to say, the JavaScript swaps the image from hidden to visible. The css for the
hidden part is: #map IMG.n {position: absolute; left: 0px; top: 0px; visibility: hidden;
z-index: 5} and for those that are visible: #map IMG.v {position: absolute; left: 0px; top: 0px; visibility: visible;
z-index: 10} I think this is where the problem lies. The map seems to be working on
Netscape, IE and firefox, but in Opera the areas are not highlighted.
FYI, the way the styles get swapped is as follows: .... if (document.layer s) { img = findElement('i' +r,0); } else { img = document.images['i'+r]; } if (img) { img.className = "v"; } ...
Do you think that perhaps Opera does not recognise this swap (it seems to,
because at times it shows parts of the images). Does anyone have any hints?
ive just looked at it in opera 7.6 and it works for me..
when downloading opera you have the choice of versions with or without java
installed i seem to remember.
the idiot wrote: "windandwav es" <wi*********@co ldmail.com> wrote in message news:42******** @clear.net.nz.. .
Hi Folk
I recently completed an interactive map. I have now discovered that it is
not working in Opera.
The address is:
http://switch.hosts.net.nz/~admin64/search.php
The map is basically 20+ images over each other, each of which are
transparent gifs.
Apart from the first one (bottom, showing the country), they are not
visible until the mouse moves over the map. That is to say,
the JavaScript swaps the image from hidden to visible. The css for the
hidden part is:
#map IMG.n {position: absolute; left: 0px; top: 0px; visibility: hidden;
z-index: 5}
and for those that are visible: #map IMG.v {position: absolute; left: 0px; top: 0px; visibility: visible;
z-index: 10}
I think this is where the problem lies. The map seems to be working on
Netscape, IE and firefox, but in Opera the areas are not
highlighted .
FYI, the way the styles get swapped is as follows: .... if (document.layer s) { img = findElement('i' +r,0); } else { img = document.images['i'+r]; } if (img) { img.className = "v"; } ...
Do you think that perhaps Opera does not recognise this swap (it seems to,
because at times it shows parts of the images).
Does anyone have any hints?
ive just looked at it in opera 7.6 and it works for me.. when downloading opera you have the choice of versions with or without java installed i seem to remember.
JavaSCRIPT. The OP confused Java for JavaScript, and the two languages
are totally different. I think all browsers ship with JavaScript (it's
built in). His site works fine with or without Java installed. He just
needs to rework the code to use getElementById and dump all of that
antiquated innerHTML stuff. This can all be done via JS and CSS without
too much heartache.
Previously in comp.lang.javas cript,alt.html, SpaceGirl
<NO************ ****@subhuman.n et> said: I think all browsers ship with JavaScript
Lynx doesn't. ;-)
SCNR
--
Mark Parnell http://www.clarkecomputers.com.au
Mark Parnell wrote: SpaceGirl said:
I think all browsers ship with JavaScript
Lynx doesn't. ;-)
Vast numbers don't.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Toby Inkster wrote: Mark Parnell wrote:
SpaceGirl said:
I think all browsers ship with JavaScript
Lynx doesn't. ;-)
Vast numbers don't.
All browsers that matter. We're talking tiny fractions of percentages
that dont have JS installed. While MANY of those may have it DISABLED,
that wasn't what we were talking about. The only major market where
there is no JS is the PDA and phone market. Handhelds dont usually seem
to have JS.
On Wed, 09 Mar 2005 11:23:12 +0000, SpaceGirl wrote: Toby Inkster wrote: Mark Parnell wrote:
SpaceGirl said:
I think all browsers ship with JavaScript
Lynx doesn't. ;-)
Vast numbers don't.
All browsers that matter. We're talking tiny fractions of percentages that dont have JS installed. While MANY of those may have it DISABLED, that wasn't what we were talking about. The only major market where there is no JS is the PDA and phone market. Handhelds dont usually seem to have JS.
I like to think that any potential client, is potential revenue. As such,
any potential client matters, and so does their browser - even if it is
Lynx or one of the many others that doesn't ship with JavaScript. They
may be a fraction of a percentage - say 0.1% but in a million web users,
that still comes out to 1,000 people that may not be able to view and/or
use your site. You can say No to them if you want to, I will gladly
welcome them with open arms.
Carolyn
Carolyn Marenger wrote: On Wed, 09 Mar 2005 11:23:12 +0000, SpaceGirl wrote:
Toby Inkster wrote:
Mark Parnell wrote:
SpaceGirl said: >I think all browsers ship with JavaScript
Lynx doesn't. ;-)
Vast numbers don't.
All browsers that matter. We're talking tiny fractions of percentages that dont have JS installed. While MANY of those may have it DISABLED, that wasn't what we were talking about. The only major market where there is no JS is the PDA and phone market. Handhelds dont usually seem to have JS.
I like to think that any potential client, is potential revenue. As such, any potential client matters, and so does their browser - even if it is Lynx or one of the many others that doesn't ship with JavaScript. They may be a fraction of a percentage - say 0.1% but in a million web users, that still comes out to 1,000 people that may not be able to view and/or use your site. You can say No to them if you want to, I will gladly welcome them with open arms.
Carolyn
That's too black and white. The internet using public only accounts for
a small portion of the total population the planet. Can you afford to
cut of 5 billion people because your medium in the intenet? You have to
remember you cannot design sites for everyone, and if you try to you run
the risk of alienating the people you really want to talk to. While
text-only web sites are pretty much full accessible and available on ALL
browsers, they are hardly going to sell products.
--
x theSpaceGirl (miranda)
# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
On Wed, 09 Mar 2005 20:18:04 +0000, SpaceGirl wrote: Carolyn Marenger wrote: On Wed, 09 Mar 2005 11:23:12 +0000, SpaceGirl wrote:
All browsers that matter. We're talking tiny fractions of percentages that dont have JS installed. While MANY of those may have it DISABLED, that wasn't what we were talking about. The only major market where there is no JS is the PDA and phone market. Handhelds dont usually seem to have JS. I like to think that any potential client, is potential revenue. As such, any potential client matters, and so does their browser - even if it is Lynx or one of the many others that doesn't ship with JavaScript. They may be a fraction of a percentage - say 0.1% but in a million web users, that still comes out to 1,000 people that may not be able to view and/or use your site. You can say No to them if you want to, I will gladly welcome them with open arms.
That's too black and white. The internet using public only accounts for a small portion of the total population the planet.
I think in the end, we'll probably agree that we are saying pretty much
the same thing, that we are both argueing the same side, and just refusing
to see it, for the semantics.
A number of good points in there. You are correct, internet
users are a very small portion of the global population. Internet is one
of many ways to reach people, but only one. It is not the be all and end
all, but it is very popular at the moment. It is not a medium that I have
limited myself to. However, it is the one that has been able to reach the
largest, geographically speaking, market.
Can you afford to cut of 5 billion people because your medium in the intenet?
Yes, in fact I can. I have a little under a hundred thousand hours in the computer industry. At least half of that has been in software development. That is probably why I am a stong
believer in structured development and standards compliance. It isn't for
everyone, but it works for me.
You have to remember you cannot design sites for everyone, and if you try to you run the risk of alienating the people you really want to talk to
I don't think it is cost effective to build sites for everyone, but it is
possible. It certainly isn't easy. Not even easy if you just want to get
the same look and feel on all the various MS IE versions. I won't
outright say it is impossible, but for all practicality it isn't worth it.
While text-only web sites are pretty much full accessible and available on ALL
browsers, they are hardly going to sell products.
I don't advocate text-only web sites, but I do advocate text only support.
For example including alt="" for all graphics, title="" for all links.
The site may not be designed for text only browsers, but at least text
only users can get a good idea of what the site is about.
You are right however, most users expect graphics of some sort, and many won't read
their way through text to find what they are looking for. "A picture is
worth a thousand words." The trick is finding the balance - users like
myself, won't hang around an all graphic site. I leave business websites
that require I use cookies to shop there. I would prefer to risk
paying more than to have to use someone else's preference of a browser, to
have to upgrade to the latest media format, and so forth. Many business
have lost my business for things like that. I usually email the web site
contact to let them know they are losing business - that is when I can
even find that.
As far as your sites go, and this is assuming alot after only a quick
look at one of your sites, I am probably not your market audience anyway.
So, I doubt you are losing any of my business. I would lay odds that a
site I would design/develop for your clients, would lose them lots more
business.
Have a good one,
Carolyn This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tormod Omholt-Jensen |
last post by:
Ï need to dynamically insert an applet into a document. In IE 6.0 my code
works fine, but there seems to be problems in Opera 7. The page looks
like there is allocated space for an applet. Printing the size of the
document.applets array return as expected 0 before the insertion, and 1
after, in both Opera 7 and IE. However, the applet does not init properly
(no painting).
Anyone?
Regards Tormod Omholt-Jensen
|
by: Charles Crume |
last post by:
Hello;
I am trying to test changes to my site (made only on my local machine so
far) in IE v6, Mozilla 1.6, and Opera 7.5.
When I test "navigator.javaEnabled in IE it corretly reports true/false
depending on whether javascript is enabled.
However, both Mozilla and Opera *always* return false. How can I properly
test to see if javascript is enabled/disabled in these two browsers? (If you
|
by: Eli |
last post by:
How can I POST a form into a new window where I control the size and
other attributes of the new window?
Also. Are there any implications, perhaps due to browser security
(Interne Explorer?) that could cause problems if I try to post a form
at www.mydomain.com to www.anotherdomain.com?
|
by: Roedy Green |
last post by:
Opera 8.5 a small fast browser is now out. It is now free and the
adware has been removed. I guess firefox/Mozilla/Netscape were
putting too much pressure by being free.
http://www.opera.com/download/
It works with any version of Java.
I have not had time to see which CSS bugs they have fixed.
--
|
by: Asterbing |
last post by:
Hello,
Here is a page which contains an "evoluated" (to distinguish-it from the
simple one) way to hear sound on a html page event. From my memory, it
worked under all major browsers, but didn't succeed these last days.
I've just tried it today under IE6, Netscape 7, Mozilla 7 and Opera 1.6.
And it only works under IE.
Could you try, please. Is it the same for you ?
| |
by: André Wagner |
last post by:
Hello,
I'm writing a HTML/javascript application who will run locally. I want
to save to a local file.
If I were using IE, I would do this way:
var fso = new ActiveXObject("Scripting.FileSystemObject");
var file = fso.OpenTextFile(filePath,2,-1,0);
file.Write(content);
|
by: Jeremy |
last post by:
I really want to make my scripts work in Opera. I really, really do.
But it seems like an uphill struggle. First of all, I can't get ANY
kind of debug output. No error messages in the "javascript console" -
but then, I have never seen ANYTHING in Opera's javascript console. Is
there some kind of voodoo I need to perform in order to make that work?
Then, when Opera doesn't like something about a script (even if it works
fine in...
|
by: Ilkka Maatta |
last post by:
I test Opera 8.60 for Windows Mobile, Pocket PC becouse i need JAVA script
and sound in my www-page.
My mobile PC is Ipaq 3850 / Pocket PC 2003 and browser is Opera 8.60 for
Windows Mobile, Pocket PC
test page is...
http://koti.phnet.fi/ilkmaat/testi_php/toka.php
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |