Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 07:29:56 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149677 Posts in 21101 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: 1 ... 3 4 [5] 6   Go Down
Print
Author Topic: New Module: Lightbox  (Read 40003 times)
neophyre

Offline Offline

Posts: 15


« Reply #100 on: November 20, 2009, 02:59:42 AM »

problem solved.

Next thing is, how do I have a black box surrounding my thumbnails?
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2094



WWW
« Reply #101 on: November 20, 2009, 10:09:04 AM »

problem solved.

Next thing is, how do I have a black box surrounding my thumbnails?
Can you tell us what the problem and the solution was?
Other members in the community might benefit from that.

Borders around images are done using CSS.
Use a tool like firebug (Firefox plugin) to find the class/id the images are using and set a css rule for that.
The bookmarks pages will show you some links to good help with CSS
Logged

Professional WebsiteBaker Developer
laola

Offline Offline

Posts: 71


« Reply #102 on: December 01, 2009, 08:10:49 PM »

Wer kann helfen?

ich hätte gern, dass die Bildershow nicht automatisch startet. also genau andersherum als es jetzt ist.
Hat einer von euch eine Idee oder einen Tipp? wie ich das hinbekomme?

Danke

laola
Logged
erpe

Offline Offline

Posts: 2077


WWW
« Reply #103 on: December 01, 2009, 08:15:03 PM »

This is the english part of the forum  wink

rgds

erpe
Logged

neophyre

Offline Offline

Posts: 15


« Reply #104 on: December 08, 2009, 09:16:30 AM »

problem solved.

Next thing is, how do I have a black box surrounding my thumbnails?
Can you tell us what the problem and the solution was?
Other members in the community might benefit from that.

Borders around images are done using CSS.
Use a tool like firebug (Firefox plugin) to find the class/id the images are using and set a css rule for that.
The bookmarks pages will show you some links to good help with CSS

The problem was I was unable to upload the lightbox module. curiously enough, it all began working once I'd fixed up my templates.
I'll have a go at looking thought the css for the borders around the thumbnails..
Logged
neophyre

Offline Offline

Posts: 15


« Reply #105 on: December 09, 2009, 04:11:02 AM »

Having issues finding the code for the black boxes behind the thumbnails... anyone reckon they could offer me a hand?

Tried with firebug, but got myself a bit lost!
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2094



WWW
« Reply #106 on: December 11, 2009, 03:39:46 PM »

Having issues finding the code for the black boxes behind the thumbnails... anyone reckon they could offer me a hand?

Can we have a look?
Logged

Professional WebsiteBaker Developer
mikejd

Offline Offline

Posts: 140


« Reply #107 on: December 11, 2009, 04:42:42 PM »

I have installed this module and have it working except for the language. On the pop-up display all the labels are in German. It looks like these can be changed in lightbox.js where lines 96 to 104 are as follows :

Code:
           strings : { // allows for localization
                closeLink : 'Exit',
                loadingMsg : 'lade Bilder',
                nextLink : 'weiter »',
                prevLink : '« zurück',
                startSlideshow : 'Start Bildershow',
                stopSlideshow : 'Stop Bildershow',
                numDisplayPrefix : 'Bild',
                numDisplaySeparator : 'von'

However, I don't speak German. So, although I could make a guess, can anyone provide a translation and confirm that this is the correct place to modify.

Thanks.
Mike
Logged
doc
Guest
« Reply #108 on: December 11, 2009, 05:31:20 PM »

Hi,

simply translate the variables and you are done smiley
Don´t know if this is the right place for translation, but the stuff could be translated as follows:

Code:
strings : { // allows for localization
                closeLink : 'Exit (or close)',
                loadingMsg : 'load(ing) images',
                nextLink : 'next »',
                prevLink : '« previous',
                startSlideshow : 'start slide show',
                stopSlideshow : 'stop slide show',
                numDisplayPrefix : 'image',
                numDisplaySeparator : 'from'

Doc
Logged
mikejd

Offline Offline

Posts: 140


« Reply #109 on: December 11, 2009, 05:49:24 PM »

Thanks for the translation, doc.

Is it possible to open the lightbox with the slideshow stopped?

Mike
Logged
neophyre

Offline Offline

Posts: 15


« Reply #110 on: December 12, 2009, 03:11:09 AM »

Having issues finding the code for the black boxes behind the thumbnails... anyone reckon they could offer me a hand?

Can we have a look?

http://www.expozay.net/tanika/tanika.php?expozay=0&cat=37
http://karinautique.com/Lingerie.html

The links above are the sort of effect i'm after, more so like the black borders around the thumbnails on tanika's website.
Logged
neophyre

Offline Offline

Posts: 15


« Reply #111 on: December 15, 2009, 10:32:38 AM »

anyone?
Logged
neophyre

Offline Offline

Posts: 15


« Reply #112 on: December 16, 2009, 05:28:32 AM »

Solved:

.lb_image{
background: #333333;
padding-top: 20px;
padding-right: 10px;
padding-bottom: 20px;
padding-left: 10px;
margin: auto;
display:block;
}
Logged
mikejd

Offline Offline

Posts: 140


« Reply #113 on: December 16, 2009, 10:25:12 AM »

Solved:

.lb_image{
background: #333333;
padding-top: 20px;
padding-right: 10px;
padding-bottom: 20px;
padding-left: 10px;
margin: auto;
display:block;
}

More elegant would be:

.lb_image{
background: #333333;
padding: 20px 10px;
margin: auto;
display:block;
}

Mike
Logged
neophyre

Offline Offline

Posts: 15


« Reply #114 on: December 17, 2009, 08:57:49 AM »

One issue tho - This does not appear in IE at all!
Logged
mikejd

Offline Offline

Posts: 140


« Reply #115 on: December 17, 2009, 10:31:44 AM »

Do you have a link to the site? As this appears to be a css issue, not a WB problem, it's not really relevant to this forum but without a link to view the page it's difficult to resolve.

Mike
Logged
neophyre

Offline Offline

Posts: 15


« Reply #116 on: December 18, 2009, 06:15:09 AM »

www.tammyann.com.au/pages/gallery.php
Logged
sparkdigital

Offline Offline

Posts: 345



WWW
« Reply #117 on: April 12, 2010, 10:57:43 PM »

Any ideas anyone on how to style the background color on hover over? I tried

Code:
.lb_image {
background-color: #a29a82;
margin: 5px 10px 5px 0px;
text-decoration: none;
border: none;
padding: 5px;
display:block;
}

.lb_image a{
text-decoration: none;
}

.lb_image a:hover, .lb_image a:active, .lb_image a:visited {
background-color: #a2a93f;
text-decoration: none;
}

but the a:hover doesn't seem to be doing anything. Mind you, I have been staring way too many hours at my screen today so maybe it's just that...  shocked

Here's my link:

http://preview1.namesco.net/~linthwaitehouse.co.uk/cms/weddings-events/gallery.php

Thanks,

Konrad
Logged
cthamer

Offline Offline

Posts: 23


« Reply #118 on: April 13, 2010, 12:10:04 AM »

Any ideas anyone on how to style the background color on hover over? I tried

Code:
.lb_image {
background-color: #a29a82;
margin: 5px 10px 5px 0px;
text-decoration: none;
border: none;
padding: 5px;
display:block;
}

.lb_image a{
text-decoration: none;
}

.lb_image a:hover, .lb_image a:active, .lb_image a:visited {
background-color: #a2a93f;
text-decoration: none;
}

but the a:hover doesn't seem to be doing anything. Mind you, I have been staring way too many hours at my screen today so maybe it's just that...  shocked

Here's my link:

http://preview1.namesco.net/~linthwaitehouse.co.uk/cms/weddings-events/gallery.php

Thanks,

Konrad

Konrad, your problem is that there is no element matching ".lb_image a:hover". If you look at your code you will see there is no child 'a' of lb_image. You could try '.lb_image:hover'.

Also your link didn't work. I guessed and tried http://linthwaitehouse.co.uk/cms/weddings-events/gallery.php which did work.
Logged
sparkdigital

Offline Offline

Posts: 345



WWW
« Reply #119 on: April 13, 2010, 12:42:38 AM »

Great thanks, it now works:

http://linthwaitehouse.co.uk/cms/weddings-events/gallery.php

Konrad
Logged
cthamer

Offline Offline

Posts: 23


« Reply #120 on: April 13, 2010, 01:11:47 AM »


Glad I could help. I noticed that the loading, previous, next and close images are missing. You need to update the image paths. For example you currently have background:url("/modules/lightbox2/images/loading.gif") center center no-repeat;
Logged
sparkdigital

Offline Offline

Posts: 345



WWW
« Reply #121 on: April 13, 2010, 02:04:12 AM »

Thanks, I've noticed this too but it's purely because of the preview server -I've now update the config file to the correct url and the buttons are there.

Thanks again,

Konrad
Logged
alex21

Offline Offline

Posts: 7


« Reply #122 on: April 24, 2010, 11:48:21 AM »

how to add lightbox to picture,
without make new lightbox section? huh
Logged
mr-fan

Offline Offline

Posts: 1538


WWW
« Reply #123 on: April 24, 2010, 03:10:14 PM »

for open a simple picture in a lightbox in a WYSIWIG content or other mods you could use the new mod jQueryAdmin with a lightbox script there are several ones to choose:

http://www.websitebakers.com/pages/libs/jqueryadmin.php

http://www.websitebakers.com/pages/libs/jqueryadmin/jquery-library.php

regards martin
Logged

 
sparkdigital

Offline Offline

Posts: 345



WWW
« Reply #124 on: April 25, 2010, 12:01:24 PM »

how to add lightbox to picture,
without make new lightbox section? huh

Or you can look at the source code produced for a whole lightbox section and use this as an example: just take out the url and code that you need and use that to place around your image.

Konrad
Logged
Pages: 1 ... 3 4 [5] 6   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!