Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6717447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:51:12+00:00 2026-05-26T08:51:12+00:00

I have bulk images inside a div element so I need to give some

  • 0

I have bulk images inside a div element so I need to give some nice lava lamp effect to those images which I am unable to get it and followed some examples from the below site:

http://nixbox.com/projects/jquery-lavalamp/demos

Can anyone help me out?

Here is my code:

 $('#showfilelist').append("<div id=" + file.id + "><a href='uploads/" + document.getElementById("currentDirectory").value + "/" + file.name + "' target='_blank' rel='gallery'><img src='uploads/" + document.getElementById("currentDirectory").value + "/" + file.name + "'width='50' height='50' class='images'/></a></div>");

This is my CSS Code for lava effect:

 .images
        {
        border: 1px solid #33CC33;
        background-color:#CCFFCC;
        z-index:1;
        -webkit-border-radius: 3px; 
        -moz-border-radius: 3px;  
        border-radius: 3px;
        box-shadow: 2px 2px 3px #000;
        -webkit-box-shadow: 2px 2px 3px #000;
        -moz-box-shadow: 2px 2px 3px #000;
        }

This is the script:

 $('images').lavaLamp({
            target: 'img',
            autoResize: true
        });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:51:13+00:00Added an answer on May 26, 2026 at 8:51 am

    might it simply be that you missed a dot out of the JQuery class selector?

     $('.images').lavaLamp({
            target: 'img',
            autoResize: true
        });
    

    here is the working version

    http://jsfiddle.net/Bpnca/84/

    the problem was that the style you wanted to apply as the lavalamp effect was applied to all elements when it should have been assigned to the .backLava class

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some bulk images inside DIV tag and If I click an image
I have bulk of html file like this <div style=min-height: 32px; padding: 5px; width:
I have a bulk of data in my app. I need it in case
I have an Android application that generates some HTML which is rendered locally, in
I have a bulk of MS documents and I'm using ubuntu os. I need
I have written some code to do a bulk update of a gridview. In
I have found a suitable way to let user bulk upload images http://www.plupload.com/index.php After
I have 1000 images in a Folder, which has SKU# word in all the
I have bulk of images (1000+); each image consists of several pictures as a
I have batch job which reads data from bulk files, process it and insert

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.