- Author had a Free File of the Month
- Bought between 1 and 9 items
- Exclusive Author
- Has been a member for 3-4 years
- Referred between 200 and 499 users
- Sold between 50 000 and 100 000 dollars
revaxarts said
This is really nice Phoenix! Maybe I can improve my switcher with your code![]()
one suggestion:
One advantage of “iframeing” from your own domain is you don’t have problems with the same origin policy. So why don’t use this advantage?
Normally a customer clicks around a few times on your livepreview (as he should). But after reaching a location and he tries to remove the iframe it takes him back to the homepage again.
It’s really annoying (at least for me) but this could fix this:
$('.remove_frame').delegate('a','click',bind(function(){ top.location.href=$('#iframe')[0].contentWindow.location.href; return false; });This will simply will use the current location of the iframe and use it as thetop.location
Nice addition, Thanks!
Whoa, many thanks Phoenix! I’ll be using this now 
- Exclusive Author
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 250 000 and 1 000 000 dollars
- Author was Featured
- Item was Featured
- Attended a Community Meetup
- Referred between 100 and 199 users
- Contributed a Tutorial to a Tuts+ Site
Looks cool amatyr4n. 
@revaxarts – Thanks dude great addition 
Hi Phoenix !
Can i modify your script to make it more like my zn loader script (use a database for easy management), but with a lot more features like style switcher,theme type (html, wordpress,etc) and several other stuff i had in mind for my script?I will post it here for everyone to use.
Best regards, Stefan
- Exclusive Author
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 250 000 and 1 000 000 dollars
- Author was Featured
- Item was Featured
- Attended a Community Meetup
- Referred between 100 and 199 users
- Contributed a Tutorial to a Tuts+ Site
@zauan Sure.
Thanks so much Phoenix! I will use it on my next theme!
- Attended a Community Meetup
- Australia
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Author was Featured
- Bought between 100 and 499 items
- Contributed a Blog Post
- Exclusive Author
Using it right now and loving it.
Is there some way we can send some donation?
- Exclusive Author
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 250 000 and 1 000 000 dollars
- Author was Featured
- Item was Featured
- Attended a Community Meetup
- Referred between 100 and 199 users
- Contributed a Tutorial to a Tuts+ Site
@DDStudios Emailed you.
@all If your feeling generous you can email me to donate.
Thanks again.
- Attended a Community Meetup
- Australia
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Author was Featured
- Bought between 100 and 499 items
- Contributed a Blog Post
- Exclusive Author
Donation sent 
- Microlancer Beta Tester
- Author had a Free File of the Month
- Has been a member for 3-4 years
- Item was Featured
- Author was Featured
- Austria
- Exclusive Author
- Referred between 200 and 499 users
$('.remove_frame').delegate('a','click',function(){
top.location.href=$('#iframe')[0].contentWindow.location.href;
return false;
});
