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: 479
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Extesion Builder Question

Post 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.
User avatar
me.prosenjeet
 
 
Posts: 1265
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Re: Extesion Builder Question

Post 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.
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
Patrik iden
 
 
Posts: 479
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Extesion Builder Question

Post 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
Last edited by Patrik iden on Tue Sep 04, 2012 8:38 pm, edited 1 time in total.
User avatar
Patrik iden
 
 
Posts: 479
Joined: Wed Mar 24, 2010 9:07 pm
Location: Sweden

Re: Extesion Builder Question

Post 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.
Last edited by Patrik iden on Tue Sep 04, 2012 8:38 pm, edited 2 times in total.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Extesion Builder Question

Post by BaconFries »

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

Re: Extesion Builder Question

Post by Patrik iden »

BaconFries wrote:Topic Moved
Ware?
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Extesion Builder Question

Post by BaconFries »

To questions realated to "Extension Builder" and not WYSIWYG Web Builder Extensions Questions see the correct url below

viewforum.php?f=48
Post Reply