Add option

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
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Add option

Post by crispy68 »

Hey Pablo,

Would it be possible to add a tab for: Inside <body> tag

I have a script for an extension I'm working on that requires this and currently I don't have a way of adding this into extension builder.
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Add option

Post by Pablo »

I did consider this because I also needed it for the Parallax Tiles extension.
But the problem with this is that if you use multiple extensions, then it will duplicate the code inside the body tag.
User avatar
BaconFries
 
 
Posts: 5324
Joined: Thu Aug 16, 2007 7:32 pm

Re: Add option

Post by BaconFries »

Hi Ron if it is just a onload to be used between the <body onload....> then maybe the following would be of help see Pablo's and my reply.
https://www.wysiwygwebbuilder.com/forum ... 3&p=397892
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Add option

Post by crispy68 »

Is it possible to still add it but put a note about this situation?

I have had other situations with multiple extensions doubling the code so my work around was to create 2 parts to the extension (2 extensions so to speak): 1 that handles the code and you place it on the page only once and the 2nd part of the extension that does the rest and you use it multiple times on the page.

Otherwise, without it what is the workaround?
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Add option

Post by Pablo »

My workaround was to make a note in the document that some code should be added manually.
For events you can use the workaround mentioned by BaconFries.
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Add option

Post by crispy68 »

I'll take a look at the code BF posted. I hope you can still consider adding it to Ext. Builder. I'm sure only advanced users of it would use it anyway if at all and I already have a workaround for it if it was made available. Maybe you can add it, send me a special copy of it and leave the normal one available for everyone else? :D
Post Reply