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
Text in slimbox
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Text in slimbox
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
Some of them should display the html
Jan
If you find Phoca extensions useful, please support the project
-
vickyml
- Phoca Newbie

- Posts: 3
- Joined: 24 Jan 2013, 21:33
Re: Text in slimbox
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
i don´t know how to solve this.
Thanks for your help.
Vicky
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Text in slimbox
Hi, customized means, that you will modify the javascript code directly, not to set some option somehwere in the settings 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
vickyml
- Phoca Newbie

- Posts: 3
- Joined: 24 Jan 2013, 21:33
Re: Text in slimbox
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 partThat 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
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"})Code: Select all
A.set("html",g[G][1]||"");And if is posible separate title ans description.
Can you guide me with this?
Thank you
Vicky
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Text in slimbox
Hi, unfortunatelly I am not javascript expert too, so cannot give any advice regarding javascript 
Jan
Jan
If you find Phoca extensions useful, please support the project