473,587 Members | 2,494 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Suckerfish drop-downs over iframe in FireFox

Hello-

I was amazed at the suckerfish drop-downs from AListApart.com. They
work great except for one thing, if I position the drop-downs over an
iframe element, on mouseover the menus disappear. It works fine in IE,
but not FireFox. I would like to implement these menus, but if I can't
get this to work, I gotta look at something else.

If anyone has some suggestions, I would appreciate it.

Thanks,
ANdrew Maddox

*************** ****HERE IS THE
CODE*********** *************** *************** *
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en">< head><title>the Suckerfish</title>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<style type="text/css">

body {
font-family: arial, helvetica, serif;
font-size: 80%;
background: white url(images/ddbg3.gif) no-repeat 6000px 6000px;
padding: 2em;
margin: 0;
}

#content {
width: 34em;
background-color: #f4ecd9;
padding: 1em 0;
border: 6px double #7d6340;
margin: auto;
voice-family: "\"}\"";
voice-family:inherit;
width: 32em;
}
html>body #content {
width: 32em;
}

a {
text-decoration: none;
}

a:link {
color: #080;
}

a:visited {
color: #790;
}

a:active {
color: red;
}

a:hover {
text-decoration: underline;
}

h1 {
text-align: center;
padding: 0 0 0.25em 0;
margin: 0;
}

ul {
list-style: none;
padding: 0;
margin: 0;
}

#nav a {
font-weight: bold;
color: green;
}

#nav a {
text-decoration: none;
}

#nav li li a {
display: block;
font-weight: normal;
color: #060;
padding: 0.2em 10px;
}

#nav li li a:hover {
padding: 0.2em 5px;
border: 5px solid #7d6340;
border-width: 0 5px;
}
li {
float: left;
position: relative;
width: 10em;
text-align: center;
cursor: default;
background-color: white;
border: 1px solid #7d6340;
border-width: 1px 0;
}

li#first {
border-left-width: 1em;
}

li#last {
border-right-width: 1em;
}

/*
li ul{
display: none;
position: absolute;
top: 100%;
left: 0;

font-weight: normal;
background: url(images/ddbg3.gif) bottom left no-repeat;
padding: 0.5em 0 1em 0;
border-right: solid 1px #7d6340;
}
*/

li ul{
display:none;
position: absolute;
clear: right;
top: 100%;
left: 0;
font-weight: normal;
background: url(images/ddbg3.gif) bottom left no-repeat;
padding: 0.5em 0 1em 0;
border-right: solid 1px #7d6340;
z-index:9;
}

iframe {
position: absolute;
//align: left;
//top: 10px;
//left: 0;
z-index: 1;
}

li>ul {
top: auto;
left: auto;
}

li li {
display: block;
float: none;
background-color: transparent;
border: 0;
}

li:hover ul, li.over ul {
display: block;
}

hr {
display: none;
}

p {
clear: left;
background: url(images/remora.gif) center left no-repeat;
padding: 1em 1em 0 1em;
margin: 0;
}

p.image {
float: right;
font-size: 0.8em;
text-align: center;
color: #7d6340;
padding: 1.25em 1.25em 0.25em 0.25em;
}

p.image img {
display: block;
border: 1px solid #7d6340;
}

</style>

<script type="text/javascript"><!--//--><![CDATA[//><!--

startList = function() {
if (document.all&& document.getEle mentById) {
navRoot = document.getEle mentById("nav") ;
for (i=0; i<navRoot.child Nodes.length; i++) {
node = navRoot.childNo des[i];
if (node.nodeName= ="LI") {
node.onmouseove r=function() {
this.className+ =" over";
}
node.onmouseout =function() {
this.className= this.className. replace(" over", "");
}
}
}
}
}
window.onload=s tartList;

//--><!]]></script></head>
<body>

<div id="content">

<h1><img src="the%20Suck erfish_files/logo2.gif" width="262"
height="103" alt="the Suckerfish"></h1>

<hr>

<ul id="nav" >

<li id="first">
<div><a href="http://www.cnn.com">Ov erview</a></div>
<ul>
<li><a href="http://www.cnn.com">Cl assification</a></li>
<li><a href="http://www.cnn.com">Ph yscial Characteristics </a></li>
<li><a href="http://www.cnn.com">Ha bitat</a></li>
<li><a href="http://www.cnn.com">Li festyle</a></li>
<li><a href="http://www.cnn.com">Ev olution</a></li>
<li><a href="http://www.cnn.com">Di stribution</a></li>
</ul>
</li>

<li>
<div><a href="http://www.cnn.com">Sp ecies</a></div>
<ul>
<li><a href="http://www.cnn.com">Ce ylonese remora</a></li>
<li><a href="http://www.cnn.com">Re mora remora</a></li>
<li><a href="http://www.cnn.com">Sh arksucker</a></li>
<li><a href="http://www.cnn.com">Sl ender remora</a></li>
<li><a href="http://www.cnn.com">Sp earfish remora</a></li>
<li><a href="http://www.cnn.com">Wh itefin sharksucker</a></li>
<li><img src="the%20Suck erfish_files/remora6.gif" width="59"
height="80" alt="The top of a remoras head"></li>
</ul>
</li>

<li id="last">
<div><a href="http://www.cnn.com">Li nks</a></div>
<ul>
<li><a href="http://www.itis.usda.g ov/servlet/SingleRpt/SingleRpt?amp;s earch_topic=TSN &amp;search_val ue=168567">Remo ras
at ITIS</a></li>
<li><a href="http://animaldiversity .ummz.umich.edu/accounts/remora/r._remora.html" >Remora
remora at ADW</a></li>
<li><a href="http://www.oceanlight. com/html/remora_sp.html" >Phillip
Colla photographs</a></li>
<li><img src="the%20Suck erfish_files/remora3.gif" width="100"
height="35" alt="Remora"></li>
<li><a href="http://www.amonline.ne t.au/fishes/fishfacts/fish/enaucrates.htm" >Slender
suckerfish at Australian Museum Online</a></li>
<li><a href="http://www.colzoo.org/animalareas/shores/remora.html">Re mora
at Columbus Zoo</a></li>

</ul>
</li>

</ul>

<hr>

</div>
<iframe src="contents.h tm" frameborder=0></iframe>

</body></html>

*************** *************** *************** *************** ***************
Jul 20 '05 #1
1 4666
Martial Spirit wrote:
Hello-

I was amazed at the suckerfish drop-downs from AListApart.com. They
work great except for one thing, if I position the drop-downs over an
iframe element, on mouseover the menus disappear. It works fine in IE,
but not FireFox. I would like to implement these menus, but if I can't
get this to work, I gotta look at something else.

If anyone has some suggestions, I would appreciate it.


Validate your markup. For example, IFRAME is not allowed in XHTML
Strict, and there's a whole bunch of other problems.

And are you sure it's a CSS problem? After all, the drop-down is done
with Javascript, not CSS.
Matthias

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
5993
by: Richard | last post by:
The style sheet shown below is from the suckerfish vertical menu. http://www.htmldog.com/articles/suckerfish/dropdowns/example/vertical.html I've added in a few minor changes to color code the levels. I changed the width of the first level to 8em and get an unwanted space between that and the 2nd level. I'd like their to be no gap between the levels when I change the widths. What's to change to do this? Also, I do not understand the...
23
2798
by: timmy | last post by:
Anyone knows if the htmldog suckerfish menu can be done in a more fluid way: http://www.htmldog.com/articles/suckerfish/dropdowns/ Or more precisely, the 2-level menu: http://www.htmldog.com/articles/suckerfish/dropdowns/example/bones2.html In fluid I mean: 1) The width of each drop menu to equal the widest text of any item contained within the visible drop menu.
2
12605
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will select any skill in 1st drop down list then i'll select % of this skill in the 2nd list box , based on the percentage i've selected in the 2nd list box it has to display 2 sets of drop down list boxes at run time one for selecting skill and
3
1700
by: j0nharris | last post by:
I'm using the suckerfish vertical menu, & the positioning is working like a charm in every browser except IE6 -- go figure! The menu is sitting on its own page for now on http://www.radford.edu/jcharris/nav2.html Thanks for any input. -jon
5
3963
by: z | last post by:
I'm using a horizontal CSS-based dropdown menu based on this code: http://www.weblens.org/templates/sample_menu.html Is there a relatively easy way to add a slight delay to the menu with JavaScript, so that when you take the mouse off the sub-menus don't disappear right away?
1
1836
by: boien | last post by:
I have 4 buttons from images i created via Photoshop, now i want to get a drop down kind of popout menu when you go to them just like the ones in http://geeksontime.com/ on the left hand column, rollover "who we are" and youll see the menu and waht im talking about. My first question is. whats teh best way to go about creating the dropdown/popout menu with links, im told suckerfish menu is the best way so far but im open to any suggestions,...
4
9282
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me if it works, and if it does not, tell me why it does not work. Thanks.
1
2216
by: =?iso-8859-1?q?Jean-S=E9bastien?= | last post by:
i'm using suckerfish dropdowns, for my menus. it looks nice. but i have a problem: when i get a div with overflow: hidden property after it, the menu is overdrawed by this div.
0
1983
by: Aljosa Mohorovic | last post by:
i have a problem with suckerfish dropdowns (a variation) in ie6, flickering/flashing/... bug? don't know how to call it but you can see it at http://obi-wan.inside-server.com/~crash/hr original dd menus worked but when i added background images and some other stuff in css "flickering" starts. i tried to find what's causing this but with no luck. maybe some combination of css properties? any fix/hack for this problem?
1
2718
by: phpmagesh | last post by:
Can any one guide me how to create sucker fish menu step by step. i seen in Son of Suckerfish Dropdowns | HTML Dog but i cant able to do where to start and where to write which code. can any one help me to succeed in this task please, regards, magesh
0
7854
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8219
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7978
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
5722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5395
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3845
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1192
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.