CSS Dropdown Menu

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
toszter
Posts: 18
Joined: Wed 2. Mar 2005, 17:02
Location: Atlanta
Contact:

Post by toszter »

oops :oops: indeed they should...my head hurts. really, I am laughing.
I'll fix it.

~toszter
toszter
Posts: 18
Joined: Wed 2. Mar 2005, 17:02
Location: Atlanta
Contact:

Post by toszter »

Quick note to anyone...I've updated the CSS to prevent a Safari v.1.0 error that doesn't position the submenus correctly. I'll keep working on it to possibly make it compatible ...

If anyone finds any bugs, please let me know so I can fix them. I've already heard a report about submenus not appearing for whatever reason in one version of IE 6. It may have something to do with the mimetype associated with the htc file but there really isn't much to read about on the web outside of old mother Microsoft's documentation.

I'm using IE 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 and it works perfectly.

Thanks!

toszter
brans

Post by brans »

hi toszter couldn't you register at our development forum and open up a new thread there so that we can keep track of the development and so that it will be easier for us to update our mod list ?

I would love to see such an encouraged developer contributing his skills to our community.

--...--/

Notice: Before you will be able to post inside the development area, I will have to add your account to the developers list.

And even if you don't want to, could you please try to make your code inline with the phpwcms guidlines, by using frontend_render folder and name the function different from build_dhtmlmenu to get it to work ?
You can review our guidelinesin our forum.
toszter
Posts: 18
Joined: Wed 2. Mar 2005, 17:02
Location: Atlanta
Contact:

Post by toszter »

brans wrote: And even if you don't want to, could you please try to make your code inline with the phpwcms guidlines, by using frontend_render folder and name the function different from build_dhtmlmenu to get it to work ?
You can review our guidelinesin our forum.
Yes brans, this sounds like a challenge i can definitely do my best to pursue. I wasn't aware of the inline guidelines before. I'm very happy to accept your invitation to contribute to the development forum. Let me know when my account is added to the developers list and it will be my pleasure to post my ongoing developments to the rest of the community.

~toszter
Gnolen
Posts: 158
Joined: Thu 11. Mar 2004, 11:34

Post by Gnolen »

This new dropmenu from toszter-man sounds great to me! Love the fact that it is without js...

But can anyone tell me how safe it is both design- and functionwise in different browsers? I wonder if there is some limitations to use the .htc file? And does anyone have the link to the original?

Cool stuff, if it is safe I am for sure going to use it for the next project!

Thanks!

/ Gnolen
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

I have implemented the Java Version of the Dropdown Menu and it works fine.
But there is one thing I can't find out, there is no HOME 'Button' in the Menu
have I done a mistake somwhere or is this normal - if this is normal, is there a way to show the Home also. I have tried it with {DROPDOWN:0} but this didn't show HOME also.
:?:
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Gnolen
Posts: 158
Joined: Thu 11. Mar 2004, 11:34

Post by Gnolen »

Can anyone with Mac IE and Safari please try these dropdown lists? I am really afraid that they will not work. Or?

Greetings from Gnolen
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hi gnolen, is there live site to see the menue?

i will be able to check with OS X and IE, Safari, Firefox and Opera.

report with screenshots.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Gnolen
Posts: 158
Joined: Thu 11. Mar 2004, 11:34

Post by Gnolen »

Cyrano - would be great if you could check these:

http://www.capital-b.com/

http://www.lbym.org/index.phtml

http://www.alistapart.com/d/horizdropdo ... ontal2.htm

The last one is the original of some of the hacks..

Because we all want it to work for EVERYONE right?!

Thanks!

/Gnolen
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

i will check and reporting.

second one i have tested and posted, but i'll do again.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Gnolen
Posts: 158
Joined: Thu 11. Mar 2004, 11:34

Post by Gnolen »

Great!

Looking forward to it!
toszter
Posts: 18
Joined: Wed 2. Mar 2005, 17:02
Location: Atlanta
Contact:

Post by toszter »

note on browsers:

I've tried my solution out on safari 1.0.x, 1.2.x; Moz 0.9, 1.x.x; IE 6.0.x and so far I've only had a problem in Safari 1.0.x. The reason for the error with Safari 1.0.x has something to do the the CSS and not the htc file.

As long as you use abolute path to the .htc file, WinIE will pick it up just fine. Don't use URL w/ http:// IE has a bug fix that prevents it from loading .htc URLs for security reasons.

.htc files are behavior files often used to do inline modifications of WinIE browser behaviors. Theoretically, in Moz/Safari, we don't even need to use the .htc file to get the dropdown I developed to work properly. Cool right? The .htc file is written in JScript and not JavaScript for those of you who are interested.

WinIE is a charm.

~toszter
Gnolen
Posts: 158
Joined: Thu 11. Mar 2004, 11:34

Post by Gnolen »

Thanks! So what CSS problem is there with Safari 1.0.x? Big issues or just some small design pixel things?
toszter
Posts: 18
Joined: Wed 2. Mar 2005, 17:02
Location: Atlanta
Contact:

Post by toszter »

it's actually really simple. for some reason the submenus appear relative to the container div on my pages and not each top level list div. Even when I get the menus to appear in nearly the right place, safari 1.0.x renders the rollovers poorly. So i set a little touch of CSS to prevent the submenus from appearing in 1.0.x. In my sites, I plan to use a side medu of each individual top level element to further reinforce my navigation design.

Just food for thought..

~toszter
Gnolen
Posts: 158
Joined: Thu 11. Mar 2004, 11:34

Post by Gnolen »

Yeah, this is the shitty part with dhtml menues! It is really to bad because they are really handy and space saving...I haven't come across one menu that works cross-browsers - with mac IE and safari.. :cry:
Post Reply