This section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
Forum rules
This forum section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
Patrik iden
Posts: 477 Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden
Post
by Patrik iden » Tue Sep 04, 2012 7:06 pm
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.
Patrik iden
Posts: 477 Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden
Post
by Patrik iden » Tue Sep 04, 2012 7:21 pm
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
Last edited by
Patrik iden on Tue Sep 04, 2012 8:38 pm, edited 1 time in total.
Patrik iden
Posts: 477 Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden
Post
by Patrik iden » Tue Sep 04, 2012 7:58 pm
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.
Last edited by
Patrik iden on Tue Sep 04, 2012 8:38 pm, edited 2 times in total.
Patrik iden
Posts: 477 Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden
Post
by Patrik iden » Tue Sep 04, 2012 8:22 pm
BaconFries wrote: Topic Moved
Ware?
BaconFries
Posts: 6011 Joined: Thu Aug 16, 2007 7:32 pm
Post
by BaconFries » Tue Sep 04, 2012 8:29 pm
To questions realated to "Extension Builder" and not WYSIWYG Web Builder Extensions Questions see the correct url below
viewforum.php?f=48