* update by zenox98
Pode's addons (not examples) can be found on GitHub HERE: https://github.com/Pseudopode/construct2_plugins_behaviors
Update v1.42October 11 : check at the end of this post for new versions and bugfixes.
This new build allows to set the "scrolling" property to "Auto | Yes | No"
https://dl.dropbox.com/u/1412774/IFrame ... e.1.42.zip
Update v1.41October 11 : check at the end of this post for new versions and bugfixes.
This new build allows to set the "scrolling" property to "Auto | Yes | No"
https://dl.dropbox.com/u/1412774/iFrame ... e.1.41.zip
Update July 17 : check at the end of this post for new versions and bugfixes
With the iframe, you can embed a webappp made with C2 inside another webapp made with C2 !
The original HTML Pack is from JesseJoh, and can be found here : http://www.scirra.com/forum/plugin-jess ... 94874.html.
I originally added some modifications (and bugs) to his creation, since he's overworked.
Since I'm still using them, and adding functionnalities, I think the best is to start a new thread, this one, where I'm going to put the midifications I'm doing.
The first one is HTML Iframe.
You can rotate the iframe, and the "OnLoaded" trigger now works correctly. It only triggers when the site is effectively loaded !
The demo : http://dl.dropbox.com/u/1412774/IframeDemo2/index.html
The plugin : http://dl.dropbox.com/u/1412774/IframeD ... me.1.2.zip
The .capx : http://dl.dropbox.com/u/1412774/IframeD ... Demo2.capx
---
Update v1.3 (04/28/2012) :
Quick update for bugfixes. Rotating the iframe should also work on IE now (recent build, I don't know if its > IE9 or IE > 10).
The CSS you enter inside the IDE is now correctly set at runtime ! (*nudges newt*).
The plugin : http://dl.dropbox.com/u/1412774/IframeD ... me.1.3.zip
_____________________________________________________________
The second element of the pack is Div.
You can set the style & the content, and properly rotate it if you want.
The demo : http://dl.dropbox.com/u/1412774/DivDemo2/index.html
The plugin : http://dl.dropbox.com/u/1412774/DivDemo ... iv.1.4.zip
The .capx : http://dl.dropbox.com/u/1412774/DivDemo2/DivDemo2.capx
_____________________________________________________________
Update v1.4 (16/07/2012) :
New version for iframe, div and img !
The 'glitch' bug is now fixed.
You can also now set focus on those three items !
That means that when you load an iframe inside C2, the controls inside the iframe are working straight away !
As a demo, I have embedded one of C2's demo inside an iframe, and as you can see, as soon as the page is loaded you can move the player without clicking inside the iframe !
Demo : https://dl.dropbox.com/u/1412774/iFrame ... index.html
.zips :
https://dl.dropbox.com/u/1412774/iFrame ... me.1.4.zip
https://dl.dropbox.com/u/1412774/iFrame ... iv.1.5.zip
https://dl.dropbox.com/u/1412774/iFrame ... mg.1.5.zip
The .capx : https://dl.dropbox.com/u/1412774/iFrame ... sDemo.capx
You can also load <img> :
_____________________________________________________________
Update v1.41 (11/10/2012) :
New version for iframe.
This new build allows to set the "scrolling" property to "Auto | Yes | No".
With, "No", you won't have any scrollbar. With "Yes", scrollbars are always there. With "Auto", scrollbars are there when the content is bigger that the iframe viewport.
.zips :
https://dl.dropbox.com/u/1412774/iFrame ... e.1.41.zip
_______________________________________________________________
Update v1.42October 11 :
new version for iframe.
Here's a new build (v1.42) of the iframe plugin, with a change to the way it deals with "current URL".
You can now retrieve the current URL at edit time and runtime.
The plugin : https://dl.dropbox.com/u/1412774/IFrame ... e.1.42.zip
The demo : https://dl.dropbox.com/u/1412774/IFrame ... index.html
The .capx : https://dl.dropbox.com/u/1412774/IFrame ... 2012-10-11 12:29:11