Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slimbox fails #7

Closed
DanielRuf opened this issue Nov 18, 2011 · 13 comments
Closed

Slimbox fails #7

DanielRuf opened this issue Nov 18, 2011 · 13 comments

Comments

@DanielRuf
Copy link

I would like to use the Slimbox script on the images but it fails. I am redirected to the image but the script doesnt work for the lightbox.

@plasm
Copy link
Owner

plasm commented Nov 18, 2011

You can not use a lightbox in the traditional way because The Wall
creates elements is required. Not all items are created right away.

You need to create an event related to an item when it is created

Daniel Ruf
reply@reply.github.com ha
scritto:

I would like to use the Slimbox script on the images but it fails. I
am redirected to the image but the script doesnt work for the
lightbox.


Reply to this email directly or view it on GitHub:
#7

@DanielRuf
Copy link
Author

so can you give me an exact example for slimbox that is working?

@DanielRuf
Copy link
Author

Then there should be added a lightbox function because so small images are not so good often.

@plasm
Copy link
Owner

plasm commented Nov 18, 2011

Unfortunately I do not have an example that uses a lightbox. Here is
an example but it is custom

http://flickrwall.plasm.it/wall/share/natphilosophy/

Daniel Ruf
reply@reply.github.com ha
scritto:

so can you give me an exact example for slimbox that is working?


Reply to this email directly or view it on GitHub:
#7 (comment)

@plasm
Copy link
Owner

plasm commented Nov 18, 2011

is not an image problem, a problem of generation of new elements of
dom you decide to create the callback of the wall

Daniel Ruf
reply@reply.github.com ha
scritto:

Then there should be added a lightbox function because so small
images are not so good often.


Reply to this email directly or view it on GitHub:
#7 (comment)

@DanielRuf
Copy link
Author

that could be exactly what i want. what do i have to change so i can use this function?

@plasm
Copy link
Owner

plasm commented Nov 18, 2011

of the wall do not have to change anything, you must add an event add
the item to the Sun and make him open the content you want. you may
also click an item and let him open a video ... depends on what do you
do

Daniel Ruf
reply@reply.github.com ha
scritto:

that could be exactly what i want. what do i have to change so i can
use this function?


Reply to this email directly or view it on GitHub:
#7 (comment)

@DanielRuf
Copy link
Author

a real example would be great because I dont know how I should do that with your code as there is not so much documented.

@DanielRuf
Copy link
Author

Well, currently waiting for an example, should not be so hard to do that for us?

I just need the lightbox effect of your flickr example or at least or also an example for slimbox (mootools) plugin

@james170482
Copy link

can i just say thanks for an amazing product , i have the wall installed on my site with no problems but would really like the effects you achieve with the flickr wall , i.e tooltip descriptions(which hopefully can be dynamic and i wont need to enter every value in for every pic/video ) and the option for larger picture upon click and maybe video play upon click. also would it be possible that when someone clicked on a picture i.e a cat picture for example , that the image folder could be dynamically changed so that a new array of cat pictures would appear ?? thanks in advance for any help you can give me , i have searched the internet for advice on such subjects but i keep breaking my wall trying to implement them :) thanks ... james

@plasm
Copy link
Owner

plasm commented May 9, 2012

hello james,
everything you want to do is possible but not functionality of the wall. If you look at the site flickrwall.plasm.it see what part you are interested. For tooltips you need to use some plugin or write it yourself, get the information from the bees of FL.

I indicate to you that this site also helps you better understand the code.
http://antisocialstudies.com/

Hello
Marco

ps.
Forgive the delay but I'm not very good at this time

Il giorno 01/mag/2012, alle ore 00:33, james170482 ha scritto:

can i just say thanks for an amazing product , i have the wall installed on my site with no problems but would really like the effects you achieve with the flickr wall , i.e tooltip descriptions(which hopefully can be dynamic and i wont need to enter every value in for every pic/video ) and the option for larger picture upon click and maybe video play upon click. also would it be possible that when someone clicked on a picture i.e a cat picture for example , that the image folder could be dynamically changed so that a new array of cat pictures would appear ?? thanks in advance for any help you can give me , i have searched the internet for advice on such subjects but i keep breaking my wall trying to implement them :) thanks ... james

@james170482
Copy link

No don't worry about the delay , I'm very grateful for any help , thanks for the info I will follow up on it .

Thank you

..... checked out antisocialstudies and its exactly what i am looking for and i think i can learn alot from the example , thank you very much

take care , all the best.

James

Sent from my HTC

----- Reply message -----
From: "Marco Dell'Anna" reply@reply.github.com
To: "james170482" james_170482@hotmail.co.uk
Subject: [the-wall] Slimbox fails (#7)
Date: Wed, May 9, 2012 13:33

hello james,
everything you want to do is possible but not functionality of the wall. If you look at the site flickrwall.plasm.it see what part you are interested. For tooltips you need to use some plugin or write it yourself, get the information from the bees of FL.

I indicate to you that this site also helps you better understand the code.
http://antisocialstudies.com/

Hello
Marco

ps.
Forgive the delay but I'm not very good at this time

Il giorno 01/mag/2012, alle ore 00:33, james170482 ha scritto:

can i just say thanks for an amazing product , i have the wall installed on my site with no problems but would really like the effects you achieve with the flickr wall , i.e tooltip descriptions(which hopefully can be dynamic and i wont need to enter every value in for every pic/video ) and the option for larger picture upon click and maybe video play upon click. also would it be possible that when someone clicked on a picture i.e a cat picture for example , that the image folder could be dynamically changed so that a new array of cat pictures would appear ?? thanks in advance for any help you can give me , i have searched the internet for advice on such subjects but i keep breaking my wall trying to implement them :) thanks ... james


Reply to this email directly or view it on GitHub:
#7 (comment)

@lorenzos
Copy link

As you said, @plasm, this is an issue related to the fact The Wall dynamically creates image-elements, so you cannot attach events for a lightbox simply on domready. And, as you said, this is not a problem The Wall should solve because its job is different.

In my opinion the best way to solve this is attaching lightbox events at the time you create image-elements implementing the callOnUpdate method. Or, even better, using events delegation.

All this to say that you should close this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants