If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Templates / Problem with Flash and the Vertical Multilevel Slideout Category Menu

Problem with Flash and the Vertical Multilevel Slideout Category Menu

Started by ccmall on 7 Mar 2013, 10:18 AM · Views: 3,484

Results 1 to 20 of 26
7 Mar 2013, 10:18 AM
#1
ccmall avatar

ccmall

New Zenner

Join Date:
Feb 2013
Posts:
23
Plugin Contributions:
1

Problem with Flash and the Vertical Multilevel Slideout Category Menu

Guys I got this working nice except for one problem. I have a flash image on my main page. When the user hovers over the catagory and the subcats slid out the ones next to the flash seem to fall behind teh flash and you cant see the subcat. How can I make this ontop of the flash image?

Thanks

7 Mar 2013, 12:41 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

A link to the site would be useful.

7 Mar 2013, 1:00 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

CCMall:

Guys I got this working nice except for one problem. I have a flash image on my main page. When the user hovers over the catagory and the subcats slid out the ones next to the flash seem to fall behind teh flash and you cant see the subcat. How can I make this ontop of the flash image?

Thanks

"Layering" of components is controlled with a "z-index" qualification in your CSS file, against the element in question. The higher the z-index, the higher the layer of that component will be against others that also have a z-index.

But why "flash" ???

Flash is not rendered on all Apple hand-helds, and as the rate of use of hand-helds is growing exponentially, you are denying all visitors using Apple handhelds the experience of your flash components. Flash also tends to hog bandwidth, meaning that your page will take a long time to load on mobile devices - particularly those using G3 or slower technologies.

Flash is "old-fashioned" and if you are using it to "boast" of your creative prowess rather than add a critical component that has a business purpose, then you are just wasting your time.

Most animations are done using JS and Jquery these days... modern designers stopped using flash a long time ago.

20 years a Zencart User

7 Mar 2013, 1:07 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

We recently introduced cross-device testing for all sites we develop and now have load-time benchmarks for this exercise.

If a site fails the test(s), we cull stuff until it passes.

As I said, growth in the use of hand-helds is rising exponentially. In February last year, just 17% of visitors on one of our more popular sites was using a hand-held device to visit the site. In February this year, the number has risen to 42%. We predict that by June this year, more than 50% of visitors to this site will be visiting on mobile devices.

20 years a Zencart User

7 Mar 2013, 6:37 PM
#5
ccmall avatar

ccmall

New Zenner

Join Date:
Feb 2013
Posts:
23
Plugin Contributions:
1

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

The flash was part of the set up I have. I will be changing it shortly but right now I'm more concentrated on the mechanics and loading products. Thanks I'll look at the z-index.

8 Mar 2013, 10:25 AM
#6
ccmall avatar

ccmall

New Zenner

Join Date:
Feb 2013
Posts:
23
Plugin Contributions:
1

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

I added z-index of 100 to the wrapper for the slid out menu, I also added a z-index of -1 to the wrapper holding the flash of the images. Neither moved the slider forward or the flash back.

The link to the page is: https://www.canyonscreekmall.com/store

Any other suggestions would be appreciated. Thanks

8 Mar 2013, 12:02 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

CCMall:

I added z-index of 100 to the wrapper for the slid out menu, I also added a z-index of -1 to the wrapper holding the flash of the images. Neither moved the slider forward or the flash back.

The link to the page is: https://www.canyonscreekmall.com/store

Any other suggestions would be appreciated. Thanks

z-index works only where POSITION is declared, and besides... the element that needs bringing forward is:

.dhtmlgoodies_subMenu

CURRENTLY, this element is declared as:

.dhtmlgoodies_subMenu{
visibility:hidden;
position:absolute;
overflow:hidden;
border:1px solid #000;
background-color:#FAFAFA;
font-family:arial;
text-align:left;

}

SO TRY THIS

.dhtmlgoodies_subMenu{
visibility:hidden;
position:absolute; z-index:1000;
overflow:hidden;
border:1px solid #000;
background-color:#FAFAFA;
font-family:arial;
text-align:left;

}

20 years a Zencart User

8 Mar 2013, 12:07 PM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

I also suspect that the stylesheet driving the menu is incorrectly named.

Yours is full of hyphens and may not be named correctly.

SEE the CSS_read_me.txt in the /classic/css/ folder.

20 years a Zencart User

9 Mar 2013, 11:32 PM
#9
ccmall avatar

ccmall

New Zenner

Join Date:
Feb 2013
Posts:
23
Plugin Contributions:
1

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

I tried what was posted above, still did not work. I also went into stylesheet.css and added position:absolute; z-idex: -1; in the container holding the flash image. All that did was put get rid of the flash container. then changes the -1 to 1. All the products under the flash image fell behind the image.

I did another "inspect element" in chrome. According to that its calling the style sheet properly for the slide out.

has anyone else brought up my site ina browser? Is it doing the same thing on there browser?

https://www.canyonscreekmall.com/store

Thanks

9 Mar 2013, 11:41 PM
#10
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

See my post #7 above.

I did what I suggested there, and it resolves the issue. So I don't know what you are doing, but it cannot be what I have suggested, because my suggestion does exactly what you are asking.

And the image "slider" you are using is actually not "flash"... it is a jquery slider.

20 years a Zencart User

9 Mar 2013, 11:46 PM
#11
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

CCMall:

I tried what was posted above, still did not work. I also went into stylesheet.css and added position:absolute; z-idex: -1; in the container holding the flash image. All that did was put get rid of the flash container. then changes the -1 to 1. All the products under the flash image fell behind the image.

I did another "inspect element" in chrome. According to that its calling the style sheet properly for the slide out.

has anyone else brought up my site ina browser? Is it doing the same thing on there browser?

https://www.canyonscreekmall.com/store

Thanks

Please read what I say... Your menu stylsheet is not even LOADING: Here is your page source header:

**<link rel="stylesheet" type="text/css" href="includes/templates/premium4a/css/styles_gxbanner.css" />

<link rel="stylesheet" type="text/css" href="includes/templates/premium4a/css/stylesheet.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/premium4a/css/stylesheet_reward.css" /> <script type="text/javascript" src="includes/templates/premium4a/jscript/jscript_utils.js"></script> </head>**

You need to give it a valid name, and make sure it is in the css folder of the template you are using.

When you make my Z-INDEX edit, and ensure that the stylesheet loads, it will work.

20 years a Zencart User

9 Mar 2013, 11:52 PM
#12
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

You could probably copy all of the CSS in that menu css file, into your MAIN stylesheet.

SO... COPY ALL OF THIS:

#dhtmlgoodies_menu{
	font-family:arial;	/* Font for main menu items */
	width:150px;	/* Width of main menu */

}
#dhtmlgoodies_menu	li{	/* Main menu <li> */
	list-style-type:none;	/* No bullets */
	margin:0px;	/* No margin - needed for Opera */
}
#dhtmlgoodies_menu ul{
	margin:0px;	/* No <ul> air */
	padding:0px;	/* No <ul> air */
}
#dhtmlgoodies_menu ul li ul{	/* Styling for those who doesn't have javascript enabled */
	padding-left:10px;
}
#dhtmlgoodies_menu	li a{	/* Main menu links */
	text-decoration:none;	/* No underline */
	color:#000;	/* Black text color */

	height:20px;	/* 20 pixel height */
	line-height:20px;	/* 20 pixel height */
	vertical-align:middle;	/* Align text in the middle */
	border:1px solid #000;	/* Black border */
	background-color:#FAFAFA;	/* Light blue background color */
	margin:1px;	/* A little bit of air */
	padding:1px;	/* Air between border and text inside */

	display:block;
}
#dhtmlgoodies_menu	li a:hover,#dhtmlgoodies_menu .activeMainMenuItem{
	color:#FFF;
	background-color:#317082;
}
.dhtmlgoodies_subMenu{
	visibility:hidden;
	position:absolute; z-index=1000;
	overflow:hidden;
	border:1px solid #000;
	background-color:#FAFAFA;
	font-family:arial;
	text-align:left;

}
.dhtmlgoodies_subMenu ul{
	margin:0px;
	padding:0px;
}
.dhtmlgoodies_subMenu ul li{
	list-style-type:none;
	margin:0px;
	padding:1px;	/* 1px of air between submenu border and sub menu item - (the "white" space you see on mouse over )*/
}
.dhtmlgoodies_subMenu ul li a{	/* Sub menu items */
	white-space:nowrap;	/* No line break */
	text-decoration:none;	/* No underline */
	color:#000;	/* Black text color */

	height:16px;	/* 16 pixels height */
	line-height:16px;	/* 16 pixels height */
	padding:1px;	/* 1px of "air" inside */

	display:block;	/* Display as block - you shouldn't change this */
}
.dhtmlgoodies_subMenu ul li a:hover{	/* Sub menu items - mouse over effects */
	color:#FFF;	/* White text */
	background-color:#317082;	/* Blue background */
}

And PASTE it at the BOTTOM of stylesheet.css

MAKE SURE TO RE-NAME "slide-out-menu-new.css" to "slide-out-menu-new.BAK"

20 years a Zencart User

10 Mar 2013, 2:51 AM
#13
ccmall avatar

ccmall

New Zenner

Join Date:
Feb 2013
Posts:
23
Plugin Contributions:
1

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

deleted just read your last, I'll look again

10 Mar 2013, 3:06 AM
#14
ccmall avatar

ccmall

New Zenner

Join Date:
Feb 2013
Posts:
23
Plugin Contributions:
1

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

oops took me then 7 min. Ok I did like you said, C&Ped everything into the stylesheet.css file, saved it. Still doing same thing!! I looked in all 4 browsers installed on my system.

Starting to get stressed over this thing. Boss I am following and doing what you are suggesting. I even cleared my cache to see if that matters. Nope same thing.

10 Mar 2013, 3:13 AM
#15
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

z-index=10000;

You don't use EQUALS SIGNS in CSS...

z-index:10000;

See my post #7 again...

20 years a Zencart User

10 Mar 2013, 3:17 AM
#16
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

And in FIREBUG I am still seeing slide-out-menu-new.css

Take this file OFF the server completely... store it off-site.

20 years a Zencart User

10 Mar 2013, 3:22 AM
#17
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

CCMall:

I also went into stylesheet.css and added position:absolute; z-idex: -1; in the container holding the flash image.[/url]

Thanks

It would help you to go to W3SCHOOLS.COM to do their CSS Tutorials...

20 years a Zencart User

10 Mar 2013, 3:38 AM
#18
ccmall avatar

ccmall

New Zenner

Join Date:
Feb 2013
Posts:
23
Plugin Contributions:
1

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

I'm such a tool. I've been learning more PHP then CSS lately. Urghhhh. LOL Thanks bro it worked.

10 Mar 2013, 3:44 AM
#19
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

CCMall:

... Thanks bro it worked.

Well that's what we've been working towards. I trust you've learned a bit from this and i wish you the best of luck with your site.

One small thing - the site BACKGROUND IMAGE is "tiling" on my wide screen. I have a 1600px wide-screen and you would do well to make some adjustments to the background image behaviour.

Go look at the CSS for THIS SITE, download its BACKGROUND IMAGE and use that as a sizing template for your's.

Then, look at my CSS that governs the POSITION of that BG image:
background: #ffffff url(../images/bg.jpg) no-repeat; background-position: center top; background-attachment: fixed;

20 years a Zencart User

10 Mar 2013, 6:58 PM
#20
ccmall avatar

ccmall

New Zenner

Join Date:
Feb 2013
Posts:
23
Plugin Contributions:
1

Re: Problem with Flash and the Vertical Multilevel Slideout Category Menu

Yea I've discussed that with the guy who built that side of the website. I havn't hada chane to look yet. But in order to get the creek in the right image he had created 2 images from one. I believe he has it to repeat same as tile. So yes I have same issue on my 22" monitor! It is on my list and I will take your suggestions.

And yes I have learned a lot. Thank You