jor_accordion 9.0b

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.
There is a dedicated section for commercial extensions.
jordan
 
 
Posts: 831
Joined: Tue Jun 26, 2007 1:56 pm
Contact:

Re: jor_accordion 9.0b

Post by jordan »

Juul wrote:Why does the small font and the narrow page open?
hello Juul,

I believe you have "include min-width in CSS3 media queries" enabled inside the iframe (pages) ? - disable them
Juul
 
 
Posts: 7
Joined: Wed Aug 15, 2007 12:21 pm

Re: jor_accordion 9.0b

Post by Juul »

Yes, That's the one!! It works.

Thanks

Can I ask you another question. Is it possible to edit the font size fot responsice (320px) design?

Thanks Juul
jordan
 
 
Posts: 831
Joined: Tue Jun 26, 2007 1:56 pm
Contact:

Re: jor_accordion 9.0b

Post by jordan »

Juul wrote:Can I ask you another question. Is it possible to edit the font size fot responsice (320px) design?
no, a.f.a.i.k the extension builder does not allow additional specific styling for breakpoints - (only dedicated position/dimension variables)
but you can create a somewhat copycat function, - jor_accordion follows ie. a WB Text object

if you want to do that ? - follow this:) - a copycat function ... step by step ...

STEP 1:
- add a WB Text object to the same page jor_accordion is on
- change the id of the WB Text object to - copycat
- for the WB Text object enable the property - enable responsive font

STEP 2:
add the following code between the <HEAD> of your Page HTML

<script>
$(function() {
var $cc=$('#wb_copycat'), $joracc=$('.accordion1');
$cc.css({'overflow':'hidden','width':'0px','opacity':0});
$(window).on('load resize',function() {
$joracc.css({'font-family':$cc.css('font-family'),'font-size':$cc.css('font-size')});
});
});
</script>


STEP 3:
change the - copycat - WB Text object style and jor_accordion will follow it's style (family/size)


hope this helps!
Juul
 
 
Posts: 7
Joined: Wed Aug 15, 2007 12:21 pm

Re: jor_accordion 9.0b

Post by Juul »

Thanks I will try this.
Post Reply