473,405 Members | 2,160 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,405 software developers and data experts.

how to design a gray box?

27
I don't know if this is the right part of the forum to address my problem but I need to design a gray box for a page and I have no idea how. Any help would be appreciated. If you also know from where I can download some sample code that would be awesome.

Thank you in advnace
Aug 17 '07 #1
6 2295
bettor
27
I don't know if this is the right part of the forum to address my problem but I need to design a gray box for a page and I have no idea how. Any help would be appreciated. If you also know from where I can download some sample code that would be awesome.

Thank you in advnace
Aug 17 '07 #2
drhowarddrfine
7,435 Expert 4TB
Don't know what you mean by design a gray box. Do you mean create a box for a web page that has a gray background or create one using Photoshop/Gimp? Need specifics.
Aug 17 '07 #3
pbmods
5,821 Expert 4TB
Heya, bettor.

The easiest way to do it is to create a hidden div in your HTML and then set its display property:
Expand|Select|Wrap|Line Numbers
  1. <style type="text/css">
  2.     #grayBox
  3.     {
  4.         background-color:   #999999;
  5.         display:            none;
  6.         height:             100px;
  7.         width:              100px;
  8.     }
  9. </style>
  10.  
  11. <div id="grayBox">
  12. </div>
  13.  
And to show the box:
Expand|Select|Wrap|Line Numbers
  1. document.getElementById('grayBox').style.display='block';
  2.  
Aug 18 '07 #4
bettor
27
Don't know what you mean by design a gray box. Do you mean create a box for a web page that has a gray background or create one using Photoshop/Gimp? Need specifics.
Well all I can do to clarify myself is to give you an example:
http://orangoo.com/labs/greybox/normal_usage.html any of the links on this page contains a grey box which I am trying to make. any idea on how to proceed would be highly appreciated.
Aug 18 '07 #5
drhowarddrfine
7,435 Expert 4TB
I believe the directions are on that site but this is javascript so I'm sending you there.
Aug 18 '07 #6
acoder
16,027 Expert Mod 8TB
Merged threads.
Aug 18 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: George Hester | last post by:
Because in my .NET implementations I do not run into this. Yes granted I don't use the various technologies that Microsoft does but in my book using enhanced products erroneously is worse then not...
8
by: oj | last post by:
Please, bare with me. I'm new to CSS and would like to ask for some advice on my current project. I have an existing table based layout that serves as the main template for a .Net application I've...
9
by: ldufrane | last post by:
Hi All, I just started a project, which features various great websites that use CSS/web standards, this projects also highlights what techniques they use to create the wow effects, in certain...
6
by: Srinivas Rao \(Rbin/eds2\) | last post by:
HI all, Can any one tell me what the term "gray coding" mean in C programming. with regards, K Srinivas
3
by: PontiMax | last post by:
Hi, in my opinion the user interface designers of the Microsoft CRM solution have done a very good job. But I'm afraid I don't understand how certain elements of that design were implemented......
0
by: postings | last post by:
Hi The code below compiles and works. It's a control derived from a drop down list that displays countries for the user to select. My issue is that is I look in the drop down list in Design view...
1
by: danielhoin | last post by:
I don't have any errors. I have only a little bit of code as I just started a new app. I have a master page that shows up fine, but the actual content pages show only gray and my MP header in the...
3
by: Ronald S. Cook | last post by:
For my web pages that have an associated master page, when I try to work with them in design mode, I get this "gray film" over it and I can edit only the master. How can I get to my page in...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I removed a form and all its associated files (designer, vb, resx) from a project because I was having a problem with that form. I copied these files to another folder away from the project...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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,...
0
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...
0
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...
0
isladogs
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...

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.