473,378 Members | 1,384 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Disabling Tab Button Mozilla

Hi NG,

i want to disable tab button and i think that solution is method
preventDefault() but i can't disabled this button.

temp.addEventListener('keydown',press_key,true);
........
function pressKey(event)
{
.......
if (condition)
event.preventDefault();
}

I have tried with event.returnValue=false but it's not work

Can you help me?

Thanks

Stefano
Jul 20 '05 #1
6 1452
Stefano wrote:
Hi NG,

i want to disable tab button and i think that solution is method
preventDefault() but i can't disabled this button.

temp.addEventListener('keydown',press_key,true);
.......
function pressKey(event)
{
......
if (condition)
event.preventDefault();
}

I have tried with event.returnValue=false but it's not work

Can you help me?

Thanks

Stefano


Hi Stefano,

Sorry, I cannot help you with that, but I am wondering why you want to
disable such a incredable usefull thing as tabs?

Regards,
Erwin Moller

Jul 20 '05 #2
DU
Erwin Moller wrote:
Stefano wrote:

Hi NG,

i want to disable tab button

Can you explain, detail, justify why you would want or need to do that?
Maybe tehre is anotehr better solution to your webpage situation.

DU
Jul 20 '05 #3
DU
Stefano wrote:
Hi NG,

i want to disable tab button

Can you explain, detail, justify why you would want or need to do that?
Maybe tehre is anotehr better solution to your webpage situation.
Can you post an url?

DU
Jul 20 '05 #4
DU <dr*******@hotWIPETHISmail.com> wrote in message news:<c1**********@news.eusc.inter.net>...
Erwin Moller wrote:
Stefano wrote:

Hi NG,

i want to disable tab button


Can you explain, detail, justify why you would want or need to do that?
Maybe tehre is anotehr better solution to your webpage situation.


I am writting wysawyg editor and in some situations i want
that tab button is disabled, i wan't that if user pushes a tab button
nothing happens.
DU

Jul 20 '05 #5
On 26 Feb 2004 05:52:05 -0800, st******@libero.it (Stefano) wrote:
I am writting wysawyg editor and in some situations i want
that tab button is disabled, i wan't that if user pushes a tab button
nothing happens.

Why would you want that? If you have done a WYSIWIG editor, what you
care about is what is in the browser window - not how many windows
they have open or what they are doing with them. The tabs do't matter
to you.
Jul 20 '05 #6
Mark Preston wrote:
On 26 Feb 2004 05:52:05 -0800, st******@libero.it (Stefano) wrote:
I am writting wysawyg editor and in some situations i want
that tab button is disabled, i wan't that if user pushes a tab button
nothing happens.

Why would you want that? If you have done a WYSIWIG editor, what you
care about is what is in the browser window - not how many windows
they have open or what they are doing with them. The tabs do't matter
to you.


Yep.
I actually still don't understand why stefano want that either...

Regards,
Erwin Moller
Jul 20 '05 #7

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

Similar topics

16
by: Ralph Freshour | last post by:
How can I disable a button once it has been clicked? I want to prevent the user from clicking on it twice if they have a slow connection. Thanks...
15
by: Hal Robertson | last post by:
I have created a rather complicated series of html forms for a data entry wizard In my mozilla browser, every time I submit each form along the process, it asks me if I want to remember the...
13
by: Howard Kaikow | last post by:
How does one enable/disable JavaScript in IE 6? -- http://www.standards.com/; See Howard Kaikow's web site.
22
by: Papajo | last post by:
This simple script counts up or down with a button click, now can it be modified so the count won't go below zero?            Thanks, Joe <form> <input type=text name=amount size=4 value=>...
4
by: Steve | last post by:
I have the MDI MFC application ported to .NET. Now this application include mixed managed/unmanaged code. The application displays progress dialog with the cancel button during lenghtly...
2
by: Jeelz | last post by:
Hi Guyz, Would appriciate any tip on disabling an ASP.NET LinkButton using client sided code like javascript. My Requirement is such that the user should be allowed to click on the link...
3
by: Paul | last post by:
Hi I am trying to create an "Update" button for my form. So far I have got it working fine, posting back and updating the record. Great! However, I now want to make it so that when a user...
1
by: dominpe | last post by:
I am trying to draw a rectangle over an image in mozilla. For that, I use 4 divs (one for each line in rectangle) and resize and move them to make the rectangle draw. It is working in IE6 and...
1
by: Albin | last post by:
Hi, I have a form in which i have two text boxes one for entering email and the other for verify email (to make sure the user entered the correct email id we are asking to enter the same email id...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.