Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 13, 2012, 12:18:16 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
149699
Posts in
21103
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
New Module: Lightbox
Pages:
1
...
3
4
[
5
]
6
Go Down
Author
Topic: New Module: Lightbox (Read 40012 times)
neophyre
Offline
Posts: 15
Re: New Module: Lightbox
«
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
Posts: 2094
Re: New Module: Lightbox
«
Reply #101 on:
November 20, 2009, 10:09:04 AM »
Quote from: neophyre on November 20, 2009, 02:59:42 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
Posts: 71
Re: New Module: Lightbox
«
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
Posts: 2077
Re: New Module: Lightbox
«
Reply #103 on:
December 01, 2009, 08:15:03 PM »
This is the english part of the forum
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
neophyre
Offline
Posts: 15
Re: New Module: Lightbox
«
Reply #104 on:
December 08, 2009, 09:16:30 AM »
Quote from: Ruud on November 20, 2009, 10:09:04 AM
Quote from: neophyre on November 20, 2009, 02:59:42 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
Posts: 15
Re: New Module: Lightbox
«
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
Posts: 2094
Re: New Module: Lightbox
«
Reply #106 on:
December 11, 2009, 03:39:46 PM »
Quote from: neophyre 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?
Can we have a look?
Logged
Professional WebsiteBaker Developer
mikejd
Offline
Posts: 140
Re: New Module: Lightbox
«
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
Re: New Module: Lightbox
«
Reply #108 on:
December 11, 2009, 05:31:20 PM »
Hi,
simply translate the variables and you are done
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
Posts: 140
Re: New Module: Lightbox
«
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
Posts: 15
Re: New Module: Lightbox
«
Reply #110 on:
December 12, 2009, 03:11:09 AM »
Quote from: Ruud on December 11, 2009, 03:39:46 PM
Quote from: neophyre 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?
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
Posts: 15
Re: New Module: Lightbox
«
Reply #111 on:
December 15, 2009, 10:32:38 AM »
anyone?
Logged
neophyre
Offline
Posts: 15
Re: New Module: Lightbox
«
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
Posts: 140
Re: New Module: Lightbox
«
Reply #113 on:
December 16, 2009, 10:25:12 AM »
Quote from: neophyre 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;
}
More elegant would be:
.lb_image{
background: #333333;
padding: 20px 10px;
margin: auto;
display:block;
}
Mike
Logged
neophyre
Offline
Posts: 15
Re: New Module: Lightbox
«
Reply #114 on:
December 17, 2009, 08:57:49 AM »
One issue tho - This does not appear in IE at all!
Logged
mikejd
Offline
Posts: 140
Re: New Module: Lightbox
«
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
Posts: 15
Re: New Module: Lightbox
«
Reply #116 on:
December 18, 2009, 06:15:09 AM »
www.tammyann.com.au/pages/gallery.php
Logged
sparkdigital
Offline
Posts: 345
Re: New Module: Lightbox
«
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...
Here's my link:
http://preview1.namesco.net/~linthwaitehouse.co.uk/cms/weddings-events/gallery.php
Thanks,
Konrad
Logged
cthamer
Offline
Posts: 23
Re: New Module: Lightbox
«
Reply #118 on:
April 13, 2010, 12:10:04 AM »
Quote from: sparkdigital 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...
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
Posts: 345
Re: New Module: Lightbox
«
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
Posts: 23
Re: New Module: Lightbox
«
Reply #120 on:
April 13, 2010, 01:11:47 AM »
Quote from: sparkdigital on April 13, 2010, 12:42:38 AM
Great thanks, it now works:
http://linthwaitehouse.co.uk/cms/weddings-events/gallery.php
Konrad
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
Posts: 345
Re: New Module: Lightbox
«
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
Posts: 7
Re: New Module: Lightbox
«
Reply #122 on:
April 24, 2010, 11:48:21 AM »
how to add lightbox to picture,
without make new lightbox section?
Logged
mr-fan
Offline
Posts: 1538
Re: New Module: Lightbox
«
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
Posts: 345
Re: New Module: Lightbox
«
Reply #124 on:
April 25, 2010, 12:01:24 PM »
Quote from: alex21 on April 24, 2010, 11:48:21 AM
how to add lightbox to picture,
without make new lightbox section?
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
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...