Spice up your Joomla and Mambo website with 2 great extensions!
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

38849 Posts in 10517 Topics by 27461 Members
Latest Member: Todd
JoomlaWorks Community ForumGeneral CategoryWelcome to the JoomlaWorks Community ForumHOW TO: My suckerfish menu expands behind flash objects or image rotators!
Pages: [1]   Go Down
  Print  
Author Topic: HOW TO: My suckerfish menu expands behind flash objects or image rotators!  (Read 37564 times)
0 Members and 1 Guest are viewing this topic.
Fotis
JoomlaWorks Team / Forum Administrator
Administrator
Hero Member
*****
Offline Offline

Posts: 3966


K2 wins "Joomla! component of 2010" at J & Beyond!


View Profile WWW
« on: June 09, 2007, 05:03:31 AM »

It's really a common template problem...

All suckerfish (or others like Supersucker, Transmenu etc.) dropdown menus should be included inside a container div to bypass such issues, mainly for compatibility with flash banners, javascript rotators which use relative positioning etc. But most template developers forget that.

So, here's what you can do.
You need to add a container div that wraps your menu. Open your template's index.php file and look for the place where the menu is called. It should be something like:

Code:
<div id="nav">***menu code here***</div>

So, add a "wrapper" div, like so:

Code:
<div id="menu-container"><div id="nav">***menu code here***</div></div>

And then in your template's CSS file (template_css.css), add the following code snippet:

Code:
#menu-container {position:relative;z-index:99;}

This should fix any issues.  Wink
« Last Edit: July 07, 2010, 09:49:21 PM by Fotis » Logged

Frontpage Slideshow! The uber slideshow system for Joomla! & other PHP based sites by JoomlaWorks

Thinking of blogging with Joomla? Try SuperBlogger!

BREAKING NEWS! K2 has won the "Joomla! component of 2010" award at J and Beyond 2010, the international Joomla! event
Yoda
Jr. Member
**
Offline Offline

Posts: 25


help you i can


View Profile Email
« Reply #1 on: June 11, 2008, 12:13:18 AM »

Dear All,

just wanted to leave a comment on this issue, i am a newbie but did what i was told to do in regards to the code changes, and YEP it works. thanks for this, i am so much further now. www.australianireland.com
thx

twixyco
Logged

Signatures appear only for members with more than 10 posts
Effezien
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #2 on: December 11, 2008, 05:32:24 PM »

Hi all,  Smiley

I would like to write this in the forum, maybe this will help anyone :

I have a website with Joomla! 1.5.8 & the ja_purity template.
I had the same issue with the menu and i changed the following in the ja-sosdmenu.css file from this template:
Code:
/*--------------------------- VISUAL ----------------------------*/
/* -------- All levels -------- */
#ja-mainnavwrap {
border-top: 1px solid #666666;
background: #444444;
position:relative;z-index:99;
}

Around line 69 you need to add the
Code:
position:relative;z-index:99;
line just before the closure tag }

I checked this with IE7 & Firefox, IE7 had the same issue, so i assume this will fix it aswell in IE6. Can anyone check this in IE6 maybe ?

Greets,
Sven
Logged

Signatures appear only for members with more than 10 posts
Pages: [1]   Go Up
  Print  
 
Jump to: