Advertisement

07.07.2008 at 06:56AM PDT, ID: 23543334 | Points: 500
[x]
Attachment Details

JavaScript for controlling divs

Asked by ma_thkl in JavaScript, Web Browsers, Asynchronous Javascript and XML (AJAX)

Tags: JavaScript, Safari, IE, FireFox

Hello,
i'm looking for a reusable JavaScript, which should hide, and show DIVs, to realize such expanding effects like the banner on this site: http://demo.eyeblaster.com/Demos/eyeblaster_demofiles/Mudd_US_05/start.htm.

I have a flash 728x300, where only the top 90px are shown by a mask. With rollover the mask extends to 300px.  The swf is inside a DIV. The flash shows only the first 90px, the other 210px are transparent but blocking form elements and links from the site content , which is behind.

Now I need any JS mechanism to display the div or bring it to front , when the flash mask is extending and vice versa, which ist hiding the div or bring it to back

And here is the problem.
I tried with negative z-index, changing size and so on, but all solutions are only working in some browsers/ Os combination and never in all. Does anybody know a solution or any hint?

Kind regards,
ThomasStart Free Trial
[+][-]07.07.2008 at 09:26PM PDT, ID: 21950877

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 07:45PM PDT, ID: 21960225

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 11:28PM PDT, ID: 21970849

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628