Introducing Item Switcher...


#21
Bluz said

George I can’t thank you enough for sharing this. You are awesome !

+1


#22

Thank you!


#23

awesome job


#24

Wow, nice work!


#25

Aaah, a life saver and a perfect timing – thank you very much! :slight_smile:


#26

Another tip for demos, instead of putting example images in “ad spots”, put actual ads. It gives people an idea of what it would look like, and you can make some extra cash.


#27

Nice work! i like it :slight_smile:


#28

Thanks guys.

@iKreativ Nice customization :smiley:


#29

This is really nice Phoenix! Maybe I can improve my switcher with your code :slight_smile:

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 the top.location


#30

Really useful in all aspects! Thank you so much for this!


#31
revaxarts said

This is really nice Phoenix! Maybe I can improve my switcher with your code :slight_smile:

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 the top.location

Nice addition, Thanks!


#32

Whoa, many thanks Phoenix! I’ll be using this now :wink:


#33

Looks cool amatyr4n. :slight_smile:

@revaxarts - Thanks dude great addition :slight_smile:


#34

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


#35

@zauan Sure.


#36

Thanks so much Phoenix! I will use it on my next theme!


#37

Using it right now and loving it.

Is there some way we can send some donation?


#38

@DDStudios Emailed you.

@all If your feeling generous you can email me to donate. :slight_smile: Thanks again.


#39

Donation sent :wink:


#40

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;
});