. .

 

 

.
.

31 / 07 / 2010

Usuarios conectados: 11

Cargando documento...

Buscar:

.

Este Sitio:

Principal

Dreamweaver

Fireworks

JavaScript

CSS

Sonido

Artículos

Links

E-ufemismos

Descargas

Historial

 

Mailing List:

Suscríbete a la lista de correo, No practico spamming y ofrece algunas ventajas.

Pulsa aquí para saber más y suscribirte.

 

Recomendados:

Tecnorama >Dreamweaver Extensions

 

ThickBox Gallery Widget

Versión para imprimir | Translate this page

DW CS4 only. This widget allows you to add a thickbox (modal window) to your images. Even more, it will let you create a whole gallery using the thickbox.

You can see a demo here

Click Here to download the extension

The steps to use it are quite simple: Place your cursor where you want to add your gallery, select "Insert panel->TCN Widgets tab->Thickbox Gallery" and two sample images and all the code needed are added to the document.

After that, it's your job to add more images to the gallery following the html used by the sample images:

<a href="images/thickbox_demo_img1.jpg" class="thickbox" rel="gallery1"><img src="images/thickbox_demo_thumb1.jpg" width="100" height="66"/></a>

There are some things you should take into account:

  1. It's very likely that you won't see the images and the required files won't be added until you save your page. When you save the page, you will prompted to save those files too (and you should say yes).
  2. The linked image can be different from the original one: In the code above, I'm using a thumbnail that will make the original one open inside the thickbox. You can use the same image both for the src and the href attributes if you want to
  3. The rel attribute will make the images that share it behave as a slide and a prev and next links will appear in the thickbox to jump from one pic to another. If you don't want to create it and you want the images to be displayed independently, just remove that attribute.
  4. All the effect works thanks to the thickbox class in the a tag! Don't forget to add it!
  5. The width and height attributes are self explanatory.
  6. No need to say that you can edit the sample images (and remove them from the images folder) to add yours.

Now, the tricks to make your work easier:

  • - To add more images, just copy and paste, but make sure that you also select the a tag wrapping the image
  • - The property inspector is the best way to edit them: Select the image, change its src and link and click the reset button to get its current dimensions.

 

Click Here to download the extension

Comments? 17, so far. Displaying 1 ->5

1.- Very nice extension!! Thank you for sharing!!
One question, I have other div on the same page with z-index, so when images how up are behind those divs.
Is there any way I can set the image gallery on the very top of the page?
Thank you in advance!!

2.- I have a problem, when I look at the pictures in Internet Explorer they allways goes to the top of the hompage, so you have to scroll your way to se them. Can I change this problem in the css?

3.- Widget works great except for a small problem. After clicking on a thumb ThickBox displays a double image of the target image. Here is a screenshot of whats happening: http://jeremyknoll.com/thickbox_problem.png

Tecnorama says: No idea... maybe if We could have a look at the code...

4.- As with everyone else, love this widget, but can't get it to work live. When you say "don't forget tag" in point 4. Are you referring to the class=thickbox? I can get the pop up window to work in "live view" but not when I upload to site.

Tecnorama says: Please make sure that you have uploaded all the required files located in the scripts and css folders. And yes, you must add class="thickbox" to the images to make it work

5.- point 4. All the effect works thanks to the thickbox class in the a tag! Don't forget to add it!

- I am novice in webdesig, using CS4.
- After making a template and inserting Thickbox, pop effect works fine. In teh template I made the thickbox area as a editable region
- After making a new page based on template. No changes in editable region. Pop up effect does not work.
What am I missing?

Tecnorama says: Please check that paths to the required files are correct. It's a common problem with DW templates

« Previous | 1 - 5 | 6 - 10 | 11 - 15 | 16 - 17 | Next »

Add your Comments



Escribe el código de la imagen superior:

:

TECNORAMA es simplemente una página personal. No sirve ni de promoción del autor ni cosas por el estilo.
Todos los códigos, textos y tutoriales son de libre uso mientras se mencione al autor (no es mucho pedir)
Este sitio es compatible con IE6/NS6/Mozilla1.0
Para contactar, puedes enviarme un e-mail a tecnorama@hotmail.com