Page 1 of 1

Extesion Builder Question

Posted: Tue Sep 04, 2012 7:06 pm
by Patrik iden
Im trying to build my first extesion using this code:

Code: Select all

<iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
I manage to set it so one can out in own document path, but how to make it so one can set own size of the inline frame?

Thank you.

Re: Extesion Builder Question

Posted: Tue Sep 04, 2012 7:17 pm
by me.prosenjeet
<iframe src="http://docs.google.com/gview?url=http:/ ... edded=true" style="width:$width$px; height:$height$px;" frameborder="0"></iframe>

Mark the height and width as I changed in the code above.Now set these in the properties of the extension so user can chage them.

Re: Extesion Builder Question

Posted: Tue Sep 04, 2012 7:21 pm
by Patrik iden
me.prosenjeet wrote:<iframe src="http://docs.google.com/gview?url=http:/ ... edded=true" style="width:$width$px; height:$height$px;" frameborder="0"></iframe>

Mark the height and width as I changed in the code above.Now set these in the properties of the extension so user can chage them.
Thank you. I'l try this

Re: Extesion Builder Question

Posted: Tue Sep 04, 2012 7:58 pm
by Patrik iden
OK, how can i do to pick a file to be uploaded and shown when publishing?

As it is now, i have to enter an url to the file. I'd like it to be so that one only have to pick a file and that file will be shown, like in the Highslide PDF extension.
So now i have theea fields in this extension:
file:
url:
hight:
wight:

Thank you.

Re: Extesion Builder Question

Posted: Tue Sep 04, 2012 8:19 pm
by BaconFries
Topic Moved

Re: Extesion Builder Question

Posted: Tue Sep 04, 2012 8:22 pm
by Patrik iden
BaconFries wrote:Topic Moved
Ware?

Re: Extesion Builder Question

Posted: Tue Sep 04, 2012 8:29 pm
by BaconFries
To questions realated to "Extension Builder" and not WYSIWYG Web Builder Extensions Questions see the correct url below

viewforum.php?f=48