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

x
?
Solved

CFChart makes swf file with high z-index

Posted on 2006-05-04
5
Medium Priority
?
818 Views
Last Modified: 2013-12-24
I'm using the coldfusion chart builder to make some nice graphs, but have come across an interesting problem.  The swf file that is generated has a higher z-index than a searchbox that should over lay it.  I can control the search box z-index no problem, and have set it to max (10).  From what I've read, swf files are created with an "infinite" z-index (and if its on the internet it has to be true).  I want to change the index, but since I'm relying on ColdFusion to make the swf file I don't know how to change it
Here is the CFChart code that I'm using
<cfchart scalefrom="0" chartheight="300" chartwidth="450" tipstyle="MouseOver" format="Flash"  xaxistitle="Day" yaxistitle="Posts" show3d="#chart3d#" URL="javascript:goDailyPost('$value$', '$itemlabel$','$serieslabel$')">
  <cfchartseries type="bar" itemcolumn="POSTDATE" valuecolumn="POSTS" seriesColor="##3885bf">
     <cfinclude template="../../Query/getDailyPostTotals.cfm">
     <cfloop query="getDailyPostTotals">
        <cfchartdata item="#DateFormat(getDailyPostTotals.POSTDATE,'m/d')#" value="#getDailyPostTotals.POSTS#">
      </cfloop>
  </cfchartseries>
</cfchart>

Any help would be appreciated.
0
Comment
Question by:skacore
  • 2
4 Comments
 
LVL 18

Expert Comment

by:Plucka
ID: 16610741
skacore,

There are a couple ways around this. Do a search caus I can't remember but you put the swf in either an iframe or div.

Regards
Plucka
0
 
LVL 3

Expert Comment

by:pcaioo
ID: 16622011
try this

<style type="text/css">
      #i1{z-index: 100;
                  }
</style>                  


<div id="i1">
      <iframe name="SiFrame" height="229" width="505"
            src="mygraph.cfm" scrolling="yes" >
      </iframe>
</div>
0
 
LVL 1

Author Comment

by:skacore
ID: 16865136
even in the iframe, the zindex of flash is "infinite" from what I've read.  It always appears on top of my other elements.  I've just started to set the display attribute to hidden when I need to have something over lay it ... kind of a hack, but it works

thanks for your help
0
 
LVL 18

Accepted Solution

by:
Plucka earned 1500 total points
ID: 16866116
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Integration Management Part 2
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Suggested Courses

564 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