Long time reader, first time poster.....
hello all,
Thank you for looking at my post.
I have created a popup that simulates a window. I have 3 div tags that I create, first div is a title, the second div appends the first div and a textnode, and then the third div appends the second div with an offset. This results in a popup window.
I have added a fade in to the functions which work great in Firefox. I run into a problem when I add support for IE - the node.style.filt er = 'alpha(opacity= X)'.
If I add the filter to the second div I can fade in the window but the shadow is allways visible (not too noticable but still an eye sore).
If I add the filter to the third window, like it should be, the fade in works on the entire group of div elements, but the first and second nodes are clipped to the size of the third node.
My main question is why adding the filter to the DIV will cause the DIV to clip any element added outside of the DIV border.
This code not matter how I write it works perfect in Firefox, only IE is giving me an issue.
I have implemented code to use transform for IE so there is no real problem, I just want to get an idea on why the clipping is happening once the filter alpha= is added.
Thanks
3 2668 acoder 16,027
Recognized Expert Moderator MVP
Welcome to TSDN!
IE has problems with filters if the element does not have layout. See link.
Welcome to TSDN!
IE has problems with filters if the element does not have layout. See link.
I read the link, and now I am more confused. The page indicated that this is a Read Only property, which indicates it cannot change.
What would be the best method to create a shadow affect with the style's opacity set?
Do I just need to append the two DIV elements separately, which I am now trying and getting no where fast.
acoder 16,027
Recognized Expert Moderator MVP
The property itself is read-only, but if you read further on, it does say that setting a CSS property to a certain value can cause the element to have layout.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Dom Nicholas |
last post by:
Hi,
My question is this : how do I detect from
another window which didn't create a new window whether
it exists ? For example, is there a window-id's container
of some sort that hangs around that I can interrogate ?
I would like to find a better way of doing the following.
I have a window (call it Win) that creates a new window (call it Win2)
using window.open().
|
by: Newbie |
last post by:
Hello, I want to ask something about popup window...
when a popup window is appear, how can I force users to focus on it?
P.S. I mean that not just focus once only(not onLoad(this.focus)..)
And..
If users do not close the popup window, they can't move to other IE
P.S. I want to make a popup window just like a javascript error/confirm message box
|
by: Newbie |
last post by:
Hello all~
I have got some questions about popup window, hope that someone can
help me..
m(_ _)m~thx~
when a popup window appear, can I force users to focus on the popup
window "ONLY"
that mean, if users don't close the popup window, they can't do
anything to other ie window(include close the opener window...etc)
|
by: Randell D. |
last post by:
Folks,
I have a javascript function which is a popup - It contains a list in
form tags - When the user selects a value in the popup, and clicks
submit, I want the values to be transfered to the parent opening window.
I have managed this when I know the name of the parent window - however
there are two or three different 'parent' forms with different form
names that could reference this popup session meaning my current
solution only...
|
by: Jim Davis |
last post by:
The scenario: 1) Generate a popup window via script. 2) Populate it (again
via script) with content that features local (hash) links.
In IE 6.x this works - the links work as they should, moving the document to
that document position. However in FireFox 1.x the links load the main page
(the opener) in to the popup.
Both browsers populate the location.href of the popup with the main page's
href... but this only adversly affects...
| |
by: Joseph Burton |
last post by:
When I put this code in my load function it works just fine.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
RegisterStartupScript("", "<script language='JavaScript'> CreateWnd
('PleaseWait.aspx', 500, 50, false); </script>")
End Sub
But when I put it in another server control it doesn't work:
|
by: TheDude5B |
last post by:
Hi,
I am trying to create a simple popup window which will display details
about a product.
So far i have been trying the javascript idea:
<script language="jscript">
function popup()
|
by: wojski696969 |
last post by:
Hi.. I'm using ASP.NET AJAX Control Toolkit.
I've got collapsible extender (CE) putted inside of modal popup extender (MPE), and there is a problem if i scroll the page when collapsible area is visible. I mean the shadow under MPE is getting bogger when CE is showing itself, and restores to previouse size after collapsible panel hides, but.. If i show collapsible panel, scroll the page and then hide that panel, the shadow from MPE stays in...
|
by: furqanms |
last post by:
I have a little problem in a XAML application. When I use a popup in a
WPF application, I am not able to get rid of the popup from the view
even if I do Alt-Tab to move focus to other applications.
Even I have set stayopen=false
Following is the code which I have done.
<!-- Middle Product List -->
<GroupBox Grid.Column="1" Grid.Row="2">
|
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,...
|
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...
| |
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,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |