on peut maintenant spécifier un z-index pour le panehover

This commit is contained in:
Nicolas Bally 2011-07-08 17:38:46 +02:00
parent 9f14e9accf
commit bc4c6e47a8

View File

@ -1,9 +1,9 @@
function show_pane_hover(content, width, height){
function show_pane_hover(content, width, height, zindex){
var width = width || 500;
var height = height || 500;
var zindex = zindex || 1000;
initialize_pane_hover()
@ -11,7 +11,7 @@ function show_pane_hover(content, width, height){
$('#qi_pane_hover_content').html(content);
$('#qi_pane_hover_content').css({"width" : width+"px","height" : height+"px"});
$('#qi_pane_hover_content').css({"width" : width+"px","height" : height+"px","z-index" : zindex});
$('#qi_pane_hover_content .actions').prepend('<a href="#" class="cancel button" onclick="close_pane_hover();return false;">Annuler</a>');