hi
i have a problem with javascript
i have an image in a HTML page
i would like to have a rectangle upon mouse cursor when mouse are over
the image
but i don't know how can i do this
any idea ?
--
(concatenate 'string "lam" (reverse "gro.ylimafxut@ ")) 9 1784
Lam wrote on 04 jul 2003 in comp.lang.javas cript: <img style="cursor:u rl("/rect.cur");" src=""> [you have to make the cur file]
i think this solution doesn't work with other navigator than IE no ?
With IE you have 98% of the market. I do not like that, but it seems to be
a fact.
I do not test other browsers.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Lam wrote on 04 jul 2003 in comp.lang.javas cript: "Evertjan." <ex************ **@interxnl.net > writes: Lam wrote on 04 jul 2003 in comp.lang.javas cript: <img style="cursor:u rl("/rect.cur");" src=""> [you have to make the cur file]
i think this solution doesn't work with other navigator than IE no ?
With IE you have 98% of the market. I do not like that, but it seems to be a fact.
I do not test other browsers.
well i do not user IE :(
Quite so.
But do you make pages only or mainly for yourself, Lam ?
If you are interested if your pages works on IE,
the best way is [also] have IE installed on your computer.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
<snip> With IE you have 98% of the market. I do not like that, but it seems to be a fact.
I would not dispute that Window IE is the most commonly used web browser
and that means that ignoring IE is not an option but I am very
suspicious of the figure of 98%. I recently read an article on browser
statistics:-
<URL: http://j3e.de/statistics_lie.html >
- that implies that the way in which the statistics are gathered (and
some internal features of the later IE versions) weight the statistics
in favour if IE by a potentially significant factor.
Richard.
"Jim Ley" <ji*@jibbering. com> wrote in message
news:3f******** ******@news.cis .dfn.de...
<snip> I'd like to see some evidence of their assertions, I can find none in any of the logs I've got with all sorts of files, all the 206 responses can be explained in other ways (and none are clustered as it suggests - nor can I find any other details on the feature)
I was surprised by and dubious of that claim. I could not see why IE
would chose to do something very differently from other browsers when
the end result did not to appear to be significantly differently. And if
there was an advantage why not mention the difference?
<snip>... it says "IE users are thick, and spend their time on web discussion forums" ...
The author did demonstrate a strong anti-IE bias. Though he made no
effort to conceal that bias.
<snip>The simple fact is, we don't know what users use, that doesn't change the conclusion to the article, but I don't think the article itselfs is very useful.
You came up with better articles, they come to the same conclusion. So
we can be confident that the majority of web browsing is done with
Windows IE and certain other browsers are also used, but putting numbers
on the proportions cannot be done meaningfully.
Richard.
Richard Cornford wrote on 05 jul 2003 in comp.lang.javas cript: ... , my site for Dutch family doctors [they use their computers mostly professionally] has the folowing statistics:
1. Internet Explorer 6.x 64.6 % 2. Internet Explorer 5.x 31.5 % 3. Netscape 3.x 3.1 % 4. Internet Explorer 4.x 0.8 % Total 100.0 % Disregarding the question of how representative Dutch family doctors may be,
They do not have to be representative for a larger audience, as the pages
are only ment for them.
you don't say anything about what these figures are.
<http://www.nedstatbasi c.net/s?tab=1&link=5& id=713797>
Furtermore I register the visitors to the pages and their browser by an
asp include, and this seems to correspondent really well with the netstat
figures.
They initially look suspect because a 3% figure for Netscape 3 and zero representation of Netscape 4 seems quite unlikely (robots spoofing Net 3?).
In any event, numbers without any indication of what they represent, how they were gathered or how they were processed, have no meaning.
They have meaning to me, and I showed why. I am not trying to show the
relative values inside the NS group or inside the IE group for that
matter. I followed the change from IE5/5.5 to IE6 last two years. And the
change from w98/NT5 to XP=NT5.1. They give me a reasonable trust that the
Netstat numbers are correct in the sense that the fast majority of my
audience and target audience uses IE. The NS users among my collegues are
quite capable to mail me and I advice IE in those cases, as I advice
PegasusMail instead of Outlook wherever possible.
Perhaps you all want to maximize your audience [in a commercial setting a
logical choice], I want to educate mine.
So I do not code for lynx, NS or IE4.
And not for Javascript-off.
Some slideshow routines have:
var ie55=window.cre atePopup
function ....
if(!IE55) return
to lessen the impact of IE5.0 incompatibility .
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ***********@194 .109.133.29...
<snip> Disregardin g the question of how representative Dutch family doctors may be, They do not have to be representative for a larger audience, as the pages are only ment for them.
Then why present the figures? What percentage of a global (albeit
English reading) audience do you imagine will at some time be required
to work on web sites intended for the exclusive viewing of Dutch family
doctors? you don't say anything about what these figures are.
<http://www.nedstatbasi c.net/s?tab=1&link=5& id=713797>
More numbers with labels but still no explanation of what those numbers
are intended to represent of indication of how and where the data (if
any) was gathered. And their figures also contain the rather suspicious
assertion the Netscape 3 represents 3% of whatever those figures are
meant to represent but Netscape 4 is not present at all.
Furtermore I register the visitors to the pages and their browser by an asp include, and this seems to correspondent really well with the netstat figures.
Given that you write IE specific pages for what you admit is a
non-representative audience, if your numbers correspond closely with
nedstatbasic.ne t's numbers then nedstatbasic.ne t become even more
suspect. But do you have any evidence that you are even measuring the
same thing?
<snip>They have meaning to me, and I showed why. ...
They may have meaning for you but if you want to show them to anyone
else you should expect to be asked what they are expected to mean to
them. Otherwise they are just labelled numbers.
As far as I can see you have shown nothing.
<snip>Perhaps you all want to maximize your audience [in a commercial setting a logical choice], I want to educate mine.
Under most circumstances a desire to educate would also imply a
requirement to reach the widest possible audience. Though I would
concede that effectively functioning as a family doctor probably does
exclude those experiencing many of the extremes of disability.
So I do not code for lynx, NS or IE4. And not for Javascript-off.
Some slideshow routines have: var ie55=window.cre atePopup function .... if(!IE55) return
So there is no doubt about it, you really are writing pages that will
just not work for non-(JScript enabled) IE browsers. Should it be
surprising if you don’t see much evidence of people attempting to use
other browsers on your site? That actually makes it surprising that you
can attribute 3% of whatever it is to Netscape 3.
Richard.
Richard Cornford wrote on 05 jul 2003 in comp.lang.javas cript: They do not have to be representative for a larger audience, as the pages are only ment for them.
Then why present the figures? What percentage of a global (albeit English reading) audience do you imagine will at some time be required to work on web sites intended for the exclusive viewing of Dutch family doctors?
As it was an answer to why I(!!!) do not code for NS or <=IE4.
Who requires the global audience to do anything, not me, you ?
<btw>
Why do you say the global audience is English reading? If you understand
French, Latin and/or Spanish a whole new cyberworld will open for you, both
in content and in coding.
An example of quality in both aspects:
<http://lettrevolee.irh t.cnrs.fr/transcription1. htm>
</btw>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29... They do not have to be representative for a larger audience, as the pages are only ment for them. Then why present the figures? What percentage of a global (albeit English reading) audience do you imagine will at some time be required to work on web sites intended for the exclusive viewing of Dutch family doctors?
As it was an answer to why I(!!!) do not code for NS or <=IE4.
The reason that you do not write for browsers other than IE is that you
currently don't know how to. What we are discussing here are you reasons
for not learning how to write cross-browser code. In the end your
personal decisions are entirely up to you and if you are in the
fortunate position that you decision will not have any consequences then
so much the better for you.
On the other hand, if you want to promote your decision with dubious and
meaningless labelled numbers then it doesn't seem unreasonable that you
be asked what those numbers are supposed to represent. You are clearly
unwilling or unable to contribute anything toward the interpretation of
those numbers and under those circumstances it would be unwise for
anybody to give them any credence.
Who requires the global audience to do anything, not me, you ?
In that context the "required" would be - by a potential employers or
clients.
<btw> Why do you say the global audience is English reading? ...
I did not. I was conceding that although your post was globally
distributed the fact that it was written in English implied that it was
not addressed at a non-English reading audience.
Richard.
Richard Cornford wrote on 07 jul 2003 in comp.lang.javas cript: On the other hand, if you want to promote your decision with dubious and meaningless labelled numbers then it doesn't seem unreasonable that you be asked what those numbers are supposed to represent. You are clearly unwilling or unable to contribute anything toward the interpretation of those numbers and under those circumstances it would be unwise for anybody to give them any credence.
Not at all. Netstat is a reputed firm. If those numbers are checked by
me with an indepandent asp procedure also on my pageses and give
reasonably the same answer, and tell me that more than 96% of my
audience uses IE, then it is reasonable to assume tat the real figure is
far above 50%. I even take the precaution to disable counting my own
IP's access, which can be heavy sometimes when testing a page online. Who requires the global audience to do anything, not me, you ?
In that context the "required" would be - by a potential employers or clients.
As I told you, I have no employer nor clients at hhis site. <btw> Why do you say the global audience is English reading? ...
I did not. I was conceding that although your post was globally distributed the fact that it was written in English implied that it was not addressed at a non-English reading audience.
I think this is an unreasonable conclusion. Many programmers of
non-English sites like to have their tech-talk in an international space
and use this and other NGs, reading and answering in threads in any
language of their personal multilingual ability.
As I showed earlier as example that French site about an Latin lost
letter, being an unilingual has its disadvantages, surely in scope,
sometimes in understanding that scope.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kenny |
last post by:
I have been trying to write a script that will increase the size of
and image when you mouse over it, and decrease it to original size,
when you mouse out. After a couple of attempts, this is what I've come
up with. In this example, there are 5 images (0 thru 4) all with a
height of 80px. When you mouse over an image, it changes the
growingImage variable equal to the number of the image you mouse over,
when you mouse out, it sets it to 5,...
|
by: Jim Buzbee |
last post by:
I have a subroutine that inserts image objects into
a page for me. It works fine except for one thing.
My mouseover settings don't appear to take. i.e. I
see nothing at all when I move the mouse cursor over
the image. If I replace the object creation code with
a plain document.write, it works. :
// this works as expected
document.write("<img src='marker12.gif' \
id='1' \
|
by: Victor Bastiaansen |
last post by:
For use in a menu I build a stylesheet which crops an image which
contains both the normal button-state and the mouseover-state.
On a mouseover the layer background-images 'moves', and another part
of the image will be visible (to be clear: the mouseover-image is
allready loaded). This all works fine, but a problems seems to occure
when the browser-cache is getting full. on a mouseover the movement of
the layerbackgroundimage is somewhat...
|
by: Amy |
last post by:
<style>
div.helpBtn{ font:bold 73% verdana; color:#995F8D; text-align:left;
width:79px; height:24px; margin:0px; padding: 5px 0px 0px 27px;
background: url(/jsp/images/pms/housekeeping/helpBtn_off.gif)
no-repeat; }
div.helpBtnOn{ font:bold 73% verdana; color:#BB59DE; text-align:left;
width:79px; height:24px; margin:0px; padding: 5px 0px 0px 27px;
background: url(/jsp/images/pms/housekeeping/helpBtn_on.gif)
no-repeat; cursor:pointer; }...
|
by: lofty00 |
last post by:
hello,
sorry about the repost - I've been posting to several groups and I've
decided it's better to make a single repost to all of them rather than
an extra post in each.
I've been trying to work out why I can't get the image maps to work in
IE6 on a page I'm working on (which is now working in firefox). I've
written the page below as a test case. It's now refusing to work in
Firefox either, and I can't see anything wrong with it so...
| |
by: Annette Acquaire |
last post by:
I have and image map with a dozen hotspot links on it that I'm trying to
get to open a new image over existing one on mouseover of each COORD. The
only thing I was able to do was swap image on mouseover entire image, I want
it on each hotspot only, so an image pertaining to each link shows up.
I have done it in JavaScript, but the website I'm using doesn't use
JavaScript. Y'all are obviously light-years more knowledgeable then me on
html...
|
by: =?Utf-8?B?SGFyZHkgV2FuZw==?= |
last post by:
Hi all,
I am building a web site with theme support, under each theme's folder there
are some images. Some of my images need to be skinned, I know I can build a
skin file with line like
<asp:Image runat="server" ImageUrl="images/email.gif" skinid="Email"
BorderWidth="0" />
Then in my master page or web page I can call this skin like
|
by: Nyarlathotep333 |
last post by:
OK, I am new to Javascript but good with CSS and HTML coding. I have a little experience with Java and .NET as well. Here's what I'm trying to do.
I have three images of an animated spider. The first image is a simple gif with transparency (spider.gif - which is the state of the rollover when the page loads) and two other gif files. One is an animation of the spider turning counterclockwise (spider_f.gif) a bit, and the other is a...
|
by: scolivas |
last post by:
Is there a (Simple) way to make the image produced by the mouseover command - to be a specific size? I have several different pictures - and depending on what it is the size can vary alot - is there anyway to make the mouseover command dictate that the image is 50% of its original size - so that it automatically adjusts to each picture being displayed?
Example of what I mean about the pictures:...
|
by: spacecadet563 |
last post by:
I am trying to change and display the image source of an image control (named image2 )on mouseover of cell event on a gridview(Gridview1) with a SQL datasource. The cell contains image name of image in web app directory.
The VB code behind I started with is:
Protected Sub Gridview1_RowDataBound
If (e.Row.RowType = DataControlRowType.DataRow) Then
Dim mytext As String = Server.HtmlDecode(e.Row.Cells(8).Text)...
|
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: 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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |