Page 1 of 1
Text in slimbox
Posted: 25 Jan 2013, 12:26
by vickyml
I'm using slimbox for displaying images in my gallery.
The problem is that , title and description appear in the same line, and there is no line breaks.
For example now appear by this way:
Arbol de la Metamorfósis - 27 x 10 x 10 cm24 x 12 x 14 cm22 x 10 x 23 cm31 x 15 x 20 cm Base 208 cm
And i wish it was:
Arbol de la Metamorfosis
27 x 10 x 10 cm
24 x 12 x 14cm
22 x 10 x 23cm
31 x 15 x 20cm
Base 208 cm
why is that?
Thank you
Vicky Moreno
Re: Text in slimbox
Posted: 27 Jan 2013, 20:17
by Jan
Hi, in javascript window the html formating was striped so such needs to be customized (see the used detail window javascript and customize it to display title or description in html format

)
Some of them should display the html
Jan
Re: Text in slimbox
Posted: 30 Jan 2013, 12:43
by vickyml
Sorry, but i don´t understand you. How i customize the html format. In detail window javascript there is no option, only select if you want to show title and the way to show description. If select standar , the description appear, if select lightbox , title and description hide it.
i don´t know how to solve this.
Thanks for your help.
Vicky
Re: Text in slimbox
Posted: 30 Jan 2013, 22:05
by Jan
Hi, customized means, that you will modify the javascript code directly, not to set some option somehwere in the settings
Jan
Re: Text in slimbox
Posted: 08 Feb 2013, 10:48
by vickyml
Hi Jan,
Sorry for the delay,
I´m afraid i don´t know too much about javascript. The file i have change is components/com_phocagallery/assets/js/slimbox/slimbox.js ?
Here i only see this part
Code: Select all
A=new Element("div",{id:"lbCaption"})
That i understand is to create the div that show title and description and later
That i´m not sure whats the meaning, but include title and description all together, and i want to do linebreaks.
And if is posible separate title ans description.
Can you guide me with this?
Thank you
Vicky
Re: Text in slimbox
Posted: 13 Feb 2013, 20:45
by Jan
Hi, unfortunatelly I am not javascript expert too, so cannot give any advice regarding javascript
Jan