jQuery Plugins » Gallery https://jqueryplugins.info jQuery plugins, tutorials and resources Tue, 18 Oct 2011 09:13:09 +0000 en hourly 1 http://wordpress.org/?v=3.2.1 Using jQuery for Tabs and Sliding Image Gallery (simplyScroll) https://jqueryplugins.info/2011/10/using-jquery-for-tabs-and-sliding-image-gallery-simplyscroll/ https://jqueryplugins.info/2011/10/using-jquery-for-tabs-and-sliding-image-gallery-simplyscroll/#comments Fri, 14 Oct 2011 15:15:21 +0000 Admin https://jqueryplugins.info/2011/10/using-jquery-for-tabs-and-sliding-image-gallery-simplyscroll/ Post link: Using jQuery for Tabs and Sliding Image Gallery (simplyScroll)

I’m building a yacht website where at the yacht page it shows the yacht’s image along with more photos that are displayed ontop the main image when clicked. Also it...

]]>
Post link: Using jQuery for Tabs and Sliding Image Gallery (simplyScroll)

I’m building a yacht website where at the yacht page it shows the yacht’s image along with more photos that are displayed ontop the main image when clicked.

Also it has tabs so the user can see some virtual tours of the yacht without leaving the page (It’s like a second image gallery).

My problem is when I use jQuery tabs the second tab which has the second gallery (virtual tour) doesn’t show the images and the scroller doesn’t work. Looking the code I saw it has to do with jQuery .hide function ($ j(“.tab_content”).hide();) but if I comment it out it show all the tabs.

Here’s the jQuery code:

<script type="text/javascript">
        // Initialize the plugin with no custom options
        var $  j = jQuery.noConflict();
        $  j(document).ready(function() {
            //Default Action
            $  j(".tab_content").hide(); //Hide all content
            $  j("ul.tabs li:first").addClass("active").show(); //Activate first tab
            $  j(".tab_content:first").show(); //Show first tab content

            //On Click Event
            $  j("ul.tabs li").click(function() {
                $  j("ul.tabs li").removeClass("active"); //Remove any "active" class
                $  j(this).addClass("active"); //Add "active" class to selected tab
                $  j(".tab_content").hide(); //Hide all tab content
                var activeTab = $  j(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
                $  j(activeTab).fadeIn(); //Fade in the active content
                return false;
            });
            $  j("#scroller").simplyScroll({
                speed: 25
            });
            $  j("#scroller2").simplyScroll({
                speed: 25
            });
        });
        $  j('.project').live('click',function(){
            newImg = $  j(this).attr('rel');
            $  j('img.projectImg').attr('src', newImg);
            hideLoading();
        });
        $  j('.vrtour').live('click',function(){
            newSwf = $  j(this).attr('rel');
            var newObjElement = '<object style="width:681px;height:511px;"><param name="movie" value="'+newSwf+'"><embed src="'+newSwf+'" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="681" height="511"></object>';
            $  j('#Swf').html(newObjElement);
            hideLoading();
        });
    </script>

And here’s the HTML:

<ul class="tabs">
        <li><a href="#tab1">PHOTOS</a></li>
        <li><a href="#tab2">VIRTUAL TOUR</a></li>
    </ul>
    <div class="tab_container">
    <div id="tab1" class="tab_content">

    <div id="photosItem">
                                    <!-- Item Image -->
                <div class="itemImageBlock" id="imageBox">
                    <span class="itemImage">
                        <img src="184b7cb84d7b456c96a0bdfbbeaa5f14_L.jpg" alt=" Posillipo 80 1997" style="width:681px; height:511px;" class="projectImg" />
                    </span>
                                                                </div>

                                    <div class="clr"></div>
            </div>
                                    <!-- Item image gallery -->
                    <a name="itemImageGalleryAnchor" id="itemImageGalleryAnchor"></a>
                    <div class="itemImageGallery">
                        <div id="gallery">
                        <ul id="scroller">
                            <li><img rel="IMG_3104.jpg" src="jwsigpro_cache_8d00638fe2img_3104.jpg" alt="Click to open image!" title="Click to open image!" style="width:136px;height:92px;cursor:pointer" class="project" /></li>
                            <li><img rel="IMG_3109.jpg" src="jwsigpro_cache_8d00638fe2img_3109.jpg" alt="Click to open image!" title="Click to open image!" style="width:136px;height:92px;cursor:pointer" class="project" /></li>

                            <li><img rel="IMG_3133.jpg" src="jwsigpro_cache_8d00638fe2img_3133.jpg" alt="Click to open image!" title="Click to open image!" style="width:136px;height:92px;cursor:pointer" class="project" /></li>
                            <li><img rel="IMG_3136.jpg" src="jwsigpro_cache_8d00638fe2img_3136.jpg" alt="Click to open image!" title="Click to open image!" style="width:136px;height:92px;cursor:pointer" class="project" /></li>
                            <li><img rel="IMG_3156.jpg" src="jwsigpro_cache_8d00638fe2img_3156.jpg" alt="Click to open image!" title="Click to open image!" style="width:136px;height:92px;cursor:pointer" class="project" /></li>
                            <li><img rel="IMG_3159.jpg" src="jwsigpro_cache_8d00638fe2img_3159.jpg" alt="Click to open image!" title="Click to open image!" style="width:136px;height:92px;cursor:pointer" class="project" /></li>
                            <li><img rel="IMG_3164.jpg" src="jwsigpro_cache_8d00638fe2img_3164.jpg" alt="Click to open image!" title="Click to open image!" style="width:136px;height:92px;cursor:pointer" class="project" /></li>
                            <li><img rel="IMG_3169.jpg" src="jwsigpro_cache_8d00638fe2img_3169.jpg" alt="Click to open image!" title="Click to open image!" style="width:136px;height:92px;cursor:pointer" class="project" /></li>
                        </ul>
                        </div>
                    </div>

                        </div>
    </div>
    <div id="tab2" class="tab_content">
        <div id="photosItem">
                <div class="itemImageBlock" id="imageBox">
                    <span class="itemImage">
                    <div id="Swf">
                    <object width="681" height="511">
                    <param name="movie" value="Ferretti_165_main_saloon.swf">
                    <embed type="application/x-shockwave-flash" src="Ferretti_165_main_saloon.swf" width="681" height="511" class="projectSwf"></embed>

                    </object>
                    </div>
                    </span>
                 </div>
                 <div class="clr"></div>
                 <div class="itemImageGallery">
                        <div id="gallery">
                            <ul id="scroller2">
                                <li><img rel="Ferretti_165_main_saloon.swf" src="deck.jpg" alt="Click to open 360!" title="Click to open 360!" style="width:136px;height:92px;cursor:pointer" class="vrtour" /></li>

                                <li><img rel="example.swf" src="deck.jpg" alt="Click to open 360!" title="Click to open 360!" style="width:136px;height:92px;cursor:pointer" class="vrtour" /></li>
                                <li><img rel="example.swf" src="deck.jpg" alt="Click to open 360!" title="Click to open 360!" style="width:136px;height:92px;cursor:pointer" class="vrtour" /></li>
                                <li><img rel="Ferretti_165_main_saloon.swf" src="deck.jpg" alt="Click to open 360!" title="Click to open 360!" style="width:136px;height:92px;cursor:pointer" class="vrtour" /></li>
                                <li><img rel="Ferretti_165_main_saloon.swf" src="deck.jpg" alt="Click to open 360!" title="Click to open 360!" style="width:136px;height:92px;cursor:pointer" class="vrtour" /></li>
                                <li><img rel="Ferretti_165_main_saloon.swf" src="deck.jpg" alt="Click to open 360!" title="Click to open 360!" style="width:136px;height:92px;cursor:pointer" class="vrtour" /></li>
                                <li><img rel="Ferretti_165_main_saloon.swf" src="deck.jpg" alt="Click to open 360!" title="Click to open 360!" style="width:136px;height:92px;cursor:pointer" class="vrtour" /></li>
                                <li><img rel="Ferretti_165_main_saloon.swf" src="deck.jpg" alt="Click to open 360!" title="Click to open 360!" style="width:136px;height:92px;cursor:pointer" class="vrtour" /></li>
                                <li><img rel="Ferretti_165_main_saloon.swf" src="deck.jpg" alt="Click to open 360!" title="Click to open 360!" style="width:136px;height:92px;cursor:pointer" class="vrtour" /></li>
                                <li><img rel="Ferretti_165_main_saloon.swf" src="deck.jpg" alt="Click to open 360!" title="Click to open 360!" style="width:136px;height:92px;cursor:pointer" class="vrtour" /></li>

                            </ul>
                        </div>
                    </div>
            </div>
    </div>

And here’s the demo page if you want to see it live:

http://www.cre8.gr/test/

I would greatly appreciate if anyone could help.

Thank you!

newest questions tagged jquery – Stack Overflow

]]>
https://jqueryplugins.info/2011/10/using-jquery-for-tabs-and-sliding-image-gallery-simplyscroll/feed/ 0
i have parsed the images using getJSON method in jquery,How to display images in a image gallery in phonegap https://jqueryplugins.info/2011/10/i-have-parsed-the-images-using-getjson-method-in-jqueryhow-to-display-images-in-a-image-gallery-in-phonegap/ https://jqueryplugins.info/2011/10/i-have-parsed-the-images-using-getjson-method-in-jqueryhow-to-display-images-in-a-image-gallery-in-phonegap/#comments Mon, 10 Oct 2011 06:14:46 +0000 Admin https://jqueryplugins.info/2011/10/i-have-parsed-the-images-using-getjson-method-in-jqueryhow-to-display-images-in-a-image-gallery-in-phonegap/ Post link: i have parsed the images using getJSON method in jquery,How to display images in a image gallery in phonegap

i am new to jquery mobile and i have parsed the images using getJSON method as displayed below: $ (document).ready(function(){ $ .getJSON(“http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&tagmode=any&format=json&jsoncallback=?”, function(data){ $ .each(data.items, function(i,item){ $ (“”).attr(“src”, item.media.m).appendTo(“#images”); });...

]]>
Post link: i have parsed the images using getJSON method in jquery,How to display images in a image gallery in phonegap

i am new to jquery mobile and i have parsed the images using getJSON method as displayed below:
$ (document).ready(function(){
$ .getJSON(“http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&tagmode=any&format=json&jsoncallback=?”,
function(data){
$ .each(data.items, function(i,item){
$ (“”).attr(“src”, item.media.m).appendTo(“#images”);
});
});
});

now i want to display these images in a image gallery.please help me.Any help will be appreciated.

newest questions tagged jquery – Stack Overflow

]]>
https://jqueryplugins.info/2011/10/i-have-parsed-the-images-using-getjson-method-in-jqueryhow-to-display-images-in-a-image-gallery-in-phonegap/feed/ 0
How to build People photo gallery with messy style / disorder style thumnail https://jqueryplugins.info/2011/09/how-to-build-people-photo-gallery-with-messy-style-disorder-style-thumnail/ https://jqueryplugins.info/2011/09/how-to-build-people-photo-gallery-with-messy-style-disorder-style-thumnail/#comments Mon, 19 Sep 2011 19:13:50 +0000 Admin https://jqueryplugins.info/2011/09/how-to-build-people-photo-gallery-with-messy-style-disorder-style-thumnail/ Post link: How to build People photo gallery with messy style / disorder style thumnail

I want to create a photo gallery like http://mormon.org/people/find/ . I want the messy style. could someone give me some idea any framework and plugin can do the job? newest...

]]>
Post link: How to build People photo gallery with messy style / disorder style thumnail

I want to create a photo gallery like http://mormon.org/people/find/ . I want the messy style. could someone give me some idea any framework and plugin can do the job?

newest questions tagged jquery – Stack Overflow

]]>
https://jqueryplugins.info/2011/09/how-to-build-people-photo-gallery-with-messy-style-disorder-style-thumnail/feed/ 0
How to load a gallery content after images are loading in the background https://jqueryplugins.info/2011/09/how-to-load-a-gallery-content-after-images-are-loading-in-the-background/ https://jqueryplugins.info/2011/09/how-to-load-a-gallery-content-after-images-are-loading-in-the-background/#comments Fri, 16 Sep 2011 17:34:49 +0000 Admin https://jqueryplugins.info/2011/09/how-to-load-a-gallery-content-after-images-are-loading-in-the-background/ Post link: How to load a gallery content after images are loading in the background

I am new to jquery/ajax stuff and I have really hard time trying to understand the concepts and how to integrate it into a rails 3 application. I saw some...

]]>
Post link: How to load a gallery content after images are loading in the background

I am new to jquery/ajax stuff and I have really hard time trying to understand the concepts and how to integrate it into a rails 3 application. I saw some screencasts but I can’t figure how I can make what I want.

What I am trying to achieve is to load in a “gallery” div (in galleries/show.html.erb) several images. I am using Amazon S3 and it takes a bit of time to load these images fully. So I thought adding a spinner while images’re loading in the background could be nicer.

Here is my show action:

galleries/show.html.erb

<div class="main">
  <div id="ajax-status"></div>
  <div id="gallery"><%= render(:partial => "galleries/show.js") %></div>
</div>

1.) My first attempt was to render a js partial:

galleries/_show.js.erb

<%= render('galleries/gallery').html_safe %>

The partial is loaded correctly but I don’t know if it’s here I have to add my spinner (and how to load it)

2.) My second attempt was to load the partial in my application.js file:

$  (document).ready(function(){

    // Setup Ajax Callbacks
    $  ('body').ajaxStart(function() {
        $  ('#ajax-status').show();
    });
        $  ('body').ajaxStop(function() {
        $  ('#ajax-status').fadeOut();
    });
    $  ('body').ajaxError(function (event, xhr, ajaxOptions, thrownError) {
            console.log("XHR Response: " +  JSON.stringify(xhr));
    });

    // load gallery
    $  ('#gallery').load('...'); # Can I load a partial here?

});

So Here I have my spinner working (I hope!) But as I see it’s not possible to load partial in that way..

Thanks a lot for your help, it would help me to understand a lot!

newest questions tagged jquery – Stack Overflow

]]>
https://jqueryplugins.info/2011/09/how-to-load-a-gallery-content-after-images-are-loading-in-the-background/feed/ 0
iFrame & Galleria Photo Gallery [makeshift multi album] — resize? fullscreen? jquery? java? please help? https://jqueryplugins.info/2011/09/iframe-galleria-photo-gallery-makeshift-multi-album-resize-fullscreen-jquery-java-please-help/ https://jqueryplugins.info/2011/09/iframe-galleria-photo-gallery-makeshift-multi-album-resize-fullscreen-jquery-java-please-help/#comments Thu, 15 Sep 2011 03:13:40 +0000 Admin https://jqueryplugins.info/2011/09/iframe-galleria-photo-gallery-makeshift-multi-album-resize-fullscreen-jquery-java-please-help/ Post link: iFrame & Galleria Photo Gallery [makeshift multi album] — resize? fullscreen? jquery? java? please help?

Just want to say first and foremost I appreciate any help on this. I’ve been kind of stuck all day. So what I have now (http://itsdoom.com/tumblrstylewebsite.html) is the newest thing...

]]>
Post link: iFrame & Galleria Photo Gallery [makeshift multi album] — resize? fullscreen? jquery? java? please help?

Just want to say first and foremost I appreciate any help on this. I’ve been kind of stuck all day.

So what I have now (http://itsdoom.com/tumblrstylewebsite.html)

is the newest thing I have been working on. its very rough as of now. But what I am having trouble with is the image gallery. If you click on ‘work’ it will scroll you down and you can see what I’m talking about. I wanted to have multiple albums so I placed the “Galleria” in an iFrame. with obvious problems. As I realize the way i have it setup now the Galleria / iframe is at 420px (h) x 820px (w), which looks good on the screen i’m working on now 1280×800, but if a user had a higher screen resolution, it would look too small, and with no ability to fullscreen the galleria, its a problem.

so I have a couple questions..

  1. Is there anyway to make the Galleria fullscreen not only in the iframe but in the whole browser?

  2. Is there anyway to either resize the iframe // content (Galleria) to reflect a users screen resolution?

If theres a way to fullscreen that would be the best option because someone with a higher resolution screen would just be able to hit that. if not, hopefully the other option is possible.

thanks again for the help.

newest questions tagged jquery – Stack Overflow

]]>
https://jqueryplugins.info/2011/09/iframe-galleria-photo-gallery-makeshift-multi-album-resize-fullscreen-jquery-java-please-help/feed/ 0
I want to build this “Galleria” style gallery, however, even with instructions I don’t know what to do with it? https://jqueryplugins.info/2011/09/i-want-to-build-this-galleria-style-gallery-however-even-with-instructions-i-dont-know-what-to-do-with-it/ https://jqueryplugins.info/2011/09/i-want-to-build-this-galleria-style-gallery-however-even-with-instructions-i-dont-know-what-to-do-with-it/#comments Fri, 02 Sep 2011 17:46:56 +0000 Admin https://jqueryplugins.info/2011/09/i-want-to-build-this-galleria-style-gallery-however-even-with-instructions-i-dont-know-what-to-do-with-it/ Post link: I want to build this “Galleria” style gallery, however, even with instructions I don’t know what to do with it?

Question by parting of the sensory…: I want to build this “Galleria” style gallery, however, even with instructions I don’t know what to do with it? http://galleria.aino.se/ This is what...

]]>
Post link: I want to build this “Galleria” style gallery, however, even with instructions I don’t know what to do with it?

Question by parting of the sensory…: I want to build this “Galleria” style gallery, however, even with instructions I don’t know what to do with it?

http://galleria.aino.se/

This is what I am interested in. How do I create it? All I know is HTML and CSS. From all indications there is ‘jquery’ and ‘javascript’ etc, involved but I don’t even have the faintest idea where to begin using that.
Can I use my CSS page and make a new HTML page to make this? What goes where? I see they have the scripts on this page, but am unsure what should go where on my CSS and HTML page. The guys who wrote this obviously assumed people using this would somewhat know somewhat of what to do with it. Unfortunately I do not. Also, how do I incorporate JavaScript into the whole matter? Will there have be an entire different document/scripting for this? In essence, based on what I am trying to create (the galleria in the link above) could someone fill me in on all the details in regard to the scripting on the link as a step-by-step process to tell me what to put where?

Thank you.
No offense Moi, but your answer still does not indicate anything to me as to what I should do. If you go onto the site, sure it shows a lot of scripting but it does not say other important things like: open a notepad doc, save it as a .java (or whatever) place the lines that say (whatever it may) on your html in the body, etc. Thats what I need help with. Baby steps. I have been trying to get a gallery functioning for a couple weeks and it is holding up my website from launching.
Serious help only, please. I would certainly appreciate it.

Best answer:

Answer by Moi
Download the software and use this documentation: http://github.com/aino/galleria/tree/master/docs/ check out the “getting started” file it explains how to get it working…

“Get the latest and greatest version of Galleria and jQuery
Place the galleria src folder in your project.”

I believe you can copy/paste the codes they give you as long as you place the galleria src folder in your project. If you choose other folder you’ll need to modify the paths.

EDIT:

OK here we go with serious help :)

1. Download Galleria.

2. Extract the .zip file in your project. I just extracted the .zip inside the folder of my project, if you want to put it in other forder then just change the paths (I suppose you know how to do this) in the code I’m about to give you.

3. Copy this and paste it inside your HTML file (always do a backup).

-The code can go inside the BODY tag.


-Sorry but Y! won’t let me put the entire code, this is what is missing:

http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js <-copy the entire address.
src/themes/classic/galleria.classic.js

4. Make a folder named img and put your images inside.

5. Locate the