[Plugins] Pode HTML Pack

  • Blinx123 : yes, that should work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Pode and every one, please help me on this situation. I try to build the demo capx dl.dropbox.com/u/1412774/IframeDemo2/IframeDemo2.capx to phonegap apps but failed. I run Pode's demo on browser is good, but after build to apk file and run on android device is failed. I try to change screen from portrait to landscape and see the iframe content in a tick moment. Please see and help me.

    My apk file: dropbox.com/s/i2perihjf86kpix/IframeDemo2-debug.apk

    Thanks

  • Hi Pode, thnx for the great plugin!

    I needed a possibility to add a class to my divs, so i did the following changes to the plugin:

    edittime.js, somewhere around line 116 / added a new cr property:

         new cr.Property(ept_text,"HTML tag class", "my_class", "tag class for the div")

    runtime.js , somwhere around line 64 / added a line of code:

    this.elem.setAttribute("class",this.properties[4]);

    Dunno if this is something that should be in the plugin, but i found it useful!

    Maybe it's possible to expand the idea, and have some action like:

    acts.SetAttribute = function (attribute, value)

         {

              this.elem.setAttribute(attribute,value);

         };

    But i didn't test the idea!

    Cheers, and thanks for the hard work!

  • Hi Pode,

    I still get stuck at building Android apps by Phonegap with iframe plugin. The iframe's content cannot display on android device. Help me please...

    Thank you.

  • I have been having trouble changing the URL on the iFrame.

    I set the URL, and refresh, but I'm not sure why the URL does not

    change. What am I doing wrong..

    I'd like to have an iframe that plays different games I've made

    by clicking a button. The default URL works on the layout loading.

    But I have not been able to change that URL afterward.

    Help ???

  • Pode

    it seems that the iframe object is unable to retrive/compare the innerhtml.

    It says that "document" is undefined.

    btw I'm using the r127...

  • Great plugin. It's been a real life saver. I have a question, because I'm not sure if what I've attempting is possible. I am attempting to integrate leadbolt ads into a div. I've set the HTML content to

    <script type='text/javascript' src='http://[link to specific ad js file]'></script>

    So far I'm drawing blanks. Am I approaching this correctly? I am trying to avoid using an iFrame, since that is directly against the TOS for the ad service. I figured a div was a great way to avoid calling in another page.

  • Hi Thank for this useful plugin.

    I simply try to add a Windows 7 like start menu system. On different menu options different pages will be loaded. And menu will be on the top of Iframe. But trying to change Z-Order for Iframe didn't have an effect. Iframe looks like always on top. Here is a example for r129

    db.tt/agmtWUzY

  • I'm using this plugin for integrating leadbolt ads also. I've got it integrated nicely with the iframe plugin, because I'm not using the script from leadbolt directly. If you try using the script you'll notice what it does is create an iframe to this url: ad.leadboltmobile.net/show_app_ad ad banner id]

    So all you need is use the iframe and add that in the url.

    As for TOS, I'm not sure if it doesn't allow iFrame because the js from them creates an iFrame :D

    Here's the capx from my demo using leadbolt ads + pode's iframe plugin.

  • I don't know about you, but it gives me an error along the lines of Could not find prototype, and then loads the URL fine. Can anyone help? I am using Google chrome to test...

    <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Hi Pode, is there any way to simulate the scroll bar( im developing for a touch device) ?

  • Hi Pode

    I don't think 'On loaded' triggers.

    version 139

  • Thanks for these amazing plugins, Pode!

    This has opened the door to a lot of possibilities. The only thing I seem to find awkward is that the only way I can add full HTML code without C2 getting picky with values is if I paste all of it in a textbox, then I call insertHTML with an event. I was able to implement a calendar I made with HTML/CSS (using your ImportCSS and div plugins) and it all looks great. The only problem (or not really a problem) lies in the way to "inject" that first HTML code.

    Now, on to the questions for whoever has the knowledge: Is that the only way to add full, real HTML, or am I missing something? Also, would adding javascript within the HTML be functional in the plugin, or would the js code need to be elsewhere? I specifically ask this since I'd like to have each cell in my HTML calendar to open/go-to a new layout, though I'm guessing that would require a specific plugin, correct?

    Thank you, again, for your effort.

  • Pancholo : the added javascript inside the HTML would only live in the added HTML. If you want to go to another layout, you need to do it another way.

  • I'm using this plugin for integrating leadbolt ads also. I've got it integrated nicely with the iframe plugin, because I'm not using the script from leadbolt directly. If you try using the script you'll notice what it does is create an iframe to this url: ad.leadboltmobile.net/show_app_ad ad banner id]

    So all you need is use the iframe and add that in the url.

    As for TOS, I'm not sure if it doesn't allow iFrame because the js from them creates an iFrame :D

    Here's dropbox.com/s/dfeql6n1sovmkjv/leadboltads_iframe-pode.capx the capx from my demo using leadbolt ads + pode's iframe plugin.

    Hi soybean, I've used the iframe and add the ads URL into the game below for a day. But until now its still having nothing apart from a blank frame.

    featherhunter.gamesvts.com

    Can you help me? This my ads URL:

    ad.leadboltmobile.net/show_app_ad.js

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)