Correct Problem of Lightbox Works with K2.

Cate: Wordpress

Lightbox Js is a brilliant script, which enable the user to load the image without reload the page/open a new page with nice slide effect. And the Lightbox 2.0 with the new feature, Image Sets: group related images and navigate through them with ease, has a small problem to works with WordPress Theme K2. The loading img with id name "loading" in default wouldn't hide after the loading process complete in the wordpress single page. The reason why this happying is there are another element within the page has the id name "loading". Therefor the JS didn't work properly. Thus, to correct this problem just simply change either the id name of the loading img in the Lightbox JS or the id name of the loading text in K2 comment.php.

And for the Lightbox 2 WordPress Plugin by 4MJ user(a plugin which enable the WordPress users to implement the Lightbox on their page easily), i already upload mine, so you can just download it and copy the files into the plugin folder.


Share and Enjoy:

  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Technorati
  • 豆瓣
  • email
  • Haohao
  • StumbleUpon
  • Twitter

Random Posts

advertisement

4 Comments

  1. Sparanoid
    Date: Apr 17 06
    Time: 10:55 pm

    hum... i got it for testing. good work

    but there's still a problem:
    http://xings.be/2006/04/17/theme-xs-mini-preview/

    as you see, there're two images, when i clicked /upload/xs_mini.png, then Lightbox worked, I think it's the first images in that post but it showed "Image 2 of 3",

    then you can click "Prev"... you will see...

  2. Xing
    Date: Apr 17 06
    Time: 11:02 pm

    Haha, read the first line of the post , and you can find there a img link, that it is the 1st img in this img set.

    i wanna change the color of text link, but it hard to find a nice one.

  3. J
    Date: Aug 31 06
    Time: 11:53 pm

    k2 now has a new version 0.9.1,may you have spare to update your plugin?thanks

  4. Xing
    Date: Sep 01 06
    Time: 12:08 am

    It works fine with K2 0.9.1

49

Add Your Comment

emoticons

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter.