0

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>

Edited by andrewb: n/a

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by andrewb
0

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.

Edited by Reverend Jim: Fixed formatting

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.