Extesion Builder Question

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.
Post Reply
User avatar
Patrik iden
 
 
Posts: 585
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Extesion Builder Question

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.

User avatar
me.prosenjeet
 
 
Posts: 1387
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Re: Extesion Builder Question

Post by me.prosenjeet » Tue Sep 04, 2012 7:17 pm

<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.

User avatar
Patrik iden
 
 
Posts: 585
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Extesion Builder Question

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.

User avatar
Patrik iden
 
 
Posts: 585
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Extesion Builder Question

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.

User avatar
BaconFries
 
 
Posts: 4258
Joined: Thu Aug 16, 2007 7:32 pm

Re: Extesion Builder Question

Post by BaconFries » Tue Sep 04, 2012 8:19 pm

Topic Moved

User avatar
Patrik iden
 
 
Posts: 585
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Extesion Builder Question

Post by Patrik iden » Tue Sep 04, 2012 8:22 pm

BaconFries wrote:Topic Moved
Ware?

User avatar
BaconFries
 
 
Posts: 4258
Joined: Thu Aug 16, 2007 7:32 pm

Re: Extesion Builder Question

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest