jessejoh's Recent Forum Activity

  • The plugin has actually been updated here.

  • From now on I will release updates to these plugins in a single file, as they are all related and it helps me focus on coding instead of setting up individual releases.

    Included:

    HTML iFrame: Allows you to load pages into an iFrame in your game / app. Supports browsing features (back/forward/refresh) and the ability to access the HTML within the iFrame on local server. Includes ability to use CSS styles.

    HTML Div: Allows you to place a div in your game / app area! In a nutshell this means you can place any HTML in your game, and even take advantage of HTML text formatting in your games/apps! Fully CSS stylable through events, and even allows you to load content into the div on the fly via AJAX (allows you to supply either GET or POST data too!) In the example, I even have a YouTube video load! Awesome!

    HTML Img: This is my personal favorite (along with div of course) - it allows you to load images on the fly, and includes CSS styling like the other 2 plugins. Has image "On Loaded" and "On Begin Loading" actions as well.

    And of course examples for each!

    Download the HTML Element Pack

    ---

    Let me know what you think, and what kind of other plugins you may want! In the future I also plan on releasing a MySQL plugin which will totally take everything to the next level!jessejoh2011-12-14 03:03:48

    Edit by moderators:

    The original user has not been active on the forums for a long time.

    Apparently his original link even disappeared.

    You can check Pode's HTML pack for a similar and more up to date plugin.

  • Very cool :)

  • smitchell - ill work on this tonight,

    I highly recommend using the iframe for user tweets for now though! Tonight I will add the "style" functionality to the iframe plugin, and then you can just take off the border with CSS style, and use the iframe to show a blank page containing only your user tweets

    deal? I'll message you tonight regarding the updated plugin :D

    or if you need it now, you can insert an iframe into your HTML_div object's innerHTML and style the border out. For example:

    <font color=#0a67b5>Set HTML_Div innerHTML to</font>

    <font color=#880000>"<iframe src=""tweets.html"" style=""width:100%;height:100%;border-width:0px;""></iframe>"</font>

    The problem with what you're describing is that I think there is an interference of the scripts, and I would need to probably talk to Ashley regarding what can be done (as I'm unable to determine what's causing it to not function) about using other scripts on the same document alongside the runtime.

  • I can't get that code to work. If anyone has any ideas, on how to overcome that, let me know.

  • I use this plugin - great work :)

  • <font size="4">Thread Discontinued - Go Here Instead</font>

    Want to display formatted HTML text / links, PHP generated HTML content, youtube videos, facebook like buttons, images, widgets, news listings, comments and much more HTML/PHP stuff into your games and apps? Well with this plugin you can.

    You can create an HTML Div with this plugin. By default, it is a blank square that allows you to type HTML formatted text into. Included are the abilities to change the content/innerHTML of the div, and even change the style (for example, you can restrict the size and add scrollbars to your text div box by adding the overflow:auto; style)

    Also supported is the ability to load the content with AJAX! You can load text files, the results of PHP files, and more with this feature. This feature only works on web servers (much like the AJAX plugin). You can even pass GET and POST data while requesting content from HTML/PHP pages.

    Included in the download is the plugin, example and documentation - but I assure you if you know HTML, this will be a breeze to use (no advanced learning curve).

    Download HTML_Div Plugin, Example, Docs

    Enjoy!

  • You're exactly correct :)

  • Perfect, thanks for your response :)

    We'll figure some stuff out for the web devs.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Septeven - :)

    That's where the DIV plugin will come in handy. It will have the ability to act like an iframe, and load pages.

  • <font size="4">Thread Discontinued - Go Here Instead</font>

    My second plugin for the day is an iFrame plugin that allows you to view web pages from within your game or app. Implementation of the HTML iFrame into Construct :)

    Hope it works for all - let me know :)

    Download iFrame plugin

    Some time soon I will add functionality for styling, removing border, etc. I'm assuming this will be most useful for many of you.

    After thinking of what next, I think the following is a good list of what to expect

    • Cookie storage object (set/get variables that your game / app can remember)
    • IMG object for loading images on the fly
    • DIV object which will also come with a loadpage command that will use Ajax to load content into the div
  • For saving, there is always the the canvas.toDataURL() method

jessejoh's avatar

jessejoh

Member since 11 Dec, 2011

None one is following jessejoh yet!

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies