Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery html imagem gallery zoom
    primarykey
    data
    text
    <p>Im trying to follow a "how to" to to implment a zoom on a image gallery.</p> <p>The problem is that It works on the "example" provided by them, but it doesnt on my PC, I've done all things rigth i suppose. </p> <pre><code>&lt;script type="text/javascript"&gt; $(document).ready(function(){ //Examples of how to assign the ColorBox event to elements $(".group1").colorbox({rel:'group1'}); $(".group2").colorbox({rel:'group2', transition:"fade"}); $(".group3").colorbox({rel:'group3', transition:"none", width:"75%", height:"75%"}); $(".group4").colorbox({rel:'group4', slideshow:true}); $(".ajax").colorbox(); $(".youtube").colorbox({iframe:true, innerWidth:425, innerHeight:344}); $(".iframe").colorbox({iframe:true, width:"80%", height:"80%"}); $(".inline").colorbox({inline:true, width:"50%"}); $(".callbacks").colorbox({ onOpen:function(){ alert('onOpen: colorbox is about to open'); }, onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); }, onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); }, onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); }, onClosed:function(){ alert('onClosed: colorbox has completely closed'); } }); //Example of preserving a JavaScript event for inline calls. $("#click").click(function(){ $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here."); return false; }); }); &lt;/script&gt; &lt;p&gt;&lt;a class="group2" href="../images/slider/slide1.png" rel="thumbnail" title="This is beautiful castle for sale!"&gt;&lt;img src="../images/slider/slide1.png" style="width: 150px; height: 100px" /&gt;&lt;/a&gt;&lt;/p&gt; </code></pre> <p>So this make a thumbnail that when I click it should zoom in and "block" the background.</p> <p>Ive this too:</p> <pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt; &lt;script src="../js/jquery.colorbox.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="../js/jquery.colorbox-mint.js" type="text/javascript"&gt;&lt;/script&gt; </code></pre> <p>But, when I click on the image that I want to zoom, it opens a new page with that image and I need to back again to my website :|</p> <p>What im trying to do is this: <a href="http://jacklmoore.com/colorbox/example5/" rel="nofollow">http://jacklmoore.com/colorbox/example5/</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload