4 posts
  • 3 Years of Membership
  • Mongolia
kaspersky
says

i dont understand it . help me. PLS

3439 posts
  • Author Level 4
  • Collector Level 2
  • Community Superstar
  • United States
+2 more
organicbee
says

i dont understand it . help me. PLS

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

4 posts
  • 3 Years of Membership
  • 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
  • Affiliate Level 4
  • Author Level 6
  • Collector Level 3
  • Community Superstar
+20 more
ChristineWilde
Envato team
says

Will this work on Tumblr themes?

2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

Will this work on Tumblr themes?

It works on all items that have self hosted previews.

1276 posts
  • Affiliate Level 4
  • Author Level 6
  • Collector Level 3
  • Community Superstar
+20 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

44 posts
  • Author Level 8
  • Elite Author
  • Weekly Top Seller
  • Trendsetter
+4 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
  • Author Level 2
  • Collector Level 1
  • Vietnam
  • Exclusive Author
+1 more
Haikbvn
says

Thanks so much ;)

352 posts Premium Website Design
  • Top Monthly Author
  • Trendsetter
  • United States
  • Weekly Top Seller
+7 more
ThemeFusion
says

We need a thank you button!

215 posts straight to the art designs
  • Elite Author
  • Collector Level 4
  • Author Level 9
  • Affiliate Level 5
+11 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