zindex not taken into account during do_shortcode
-
Hi,
I am generating a popup from a string, and call the do_shortcode() function to create it, and insert it in my HTML. I am able to configure a lot of things, but not zindex nor overlay_zindex. The documentation seems to indicate that they are not parameters of [popup] shortcode, but these index have no default values. I want to force them to 1999999999 or same kind of value.
My code is (before a sprintf with the good values) :
$block='[popup id="%s" title="%s" theme_id="%d" size="large" zindex="1999999999" overlay_zindex="1999999998"]<div id="%s">%s</div>[/popup]'; $block = do_shortcode($block);
Is there an other way to specify zindex ?
Best regards
Sylvain
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘zindex not taken into account during do_shortcode’ is closed to new replies.