Ask questions and get good answers on jQuery

I am new to jQuery. I use the Mac-based RapidWeaver 4.0 platform, and my Rapidweaver theme is jQuery-ready.

  1. What is the best web sizes for the thumbnail images? and for the full images?
  2. What does "in the body" mean? RapidWeaver allows me to copy code and paste it in either the Header, CSS, JavaScript, or Prefix sections of my theme.

Thanks for putting up with such simple questions.

Bob

asked Jan 06 '10 at 00:21

Bob's gravatar image

Bob
111


  1. For mb.gallery you should have squared thumbs 50x50 jpeg optimized for the web and 1000 / 1200 jpg optimized.

  2. using RapidWeaver you should add in the Javascript box the inclusion of the mbGallery.js and the initializer function:

     $(function(){
      $('#g1').mbGallery({maskBgnd:'#ccc', maskOpacity:.9});
     });
    

And in your HTML the DIV containing all the images:

<div  id="g1" class="galleryCont">
  <a class="imgThumb" href="gallery1/LR/01.jpg"></a>
  <a class="imgFull" href="gallery1/HR/01.jpg"></a>
  <div class="imgDesc">Description 01</div>

<a class="imgThumb" href="gallery1/LR/02.jpg"></a>
  <a class="imgFull" href="gallery1/HR/02.jpg"></a>
  <div class="imgDesc">Description 02</div>
...
...
</div>

answered Jan 07 '10 at 22:45

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1776129

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

Asked: Jan 06 '10 at 00:21

Seen: 202 times

Last updated: Jan 21 '10 at 23:25

Related questions

jQuery main site - Matteo Bicocchi