Hi Iam very begginer
I want to use the script named lavaLamp from here http://www.gmarwaha.com/blog/2007/08/23/lavalamp-for-jquery-lovers/?cp=all )
but I donn't know how I can use it
I try to change the <li class="current"><a href="#">Home</a></li> tag to the <li class="current"><a href="http://google.com">Home</a></li> but it doesnt work
please help me

<h3>With Image</h3>
<ul class="lavaLampWithImage" id="1">
    <li class="current"><a href="http://google.com">Home</a></li>
    <li id="BB"> <a href="#"  title="BB" >BBB</a></li>
    <li><a href="#rr.html">Travel</a></li>
    <li><a href="#">Ride an elephant</a></li>
</ul>

Recommended Answers

All 2 Replies

Well I took i look to your code and i noticed that you have a class called "current". make sure you declare this class on your css sheet and it can go something like this:

.current a {
    background: #000000 url(images/nameOfYourImage.gif) ;
}

Also, i think it is better if you enclose this <ul> inside a <div> tag... let me know if you have any other question.

thank you the problem was solved

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.