473,385 Members | 1,856 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,385 software developers and data experts.

how to disable all tags?

hello,

I have a div which includes many others tags (a, input, any others
links).
How can I disable the whole div? I want to any of the included tags may
not be enable.

--
regards and thanks for help, sorry for my english

Jul 6 '06 #1
7 1677
you can use <div style="Display: none;">

and for again visibility
<div style="Display:block">
and in Javascript

document.getElementById("YourDivID").style.display = "none";
siara wrote:
hello,

I have a div which includes many others tags (a, input, any others
links).
How can I disable the whole div? I want to any of the included tags may
not be enable.

--
regards and thanks for help, sorry for my english
Jul 6 '06 #2

Free BSD napisal(a):
you can use <div style="Display: none;">

and for again visibility
<div style="Display:block">
and in Javascript

document.getElementById("YourDivID").style.display = "none";
yes, of course, but I want: giv is visible and every click on it has no
effect (and maybe visibility of the div is more gray)

--
regards
Artek

Jul 6 '06 #3
so dude ... cant understand what you want to do here ????

if you want to handle the click event on the div use onclick method

regards
Free BSD
siara wrote:
Free BSD napisal(a):
you can use <div style="Display: none;">

and for again visibility
<div style="Display:block">
and in Javascript

document.getElementById("YourDivID").style.display = "none";

yes, of course, but I want: giv is visible and every click on it has no
effect (and maybe visibility of the div is more gray)

--
regards
Artek
Jul 6 '06 #4

Free BSD napisal(a):
so dude ... cant understand what you want to do here ????

if you want to handle the click event on the div use onclick method

ok, thanks

Maybe again:
Sometimes in google, there is appear pop up window, and then, you can
click only on that window until you click e.g. 'Yes' or 'No'.
I want to do the same.

--
regards
Artek

Jul 6 '06 #5
siara wrote:
Maybe again:
Sometimes in google, there is appear pop up window, and then, you can
click only on that window until you click e.g. 'Yes' or 'No'.
I want to do the same.
Make a div with this style:
position:absolute;
z-index:100;
width:100%;
height:100%;
filter:alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
background-color:#000000;

make it visible as Free BSD explained.
Don't forget to make z-index of your pop up greater.

Jul 6 '06 #6

me****@gmail.com wrote:
siara wrote:
Maybe again:
Sometimes in google, there is appear pop up window, and then, you can
click only on that window until you click e.g. 'Yes' or 'No'.
I want to do the same.

Make a div with this style:
position:absolute;
z-index:100;
width:100%;
height:100%;
filter:alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
background-color:#000000;

make it visible as Free BSD explained.
Don't forget to make z-index of your pop up greater.
thanks a lot, I will test it right now:)

Artek

Jul 6 '06 #7
On 6 Jul 2006 10:46:46 -0700, "siara" <ar*********@gmail.comwrote:
>
me****@gmail.com wrote:
>siara wrote:
Maybe again:
Sometimes in google, there is appear pop up window, and then, you can
click only on that window until you click e.g. 'Yes' or 'No'.
I want to do the same.

Make a div with this style:
position:absolute;
z-index:100;
width:100%;
height:100%;
filter:alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
background-color:#000000;

make it visible as Free BSD explained.
Don't forget to make z-index of your pop up greater.

thanks a lot, I will test it right now:)

Artek
If you want to disable form objects like what you saw in Google, then
add a 'disabled' attribute to the objects with a value of 'disabled'.
It should work for everything.

JohnnySpasm

Aug 17 '07 #8

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

Similar topics

0
by: Lisa | last post by:
I need to apply the HTML formatting tags and the French accented characters in a XML document. The XML is generated from a database that has HTML tags and French accented characters in the records....
4
by: KS | last post by:
Im trying to prevent the user from clicking any other links on my page when the user have selected/clicked a href once. Sometimes it takes a while before the next page loads so some user will try...
2
by: techfuzz | last post by:
I scoured this group and others looking for the best way to disable a button after the first click to prevent multiple submissions, but never did find anything that worked like they said it would. ...
2
by: Andre Ranieri | last post by:
I'm retouching our corporate web site that, among other things, allows customers to log in and pay their invoices online. I noticed that on the checkout page, the credit card number textbox...
8
by: prado | last post by:
I want to disable a table with javascript. In this table i have 'n' record and each record has 3 buttons. If you click a button does an action. I want to disable the all table. is there any way...
2
by: matt | last post by:
hello, i am developing an intranet application that does some printing, and i would REALLY like to be able to instruct pages rendered in IE (6) NOT to display default Header & Footer tags on the...
4
by: Residential Area Freak | last post by:
How do I disable programmatically the cleartype function in IE 7 for my web apps? Are there new HTML-Tags or JavaScript functions to disable cleartype in the development? Best regards pP
1
by: jprimo | last post by:
Hi Everyone, I was wondering if anyone knew how to disable to span tags that appear in the place of ASP.NET labels ( <asp:Label ) after it has been processed by the server. I have a style sheet...
2
by: varois83 | last post by:
Hi I am just starting with PHP. I am reading a PHP 5 book and they say to not use short tags and to actually disable them so I see an error message if I don't form my tags correctly....
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
Oralloy
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,...
0
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...

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.