Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

Can you please tell me how to show pop up screen on tinycarousel (on each image click).

tinycarousel :is an example of scrolling header .
Thanks
Posted

1 solution

Hello,

Tiny Carousel does not supports image click option, however it supports an option named "callback", which is a function that executes after every move. Please refer to following code snippet to see how to use this particular option.
JavaScript
$('#slider-code').tinycarousel({
    callback: function(element, index){
        console.log(element, index);
    }
});

So instead of Console.log you can write your own code to open a popup screen may be using JQueryUI dialog plugin.

Regards,
 
Share this answer
 
Comments
ravi1989h 15-May-13 2:13am    
I also find one solution from jquery mobile (Menu option ) but didn't find the code .
Here is it the link
http://jquerymobile.com/demos/1.2.0-alpha.1/docs/pages/popup/index.html

click menu

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900