Why don’t you use “Media Tags” ?
It’s part of the theme.
Let me know if you stumble upon unexpected issues, I haven’t really tested it in the “real world” so any feedback on usability/performance is welcome.
I’m leaving this here because there are a lot of devs around, and I believe it might be helpful for some. I am in the process of developing my new plugin which heavily relies on JS, so I wanted to use the power of filters and actions WordPress has, in my JS.
As a result, I’ve written this small, quite simple, but (to me) very useful script.
Usage is explained in the readme, let me know if something is unclear and feel free to use and abuse it.
This looks great! I really want to use it, but your demo is not working on my iOS devices. Any idea why this is happening?
iDevices are known to have problems when iframe is used like this, so I disable it on all mobile devices (tablets too) (disable as in I redirect directly to product page without iframe), as posted here: http://themeforest.net/forums/thread/switcheroo-open-source-item-switcher/111182?page=3#message_content_907622
You can easily disable this (switcher is fully responsive so no problem on that part) by removing the snippet from js, but if you do, I would suggest thorough testing.
KomiDesign saidHi there,
Great job! One question: Is it possible to insert an empty div inside the iframe? i tried but no success. The reason why i ask this is that i want to add this plugin http://jamesflorentino.github.io/nanoScrollerJS/ ,to customize to scrollbar.
well you could do it if the iframe is on the same domain but no point in messing with that, try something like this: http://manos.malihu.gr/jquery-custom-content-scroller/
You just apply it on iframe element.