473,796 Members | 2,482 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

display div over all other elements in document

41 New Member
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 14351
serdar
88 New Member
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
dipalichavan82
41 New Member
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 New Member
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
dipalichavan82
41 New Member
i found main div in which this grid exists. i set div.style.overf low= 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.overf low= auto)

can you help me in this situation.
Dec 1 '08 #5
serdar
88 New Member
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
1279
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 & "_details").style.display = "block" > document.all.item("img_" & pintDivNum & "_collapse").style.display = "inline" > document.all.item("img_" & pintDivNum & "_expand").style.display = "none" > > End Sub
7
5997
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 contraction follows at the bottom of my message here. This following line is a big part of my hang-up: document.getElementById('m1').style.display='none';
1
1554
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 word document, but as a text with all the garbage characters (formatting, non text characters). What am I doing wrong? <%@ Page Language="VB" ContentType="text/html" trace="true"
5
1460
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 (n){ case 0: show('image0');hide('image1');hide('image2');...;hide('imagem'); break; ..
2
2546
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 the fill the numbers 2)Then, i want display back all the numbers that have been stored but it just display the last number in the column..i don't have any idea to make it display all the inputs.. Here, the programme that i've written so far...if...
0
1015
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, I have both), FTP it up to the site and have the page pick it up automatically and display it. There are no images at all, just text. Cheers & Merry Christmas
18
10105
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 them. the reason is because in the following code, i show/hide a file field by checkbox toggle... however, if a file field selects a file before it's hidden, the file selected for the file field will still remain, as you can see when you uncheck the...
1
6668
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
8484
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 using client-side JavaScript and the window.open() function. I suspect this is not the desired way as I would like to output a PDF report from a byte array to the HTTP output stream to this new window. Any ideas?
3
2209
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 mouse/cursor, after clicking the link. Anyone sees what could be the problem here ? Please help. <html> <head> <script type="text/javascript"> var xmlHttpfunction;
0
9673
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
9525
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
10221
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...
1
10169
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
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
9050
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
5440
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
4115
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
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.