• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2187
  • Last Modified:

Make a div to get always top.

Hi all,

I use the thumbnailviewer.css and the thumbnailviewer.js to show some images to a nice popup window.Everything it is ok and works fine, it showscorrectly  the images to the popup div but i have a problem with a flash that i have to the top of every page.When the div open it bring it back of the flash or the flash is on the front of the div as you want and the top left corner of the div hides from the flash.Is there any way to bring the div on the front of all objects of the page something like a pc program that has an option "Always On Top".

Thanks in advance!
0
Alex
Asked:
Alex
  • 4
  • 3
1 Solution
 
Kiran Paul VJComputer EngineerCommented:
add
wmode=transparent
in the code to show flash

eg

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100" height="100">
  <param name="movie" value="some_name.swf" />
  <param name="quality" value="high" />
  <param name="wmode" value="transparent" />
  <embed src="somename.swf" width="100" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>


the change is <param name="wmode" value="transparent" /> and wmode="transparent" (in embed tag)

hope this helps
kiranvj
0
 
burakiewiczCommented:
change the zorder on your div set it to like 99
0
 
AlexSoftware EngineerAuthor Commented:
Hi and thank you both of you for your posts but neither of your solutions works for me.Any other suggestion?
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
Kiran Paul VJComputer EngineerCommented:
can you post the code, i think wmode=transparent should work
0
 
AlexSoftware EngineerAuthor Commented:
kiranvj yes you are right, i had a code script more i remove it, i put the parameters as you said and it is perfect now!!!!
Thanks a lot man!
0
 
Kiran Paul VJComputer EngineerCommented:
yes alex_code, i know it should work, i have encountered this problem many times with web apps i created. Glad to know its fixed.

kiranvj
0
 
Kiran Paul VJComputer EngineerCommented:
and if you are using flash this will be useful to you http://blog.deconcept.com/swfobject/

kiranvj
0
 
AlexSoftware EngineerAuthor Commented:
also thanks my friend for the link.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

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