|
|
Forum moderator: Eriko |
uCoz Community uCoz Modules Photo Albums lightbox functionality (how can i combine images in a set, how can configure lightbo) |
lightbox functionality |
i want to use the build-in lightbox functionality, which seems very useful.
but i can't find out how I can use the upload function, which result in codes like: $IMAGE1$, $IMAGE2$ ....$IMAGEx$. I want to navigate through a set images with a floating 'next' and 'previous' button, is it possible to make a set? is there a way to configure the visualization of the floating images? is it possible to fade the site, is it possible to add a title or extra information underneath the floating picture? (low priority: the floating image already comes with a button, named 'toggle size' which isn't working is it possible to remove this button) thanks already d --update-- I couldn't find the article "Editing of Ligthbox appearance" by the search engine of this forum, because i was looking for lightbox. I will look in this article for the answers to my questions. Added (2012-06-21, 4:37 AM) Code <a href="http://...large_1.jpg" class="ulightbox" rel="gallery" title="Sample title 1"><img src="http://...small_1.jpg"></a> <a href="http://...large_2.jpg" class="ulightbox" rel="gallery" title="Sample title 1"><img src="http://...small_2.jpg"></a> the set or groupname is defined by 'rel', in this case the groupname is gallery good luck! d Post edited by dvhout - Thursday, 2012-06-21, 9:38 AM
|
I think I know where I can change the preferences of the ulightbox.
in the source of my site i found the following link i think i must change the following code in "visibility: visable" Code .fancybox-title { visibility: hidden; font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; position: relative; text-shadow: none; z-index: 10015; } can i change this file? i expect that i can't. can i copy the css file, and start pointing at my own ulightbox.css file instead of the standard? tanks already zhy |
zhy-jones, if you embed the new styles within the page it will work. Alternatively you can use jQuery to replace the existing link to the CSS with a new one.
Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
embed a new style?
so I have to point to an other css? but how do i stop pointing at the 'old' css file? I assume that I might better not point to both css-files at the same time. I don't understand the alternative, can you give me one more clue? does this mean, the page will be load with the old css-file in the first place, to replace it with another afterwards? does this make my page unnecessary inefficient/slow? or is this replace action done every time the site is rebuild? thanks already zhy |
Quote so I have to point to an other css? you can set style for: 1. whole site 2. any page 3. any element on page Quote or is this replace action done every time the site is rebuild? when you change .css file from standart template it's automatically changes to my.css Quote does this make my page unnecessary inefficient/slow? sounds like JavaScript css itself can not slow down loading of page. but 5mb picture on background - can |
| |||
| |||