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

display div over all other elements in document

I am working on sharepoint application.
I am displaying some data in gridview.
when I right click on gridcell, context menu opens in a div.
this div hides onmouseout event.
In this div i have three links for three different pages.
Now problem is, I have 2 main divs on page.
in 1st div this gridview comes. and second main div in which i am displaying some other data.
Now in 1st div, i have gridview.when i click on last and second last gridcell, i am getting popup div but is shown halfly, as it gets hidden behind , second div(popup div is not part of this div).
Please send some solution.I want to display popup div on last two gridcells also.
Thanks in advance.
Nov 21 '08 #1
5 14326
serdar
88
Use z-index. http://www.w3schools.com/Css/pr_pos_z-index.asp

Expand|Select|Wrap|Line Numbers
  1. <div style="z-index:100;"></div>
Nov 21 '08 #2
hi serdar,
thanks for reply

i have very much complicated structure of tr, td div , that also i cant reprodeuce here.i would try to explain some.
i have 8 <tr> in body.
In 6th <tr>, i have a grid in a div (div1).
In 7th <tr>, i have a div (div2).on right click of gridcell , a div pops up(popupdiv).
on popupdiv i have 3 links , that opens , 3 different webpages.
Problem is , when i click on , last 2 rows in gridcell, i am getting popupdiv halfly. it gets hidden behind , div2.

I tried to set , z-index = 100 for popupdiv.but it does not work.

is it because, the popupdiv is created on fly.

should , i set z-index , of tr or div , to 0 or -1 , for reference.
please help.
Nov 25 '08 #3
serdar
88
It would be a lot easier if you provide a link to your page, or at least post the relevant part of the code here. I'll post a sample soon anyway.
Nov 25 '08 #4
i found main div in which this grid exists. i set div.style.overflow= visible for this main div, and also for all divs which are child of this main div.

its working well in IE.
In mozilla it works fine for first time, for next attempt, it automatically increase height of main div, sets scrollbar(may be it is setting, div.style.overflow= auto)

can you help me in this situation.
Dec 1 '08 #5
serdar
88
Please post the relevant HTML / JS code.
Dec 1 '08 #6

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

Similar topics

2
by: Trev | last post by:
I'm converting a site from VBScript to JavaScript, I have the following code in VBSCript: > Sub ShowSection_OnClick(pintDivNum) > > document.all.item("div_" & pintDivNum &...
7
by: PaulB | last post by:
Good Morning everybody, I'm trying to adapt a tutorial script that will handle the behaviour of an "Expanding/Contracting" site-navigation menu. The code that seems to handle the expansion and...
1
by: tfs | last post by:
I have a word file stored in an SQL database and am trying to read and display on my ASP.Net page. It seems to work OK as far as reading and displaying on the page, but it is not displaying as a...
5
by: Ed Jay | last post by:
I have a switch statement that controls which of several containers is displayed or not. It currently looks like: function showHelp(n) { show('vhelp'); //makes parent container visible switch...
2
by: ayasofya | last post by:
Hi..i'm very new to thic C++ programming..in doing my assignment i face some difficulties..first 1) i use 2 dimension of array e.g," 1 columns and 5 numbers under each column"...and i ask the user...
0
by: =?Utf-8?B?QXJ0eVNpbg==?= | last post by:
I have a multipage asp.net 2.0 web site which is based on a masterpage. For a few of the pages, I want to display Word documents automatically. I want to create the document in Word (2007 or 2003,...
18
chunk1978
by: chunk1978 | last post by:
hi everyone. i just started learning how to dynamically show/hide elements with a checkbox toggle. i would like to know if it's possible to delete/rewrite elements instead of simply show/hide...
1
by: dingcai | last post by:
Hi, I am a learner for C# and .Net. I load XML document as follows: <?xml version="1.0" encoding="UTF-8"?> <CustomerData> <Transaction> <DSLFIELDS> <ID>89</ID> <ADDR>94458</ADDR>
2
by: H. Rodriguez | last post by:
Hello, I would like to be able to open a new IE window on the client side and display a PDF document in the new window. Many tutorial sites that I have checked suggest opening a new IE window...
3
by: csoft ltd | last post by:
Hi All, I'm seeing a strange issue with my code below. The content received thru the xmlHttpRequest, is not being displayed in IE8, after clicking the link. It is displayed only after moving the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.