requesting a little addition to image gallery

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/5/2012 11:51:37 PM
Gravatar
Total Posts 192

requesting a little addition to image gallery

Hi joe.

it would be nice if it was possible to make a gallery start on page load.

this just needs a new configuration and a little change in the  script (adding open:true)

this is so useful when gallery is delicately put on a page.

I have seen some people who don't get that they can click on an image to start a slide show.

2/6/2012 10:23:12 AM
Gravatar
Total Posts 18439

Re: requesting a little addition to image gallery

Hi,

I'm open to the idea, but that does not seem to work. When I add ,open:true it doesn't work at all and I see a script error "Uncaught TypeError: Cannot call method 'show' of undefined" when I look in Chrome developer tools.

Best,

Joe


2/6/2012 11:39:35 AM
Gravatar
Total Posts 192

Re: requesting a little addition to image gallery

using firebug console run this script on this page on mojoportal demo site:

$("a[rel='cbg16823']").colorbox({current: "image {current} of {total}",previous: "previous",next: "next",close: "close",opacity:.7, slideshow:true, open:true});

 

(slideshow: true is also needed, when it's supposed to show the slideshow on start)

for a sample you can check this page.

2/6/2012 12:46:05 PM
Gravatar
Total Posts 18439

Re: requesting a little addition to image gallery

Ok, I got it working, this is in the source code repository now.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.