How to execute/run modal window on load page? - flow theme

Hello!
Anybody know how to execute/run modal window on loaded page - not on click button?

Thanks!

this depends mostly on used frontend css framework.
i would search for examples in framework’s documentation

I mean how to do this with flow template and tried to find some… good oxid practice for this :slight_smile:

For now i made:
[{oxscript add="$(document).ready(function(){
$(’#popupbutton’).trigger(‘click’);
})"}]
with if() conitional it works ok but i’m not proud of it hehehe

There is no “oxid practice” since it’s part of bootstrap framework and not oxid. Check bootstrap v3 documentation for modal popup

soo…
[{oxscript add="$(document).ready(function(){
$(’#popuptermpricevalid’).modal(‘show’);
})"}]

works too.