4 posts
  • Italy
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
jolunavi says

Hello all. I wanted to ask how you can do to use “Lightbox for WordPress Evolution” to load a page. HTML or PHP when someone comes to my site? I tried with this. but not working.:

How to automatically start Lightbox on page load?

Add the code below in the footer.php of your theme just before tag:

<script type="text/javascript"> jQuery(document).ready(function(){ jQuery.lightbox("image.jpg"); }); </script>

this script gives me upload an image but not a page. :-(

5365 posts
  • Australia
  • Bought between 100 and 499 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Forum Superstar
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Australia says

Have you considered changing image.png to page URL like index.php

4 posts
  • Italy
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
jolunavi says

yes, it does not work!

5365 posts
  • Australia
  • Bought between 100 and 499 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Forum Superstar
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Australia says
4 posts
  • Italy
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
jolunavi says

hmmm….

How to automatically start Lightbox on page load? Simply add the following code:

<script type="text/javascript"> jQuery(document).ready(function(){ jQuery.lightbox("image.jpg"); }); </script>

I read it but it does not work. I wish you enforceability alone when loading a page. I have tried in many ways. But that’s okay. I did some research on google but almost nobody is talking about this thing.

sorry if my English sucks, is that I use the google translator to write to you.

I speak Italian.

I found the script to work but who say they are not those of “Evolution Canyon lightbox”. if anyone knows how this code, please let me know. Thank you. :-)

1 post
  • Bought between 1 and 9 items
  • Envato Studio (Microlancer) Beta Tester
  • Has been a member for 3-4 years
  • United States
eaguilar9 says

[NOTE: With Loghtbox Evolution 1.7] Hey jolunvi, I has trying to do the same thing with a youtube video and it turns out you dont need to “http://”. some how it wont load so I used this:

jQuery(document).ready(function($){
    $.lightbox("youtube.com/watch?v=aHjpOzsQ9YI");
  });

and it seem to work. Also if you are going to load a html or php that is locally stored you need to add the paramaters like:

jQuery(document).ready(function($){ $.lightbox(“promo-form.html?lightbox[width]=680&lightbox[height]=600”); });

4 posts
  • Italy
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
jolunavi says

grazie mille :)

by
by
by
by
by
by