Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Another lavaLamp problem
Old 08-15-2009, 10:50 AM Another lavaLamp problem
pealo86's Avatar
Super Spam Talker

Posts: 850
Name: Matt Pealing
Location: England, north west
Trades: 0
I managed to get it working in the end (I never realised there was a .zip file right at the bottom of the page with all the necesarry files in!!)

But now I have a different problem, see here:
http://www.freshbeat.co.uk/concept/m...y.biz/website/

All the animations work and the links to the approriate pages display in the status bar, but clicking them doesn't do anything. Im guessing it's something to do with the z-axis in the css? I could be wrong though, here is the css for the navigation:

Code:
        .lavaLampWithImage {
            position: relative;
            overflow: hidden;
            padding-left:20px;
        }
                .lavaLampWithImage li {
                    float: left;
                    list-style: none;
                }
                    .lavaLampWithImage li.back {
                        background:url(../../image/navHoverRight.png) no-repeat right bottom;
                        width: 15px;
                        z-index: 8;
                        position: absolute;
                    }
                        .lavaLampWithImage li.back .left {
                            background:url(../../image/navHoverLeft.png) no-repeat left bottom;
                            height: 30px;
                            margin-right: 9px; /* 7px is the width of the rounded shape */
                        }
                    .lavaLampWithImage li a {
                        text-decoration: none;
                        color: #FFF;
                        text-align: center;
                        z-index: 10;
                        float: left;
                        position: relative;
                        overflow: hidden;
                        margin: auto 5px;
                        padding:10px 5px 30px;  
                    }
                        .lavaLampWithImage li a:hover, .lavaLampWithImage li a:active, .lavaLampWithImage li a:visited {
                            border: none;
                        }

Thanks to anyone who can help!
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
pealo86 is online now
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
 
Register now for full access!
Old 08-16-2009, 06:39 PM Re: Another lavaLamp problem
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
I'm 99% sure that your problem is with the z-index. If you have any elements with a z-index higher (or above) the links, then the links will deactivate. Or seem to, at any rate. Try to eliminate any unnecessary z-index properties and try to give all the links a similar level.

Also, why did you put this in the JavaScript section and not the CSS section?
__________________
if($stevej == "helpful") { $talkupation += $user_power; }

Last edited by stevej; 08-16-2009 at 06:40 PM..
stevej is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Another lavaLamp problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10442 seconds with 12 queries