473,785 Members | 2,283 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Replace Contextmenu with new menu

Hi all,

I did make a script/css thing to replace the contextmenu on the website with
a new one: http://www.djwice.com/contextmenu.html

It works nice in MSIE, but on Netscape (and probable other browsers) it
stays on the same place (does not "open'' where the mouse is). And the links
do not work when you click on them.

If anyone has sugestions on how to improve it, please let me know.

Thanks,
Wouter
Jul 20 '05
52 4752
: If you want to extend the possibilities of a context menu, makes much
: more sense to demonstrate to your visitors how to do it efficiently.
:
: e.g. http://www.mattkruse.com/contextmenu/

Ah you want me to trick visitors to download a .reg and so have my menu :-)
Well, it's just coding for fun :)
Like you must have noticed when the color of the page in NN is like the
default color of NN 7. And in IE it's that of the classic theme.
I did "even" remove the small black line from your browser window ;-)
For that you need not to specify the dtd else it won't work :)

Wouter
Jul 20 '05 #41
DJ WIce wrote:
Hi all,

I did make a script/css thing to replace the contextmenu on the website with
a new one: http://www.djwice.com/contextmenu.html

It works nice in MSIE, but on Netscape (and probable other browsers) it
stays on the same place (does not "open'' where the mouse is). And the links
do not work when you click on them.

If anyone has sugestions on how to improve it, please let me know.

Thanks,
Wouter

BTW, it works fine in Mozilla 1.5b

--
Bill Drescher
william {at} TechServSys {dot} com

Jul 20 '05 #42
bill drescher wrote:
DJ WIce wrote:

I did make a script/css thing to replace the contextmenu on the website with
a new one: http://www.djwice.com/contextmenu.html

BTW, it works fine in Mozilla 1.5b


No, it does not. "Works fine" is more than just the absence of
JavaScript errors. The scripted context menu neither has the same
options as mozilla, nor do the options change depending on which page
element has focus, nor is it accessible via keyboard.

Functionally, it is vastly inferior to the browser's context menus, so
it does not "work" at all as a replacement.

--
To email a reply, remove (dash)un(dash). Mail sent to the un
address is considered spam and automatically deleted.
Jul 20 '05 #43
On Fri, 16 Jan 2004 21:08:03 +0100, "DJ WIce" <co*********@dj wice.com>
wrote:
: If you want to extend the possibilities of a context menu, makes much
: more sense to demonstrate to your visitors how to do it efficiently.
:
: e.g. http://www.mattkruse.com/contextmenu/

Ah you want me to trick visitors to download a .reg and so have my menu :-)
No, you stated your reason for doing this was in that innovation in
contextmenu was good, and you're right it is, which is why Mozilla, IE
and others allow it to be modified easily.
Like you must have noticed when the color of the page in NN is like the
default color of NN 7.
Who knows what you're talking about?
And in IE it's that of the classic theme.


Why, why not use the colour of my contextmenu if you're wanting to be
consistent?

Jim.
--
comp.lang.javas cript FAQ - http://jibbering.com/faq/

Jul 20 '05 #44
"Lasse Reichstein Nielsen" <lr*@hotpop.com > wrote in message
news:n0******** **@hotpop.com.. .
"DJ WIce" <co*********@dj wice.com> writes:
: Suggestion: Trash it and stop screwing with my mouse.

Sugestion: look at what you see before complaining; click the option on the bottom of the menu...


Didn't see a thing. I use Opera :) Anyway, I did check in IE and
Mozilla ...

Neither allows me to pop the menu down again when it is up, except by
chosing an entry.


I checked in IE and Mozilla as well (versions 6.0 and 1.6 respectively) and
had no problems with the menu. Right-clicking showed the menu, and clicking
outside of it hid it again.

Christopher Finke
Jul 20 '05 #45
: > And in IE it's that of the classic theme.
:
: Why, why not use the colour of my contextmenu if you're wanting to be
: consistent?

If you can tell me how I could get that information from every IE (or NN)
visitor I would. I did not know that it was possible.

Wouter
Jul 20 '05 #46
in post: <news:bu******* ***@news.tudelf t.nl>
"DJ WIce" <co*********@dj wice.com> said:
: Why, why not use the colour of my contextmenu if you're wanting to be
: consistent? If you can tell me how I could get that information from every IE (or NN)
visitor I would. I did not know that it was possible.


http://www.w3.org/TR/REC-CSS2/ui.html#system-colors

--
brucie - i usenet nude
Jul 20 '05 #47
: The scripted context menu neither has the same options as mozilla
True.

: nor do the options change depending on which page
: element has focus
I'm working on that. Checking if there is a selection or a field focus.

: nor is it accessible via keyboard.
False, use your contextmenu key, use your arrow down if you use MSIE or elke
tab (I do not yet know how to enable arrow keys in NN.
I just think focus the next element of the <a href=""> array and with the
final (just check the name) the x elements before the current).

: Functionally, it is vastly inferior to the browser's context menus
That's just a mather of tast, but of cause, it's just a test case to script
some, so don't worry.

Thanks, :-)
Wouter
Jul 20 '05 #48
: http://www.w3.org/TR/REC-CSS2/ui.html#system-colors
: --
: brucie - i usenet nude

!THANKS!
Wow! Just didn't know!

Wouter
Jul 20 '05 #49
in post: <news:bu******* ***@news.tudelf t.nl>
"DJ WIce" <co*********@dj wice.com> said:
: brucie - i usenet nude !THANKS!
Wow! Just didn't know!


i can send you pictures if you like
--
brucie - i usenet nude
Jul 20 '05 #50

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

46
7044
by: DJ WIce | last post by:
Hi all, I did make a script/css thing to replace the contextmenu on the website with a new one: http://www.djwice.com/contextmenu.html It works nice in MSIE, but on Netscape (and probable other browsers) it stays on the same place (does not "open'' where the mouse is). And the links do not work when you click on them. If anyone has sugestions on how to improve it, please let me know.
1
2040
by: Brian Martel | last post by:
I am trying to create a dynamic flyout submenu off of a contextmenu. I can right click and get the base contextmenu ok. On the Popup event I add MenuItem's to the collection of one of the items so it has a flyout submenu when selected. If I try and add more than 1 item to the submenu it only shows up the first time. This same code works fine if it is part of a MainMenu but not with a ContextMenu. Has anyone seen this before? Have you...
2
2926
by: Derrick | last post by:
I've been working on an application which has a NotifyIcon (system tray icon), and a corresponding ContextMenu. I want to be able to update this menu dynamically. However, when I make changes to the menu, it seems to disappear. This only breaks when the context menu is tied to a NotifyIcon - not to any other control. Below is a C# file for a form which should illustrate this (at least it does on my machine!). The same contextmenu is...
10
21327
by: tmaster | last post by:
When I try to dynamically add a second sub menu item to this ContextMenu item, I get an error 'Specified argument was out of the range of valid values'. Private Sub mnuTopics_Show_Select(ByVal sender As System.Object, _ ByVal e As System.EventArgs) _ Handles mnuTopics_Show.Select Dim mShowMenuItem As MenuItem mShowMenuItem = DirectCast(sender, MenuItem)
7
1396
by: TryingLikeHeck | last post by:
I have a usercontrol on which I've generated a context menu in designer. The properties of the control lists for ContextMenu (none) The menu shows up in the designer window and I can edit it To assign my menu to the property in New I do ContextMenu = RePopupMenu To show it, on right mouse down I do ContextMenu.Show(Me, New Drawing.Point(e.X, e.Y))
3
347
by: asharda | last post by:
Hi, I am trying to create a context menu in my application. The context menu takes menu otems from an XML file. In XAML the code is <Grid.ContextMenu> <ContextMenu Name="cm" StaysOpen="true" Width="Auto" Height="Auto" ItemsSource="{Binding Mode=OneWay, Source={StaticResource ListItemsDS}, XPath=/ListboxItems/ListboxItem/ ScreenName}" MenuItem.Click="add_Click">
0
9646
marktang
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...
0
9483
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,...
0
10157
jinu1996
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...
0
9956
tracyyun
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...
0
8982
agi2029
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...
0
6742
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();...
0
5386
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...
1
4055
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
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.