[PLUGIN] JesseJoh's HTML Elements Pack

Post your completed addons to share with the community

Post » Thu Dec 15, 2011 8:53 am

@jessejoh: I finally made it, about the rotation of your elements. Since I didn't saw you on IRC, I'm sending it to you by mail.
You can add that to all of your HTML elements ;).
I also tested : when you put a "visibility:hidden" for C2's <canvas>, your HTML items are still visible ;).
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Thu Dec 15, 2011 1:48 pm

I found a bug.

When using an iframe object, the coordinates for the object seem relative to the browsers window width and height rather than the application window (the canvas) itself. It seems to take the "margin" into computation.

This is fine for applications that are not using the full screen stretch/resize feature I believe... however when using the full screen auto resize, it throws the coordinates out.

Any chance of a fix? :D

*EDIT*
It seems to happen specifically when "unbounded scrolling" as well as "full screen (scale)" are both enabled. If I turn off unbound scrolling, then it works as expected but my application is no longer dynamically centered in the browser window.

~SolSoldjahBoy2011-12-15 15:34:03
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Thu Dec 15, 2011 6:22 pm

Soldjah - I will do my best with that. Any info on whether that is a known issue with either IMG or Div too?

Pode: very cool!
B
14
S
3
G
1
Posts: 25
Reputation: 1,289

Post » Fri Dec 16, 2011 6:13 am

Hi JesseJoh.

So far I have only test the iFrame. You can also see it in the example you provided if you change the full screen mode to stretch, then drag the size of the window around... the buttons as well as the frame "slide" out of position.

If you can eliminate this bug, it would be super cool since I am working on a website now in HTML5 using C2. The deadline is soon, and your iFrame saved my ass basically. This bug is holding it back however, and I would love to use this in the final product!

I appreciate the time you have spent on this, and any future updates. Awesome plugin mate :D

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Fri Dec 16, 2011 10:42 pm

Take a look at this, http://dl.dropbox.com/u/51270524/SOCIAL-CHAT-TEST/index.html

- this is thanks to your plugins!!!!
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Sun Dec 18, 2011 4:05 pm

Hate to sound like a rush, but... any news on finding this bug so far?

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Mon Dec 19, 2011 4:17 am

This is working fine in construct 2?
B
203
S
37
G
13
Posts: 136
Reputation: 29,523

Post » Mon Dec 19, 2011 6:02 am

[QUOTE=SocialLie] This is working fine in construct 2?[/QUOTE]

Works perfectly, unless you use "stretch to fit" AND "unbounded scrolling" at the same time.

At least, that's the only problem so far that I have found.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Mon Dec 26, 2011 4:08 am

Very good your plugin!
Now I can do more things with my applications.

@jessejoh

It would be interesting if you put up property or event to create an "ID" to "HTML_Div"

For Example:
I'm using "document.getElementById" in javascript to Select Object "HTML_Div," more is not possible, because it does not have an "id" attribute.

So there it is!

Good Job.
B
3
G
3
Posts: 26
Reputation: 927

Post » Tue Dec 27, 2011 7:06 am

Any chance there's a way to scale the page displayed within an iFrame? I'm actually using iFrame to load another application and I want to be able to scale the app to fit my iFrame, any ideas?
B
64
S
8
G
9
Posts: 290
Reputation: 8,590

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 5 guests