Is it possible to enable clsose, prev and next button on colorbox image gallery like in lightbox?
Thx.
Is it possible to enable clsose, prev and next button on colorbox image gallery like in lightbox?
Thx.
Zen Cart 1.5.3, Database Patch Level: 1.5.3
Server OS: Linux 2.6.32, Database: MySQL 5.5.41
HTTP Server: Apache, PHP Version: 5.4.37
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Dave
Always forward thinking... Lost my mind!
I need a bit of help please. I am installing the colorbox plugin, and I already have the jscript_jquery.min.php file in my template (avonlee contempo). I don't understand about merging these or if one should replace the other:
colorbox:
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
document.write(unescape("%3Cscript src='//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
avonlee:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.easing.1.3.js' ?>" type="text/javascript"></script>
Zen Cart 1.5.3, Database Patch Level: 1.5.3
Server OS: Linux 2.6.32, Database: MySQL 5.5.41
HTTP Server: Apache, PHP Version: 5.4.37
also, I cannot find anything on in this support thread nor readme about what to do (if anything) with the files in 2_support_files/assets/
Zen Cart 1.5.3, Database Patch Level: 1.5.3
Server OS: Linux 2.6.32, Database: MySQL 5.5.41
HTTP Server: Apache, PHP Version: 5.4.37
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Yes, keep the latest greatest version... upgrade to meet the needs. The latest will have bug fixes... however... delete the jscript_jquery-min.js file.... why duplicate min when your loading it from Google! also, only keep one call to get min... don't need to duplicate the load, it will only server to slow your site down.
personally, I like to get the version of jquery I want to use and drop it into the script folder with the version within the name like
jscript_jquery-1.11.1.min.js, remove the calls to get it. old habits... if I can't read the code, I don't use it..
the down side to this, I'll have to go get the bug fixes myself... the upside, it's available to anything that requires it... let your template load jquary and comment out colorbox call...
colorbox works with jquary-1.11.1.min too... forgot I upgrade to it.... tested with jquary-1.11.0 on ZC 1.5.3
Dave
Always forward thinking... Lost my mind!
I saw the difference in version that you highlighted, BUT I do not understand the language and therefore do not understand if there is a difference in what is being done in the way the code is written (the 2 APPEAR to be completely different, so therefore I do not know if different things are being done)
OR are you basically saying that if I change this:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.easing.1.3.js' ?>" type="text/javascript"></script>
to this:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/jquery.easing.1.3.js' ?>" type="text/javascript"></script>
that it can be used WITHOUT even uploading the other?
OTHER QUESTION PLEASE:
When I use the default pop-up (colorbox false), the pop-up large image window closes upon clicking anywhere on it.
Should the colorbox close in the same way, by clicking anywhere on the image?
It closes upon clicking off the image area (overlay).
Zen Cart 1.5.3, Database Patch Level: 1.5.3
Server OS: Linux 2.6.32, Database: MySQL 5.5.41
HTTP Server: Apache, PHP Version: 5.4.37