Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Change z-index stack order dynamically

Posted on 2006-11-21
4
Medium Priority
?
1,049 Views
Last Modified: 2013-12-24
Hi, I'm using z-index to stack a couple of swf files want to change the stacking order from a rollover event in flash and coldfusion.  Is there a way to do that?
0
Comment
Question by:COwebmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
dgrafx earned 2000 total points
ID: 17994380
heres a simple script to change zindex
function Z(e1,e2) {
document.getElementById(e1).style.zIndex=101;
document.getElementById(e2).style.zIndex=102;
}
so on your event - send elements to the script
for ex. onmouseover="Z('e1','e2')" - the e1 & e2 would be the id's of the elements (swf's)
the higher zindex is on top
0
 

Author Comment

by:COwebmaster
ID: 17996087
So I would place that function on the cfm page, correct?
0
 

Author Comment

by:COwebmaster
ID: 17996129
Also, would I choose Flash Only or Flash FSCommand in Settings?
0
 
LVL 25

Expert Comment

by:dgrafx
ID: 17996734
yes, try it on the webpage.
don't know what to choose "flash only" or "flash fscommand"
experiment.
0

Featured Post

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
What You Need to Know when Searching for a Webhost Provider
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question