Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2335
  • Last Modified:

My Ajax modal popup hides behind my flash player.

Hi Experts,
                    I have a page on which there is a flash player. On same page, i have a modal popup also. When modal popup opens it hides behind the player. Any suggession?

Thanks in advance for your precious time.
0
MuhammadAdil
Asked:
MuhammadAdil
  • 4
  • 2
  • 2
1 Solution
 
joriszwaenepoelCommented:
Have you tried modifying the z-index for the modal popup?
A higher value brings a block (for eaxmple yout popup) to the foreground of blocks with lower values.
If your control has a higher z-index then the flash-player, it will be in front of it.



0
 
MuhammadAdilAuthor Commented:
Thanks for your time, I have tried it. But unfortunately, i can't get desired result. I have give the tab index to my player "-1" and my popup "9999".

Can you suggest some different thing. Thanks for quick response
0
 
joriszwaenepoelCommented:
It's not the "tab index, but the "z-index".

You can set the z-index using the style-attribute or in CSS, for example:

<div style="z-index:100">   </div>
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
MuhammadAdilAuthor Commented:
very sorry, actually i have mistakenly written "tab index". Actually i have set the z-index.

Thanks again for spontaneous response
0
 
vibrazyCommented:
Hi,

I have found this usefull tutorial for your problem.

http://www.askapache.com/css/getting-flash-to-show-up-in-front-of-content.html

I hope this helps you.

Regards,
Vibrazy
0
 
MuhammadAdilAuthor Commented:
Hi,

May be i am not completely explain my scenario. I have a master page on which i have modal popup that opens up when user click on link button. And on a page i have a flash player that play a video file. On this page when I open the pop up, it hides behind the flash player. So please help how can I do that. I have try z-index and wmmode but failed to get positive result.

Regards
Adil Fazal
0
 
vibrazyCommented:
Hi Adil ,

Have you got a url where we can have a look at what its happening.

Regards,
Vibrazy
0
 
MuhammadAdilAuthor Commented:
Yes,

Thanks, I have solved my issue using your suggested solution wmode="opaque".  I use this directly in embed tag.

Cheers

Adil Fazal
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

  • 4
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now