views:

154

answers:

2

Is it possible?

For example my first modal window appended to 'body' and has z-index: 1002

if I'm trying in FireBug open new modal window (appended to 'body' or existed modal window) with z-index more then 1002. I've just see 'false' as the result

for example:

$.modal('<h1>First modal</h1>');

and then in console

$.modal('<h1>Next modal</h1>', {zIndex: 1002+, appendTo: 'body' or 'First modal'})

jQuery 1.4.2, jquery.simplemodal-1.3.5

A: 

SimpleModal only supports one modal open at a time.

You can swap out content of an open modal or close and re-open a new one.

Eric Martin
ok, got it. thx
Sergey Golenkevich
A: 

Eric could you give an example of how to swap out content on a modal. What I am trying to do is to have multiple links on a page and each link opens the modal loading that links unique content.

Aaron