Onload

27 views
Skip to first unread message

Borja Riesgo Juan

unread,
Sep 2, 2015, 10:21:21 AM9/2/15
to Slimbox
Hello
 How can i show a slimbox when the body onload?


Any idea?


Best regards


Borja

pramach

unread,
Sep 3, 2015, 11:16:20 AM9/3/15
to Slimbox
Maybe try something like

$('#body').ready(function(){
    slimbox();
});

Borja Riesgo Juan

unread,
Sep 5, 2015, 10:16:24 AM9/5/15
to slimbox...@googlegroups.com
i did this:

<script type="text/javascript">
window.addEvent("domready", function(){
$("link_jg_photo_big").fireEvent("click");
})

  jQuery(function($){
     $("#link_jg_photo_big").click();
   } 

  )

</script>
 but it's slowly. it takes a few seconds to load my photos.
how cna i personalize the close event? i want to go back to the previous page that open this?if you close the page will be in blank so you must go back.


Un saludo

Borja Riesgo
borja...@gmail.com

--
You received this message because you are subscribed to a topic in the Google Groups "Slimbox" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/slimbox-support/hbInMKj4YfM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to slimbox-suppo...@googlegroups.com.
To post to this group, send email to slimbox...@googlegroups.com.
Visit this group at http://groups.google.com/group/slimbox-support.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages