4 posts
  • Has been part of the Envato Community for over 2 years
  • Located in Mongolia
kaspersky says

i dont understand it . help me. PLS

3344 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

i dont understand it . help me. PLS

what exactly don’t you understand? its pretty straight forward….

4 posts
  • Has been part of the Envato Community for over 2 years
  • Located in Mongolia
kaspersky says


i dont understand it . help me. PLS
what exactly don’t you understand? its pretty straight forward….

oh. i understand it. kkk. TQ

1276 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Member of the Envato Team
+16 more
ChristineWilde Envato team says

Will this work on Tumblr themes?

2580 posts Put a Donk On It
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+10 more
ThemeProvince says

Will this work on Tumblr themes?

It works on all items that have self hosted previews.

1276 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Member of the Envato Team
+16 more
ChristineWilde Envato team says


Will this work on Tumblr themes?
It works on all items that have self hosted previews.

Ok I’ll give it a try tonight. Thanks! :D

34 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Has been part of the Envato Community for over 4 years
+2 more
whoathemes says

ups, found a little mistake in my snippet. Here’s the correct one:
$('.remove_frame').delegate('a','click',function(){
    top.location.href=$('#iframe')[0].contentWindow.location.href;
    return false;
});

Seems that it’s working only the first time when you remove the frame. If you go after to another location and try to remove the frame then you are redirected to the home page.

1 post
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Located in Vietnam
  • Sells items exclusively on Envato Market
+1 more
Haikbvn says

Thanks so much ;)

283 posts Premium Website Design
  • Has referred 1000+ members
  • Has sold $2M+ on Envato Market
  • Interviewed on an Envato blog
  • Has collected 10+ items on Envato Market
+3 more
ThemeFusion says

We need a thank you button!

187 posts straight to the art designs
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Has referred 200+ members
+9 more
arrowthemes says

Thanks for the code, George ;)

Here’s my modified version: http://demo.arrowthemes.com/redirect.php?theme=clarke-joomla

If you’ve noticed when you first load the preview, the styles are loaded nicely and the user can switch between theme styles. However if the user selects a different theme, I’m not able to load the php array list of the selected theme via js.

What I’ve done for the styles is add it as part of the array of the theme list – that kinda makes it hard for me to pull the list using javascript, obviously due to my limited knowledge in php/js. At the moment am just setting the styles list of the selected theme to blank to avoid the previous list from being visible.

I’d appreciate some help from any one on how to load the list of styles from the php array to the javascript on click event.

Here’s my PHP array code:

http://snippi.com/s/hs4yzx4

Here’s my js click event for the theme switcher:

http://snippi.com/s/xqn66qe

many thanks, Joel

by
by
by
by
by
by