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


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



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(){
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


[{oxscript add="$(document).ready(function(){

works too.