Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:05
a few screwies, or bugs?
Poster: Jason
Dated: Thursday October 9 2003 - 4:07:34 BST
Finally sprung for the license today when I happened by looking for an upgrade, 3.x was a little creaky. I saw the converter for menu_array and wrongly assumed that would be the whole of conversion
After spending several hours chasing around the new site looking for answers I've fixed a few problems and others remain. Also figured out this may not be a stable/final release? Ah well, soon I hope.
For that reason I didn't know if this post should go under bug reports or help. I choose HELP! cuz I need it
Kept a running list of problems if anyone can help me out I'd appreciate it:
list-o-buggeries
that's the only page running 5, the rest will be 3 if you need to compare anything.
Thanks a ton for the help
Poster: Hergio
Dated: Thursday October 9 2003 - 5:03:12 BST
Ok here are something things.....
Quote:
am getting a javascript error, line 9 char 1 (body tag) object expected
I see no errors whatsoever on IE6/WinXP, what browser and OS are you using?Quote:
any page with this menu on it hangs completely in Opera - status bar will show between 7k and 16k loaded then it stops, white screen and never moves beyond that point
I loaded it in Opera 7 on my computer and it loaded fine...same question as above.Quote:
Having trouble getting the styling to match the version 3 I had up, in particular the white borders around the subs. Click any link in the menu above to go to a page with the old menu in action to see difference
In your style called dropStyle you have a property called bordercolor set to ffffff, this is setting the border around the entire sub to be white. Comment out the line along with the borderstyle and borderwidth properties to remove it. Also you have borderwidth set in each menu definition, this also needs to be removed to get rid of the border around the menu. Quote:
The IE specific filter effects did not translate and I'm not having much luck finding documentation on them for v5
Menu styles have an overfilter and and outfilter which can be set to any of the filters that we used in v3. You have effect set to a filter at the top of your file. Set overfilter = effect in your dropStyle and that should do it.
Hope this helps solve some of your problems. Let us know if you need ANY more help with the Milonic DHTML Menu!
Poster: kevin3442
Dated: Thursday October 9 2003 - 7:16:39 BST
I also can view the test page just fine with both Opera 6.05 and Opera 7.20, in Win2k.
Hmmm.... I kinda like those white borders around the submenus.
Kevin
Poster: fredlongworthhighschool
Dated: Thursday October 9 2003 - 14:24:22 BST
I can see it ok too in IE6 and Avant.
I personally like the shaded menus. Good stuff.
Poster: Hergio
Dated: Thursday October 9 2003 - 14:52:02 BST
Egh thats what posting in the early am can do to ya...I wanted to say that too by the way and I forgot. Very nice and sharp looking site. The menus look very nice, crisp and clean. Nice job on your site. If I was interested in purchasing machined spindles and the like, I would definetly come to you.
Poster: John
Dated: Thursday October 9 2003 - 15:41:00 BST
Ditto all the gang above. No problems at all (or errors) in IE6, NS7.1, or Opera7.11 under XP Pro.
Exactly what are you running there?
Poster: Jason
Dated: Thursday October 9 2003 - 16:30:05 BST
odd stuff to say the least. I was at my office when I posted that, on a WAMP test server. I uploaded it to the liveservertestbed and no js error this morning from home.
Downloaded it to my test server here at home, also WAMP and no js error either.
And the fitful opera was at the office as well, 7.10 here is rendering the page as expected.
<--- rarely get to use that guy =)
I'll hack around on the other issues today and rest easier with this active community backin me, thanks a ton everybody, kind words and help are always appreciated.
oh yeah, I like the white border as well, if I could match border-top with the dark blue line I'd use it as is. Perhaps I'll drop the subs 1 pixel and see if that's acceptable.
thanks
Poster: Jason
Dated: Thursday October 9 2003 - 17:44:06 BST
I've got the new one to an acceptable state, THANKS very much to everyone who chimed in.
The IE filters seem to tax the processor a bit. Anyone got info on which effects suck what amount of resources, or a comparisoon type look? They're barely acceptable on a 500mhz Celeron but a 2+ghz P4 does fine if nothing's competing for processor at the time. I sure love the look but dunno if the performance issue is worth it in the end.
Should I put the open issues in the bug forum or is it still all about me?
thanks again
Poster: John
Dated: Thursday October 9 2003 - 18:08:08 BST
Well, I hate to pick on the new guy, but - with all these folks having no problems I don't see the menu being the culprit.
Poster: Jason
Dated: Thursday October 9 2003 - 18:16:59 BST
well I love to pick on the old hands - got solution for the image size and 1px border issues?
=D
Poster: Hergio
Dated: Friday October 10 2003 - 1:46:42 BST
I dont really know the specifics on what takes up more resources, but having any 'moving' effects like the one you have can appear to work slower on lesser power machines. Try just using alpha or fade or shadow. Those are most common and even if the CPU was alittle slow, you wouldn't necessarily notice it as much as you would as a slowly unfolding menu.
Ahh, mind your manners! I dont understand your borde problem. Just remove the border attributes. What do you mean by scruntched up js?
Poster: Jason
Dated: Friday October 10 2003 - 3:44:36 BST
mind my manners?! pft!
*pokes Dave and John with a sharp stick... mmm, soft*
Seriously, apologies if I offended, it was never my intent.
Yes I did finally see the border bit, it was down in each individual menu chunk, in the end I liked the white after dropping them all a pixel.
By the scrunched code I mean the other menu js files, besides the menu_data.js, the entire thing is scrunched into one line making it difficult, near impossible, to read. But the point is moot with me finding of the real cuplrit in the menu_data file, thanks for the pointer.
The only puzzler left of my original post is the image size problem but since it's solved, cross browser too, by just removing the width spec, I'm ok with that. I'm still all ears though.
Good stuff is this menu. Good help too, thanks!
Poster: John
Dated: Friday October 10 2003 - 6:54:44 BST
Jason wrote:
By the scrunched code I mean the other menu js files, besides the menu_data.js, the entire thing is scrunched into one line making it difficult, near impossible, to read. But the point is moot with me finding of the real cuplrit in the menu_data file, thanks for the pointer.
Just to be picky (again), the code in those 3 files is not meant to be read, and especially not changed - ergo, scrunched. The only file that needs tinkering is the data file - period.
Messing with any of the main code means it's not going to work, AND all support stops, licensed or not.
Jason wrote:
Good stuff is this menu. Good help too, thanks!
Kind words most appreciated! The real key to the Milonic menu is, of course, Andy.
Poster: kevin3442
Dated: Friday October 10 2003 - 7:28:51 BST
Jason wrote:
mind my manners?! pft!
*pokes Dave and John with a sharp stick... mmm, soft*
*pokes Dave and John with a sharp stick... mmm, soft*
ROTFLMAO
I'm not sure Dave's "manners" comment was directed at you... I got the impression he was "picking on himself" about the "slowly unfolding menus" observation. But what the heck do I know? I think I'll just butt out now... (we need an emoticon for butting out )
Kevin
Poster: Hergio
Dated: Friday October 10 2003 - 15:04:21 BST
Nah you didnt offend. If we get ticked up here, we'll whip out the 'ol face. hehe Man I love using that...makes me feel tough even though I am on the other side of a computer, grr!
Glad you got most of the problems nipped. Not sure why thats the way it is on the image size stuff, but if it works it works! Enjoy!
Poster: fredlongworthhighschool
Dated: Friday October 10 2003 - 16:19:23 BST
jgillett wrote:
Just to be picky (again), the code in those 3 files is not meant to be read, and especially not changed - ergo, scrunched. The only file that needs tinkering is the data file - period.
... except to add in your licence number[/quote]
Poster: John
Dated: Friday October 10 2003 - 21:33:56 BST
fredlongworthhighschool wrote:
jgillett wrote:
Just to be picky (again), the code in those 3 files is not meant to be read, and especially not changed - ergo, scrunched. The only file that needs tinkering is the data file - period.
... except to add in your licence number
OK, I'll be picky (again) - I did say the code was not meant to be changed, no mention about the comments...
Poster: Jason
Dated: Friday October 10 2003 - 23:23:58 BST
Ahoy! look what I found when I formatted the javascript for easier reading:
Code:
i,i
. iMW8Z8BM8
7:::::,,MWWW82XXXXXZ;
;iMBBBBBBZ2XXXXXXXXXX2S.ri
aW2XXXXXXXXXXXXXXX28WWBBB0S.
iZXXXXXXXXXXXXXXXZ __at__ i ZX2 __at__
0a2XXXXXXXXXXXXXaBM BXXZ20
W2XXXZWM __at__ 82XXX20M WXXSZM
WWZXX2BM iMMMMM2 WXXX2W
XaXXXZ WXXX2W
;M8SXXXBi WXXX2W
WXXXXXBi iMMMM2 MMMMM WXXSZM
WXXXXXBi WXXZXZ
,MaSXX2 __at__ 7 S80B; ZBM. ,M2X8
i22SZMi, .B r. ;.r rW8B2
SaZ:i iSSi SiX :.M2
ZaB 8M M M
ZaW rWZZX80 22WX20 M
X2W WZZaa __at__ MMMMWZ2a0ZM M __at__
iMZS0 MZ0BBaSX aS8BBM BZBM
.MSXa888SW MMMMMMMMMMM :W0MB020
iM0aSXXXXM r8SSSSS __at__
XaZXXXXB iaXXSa0W:
__at__ 2SXXaW0 BMMMMMa M8SS2B2X
Z8BZaSSZ8ZSXXXSZW __at__ 0aX2882
,S;a02XXXXXXXXXXXXSa __at__ ;,
iW82XXXXXXXXXaWXX
.:MWWWWWWWW __at__ __at__
. iMW8Z8BM8
7:::::,,MWWW82XXXXXZ;
;iMBBBBBBZ2XXXXXXXXXX2S.ri
aW2XXXXXXXXXXXXXXX28WWBBB0S.
iZXXXXXXXXXXXXXXXZ __at__ i ZX2 __at__
0a2XXXXXXXXXXXXXaBM BXXZ20
W2XXXZWM __at__ 82XXX20M WXXSZM
WWZXX2BM iMMMMM2 WXXX2W
XaXXXZ WXXX2W
;M8SXXXBi WXXX2W
WXXXXXBi iMMMM2 MMMMM WXXSZM
WXXXXXBi WXXZXZ
,MaSXX2 __at__ 7 S80B; ZBM. ,M2X8
i22SZMi, .B r. ;.r rW8B2
SaZ:i iSSi SiX :.M2
ZaB 8M M M
ZaW rWZZX80 22WX20 M
X2W WZZaa __at__ MMMMWZ2a0ZM M __at__
iMZS0 MZ0BBaSX aS8BBM BZBM
.MSXa888SW MMMMMMMMMMM :W0MB020
iM0aSXXXXM r8SSSSS __at__
XaZXXXXB iaXXSa0W:
__at__ 2SXXaW0 BMMMMMa M8SS2B2X
Z8BZaSSZ8ZSXXXSZW __at__ 0aX2882
,S;a02XXXXXXXXXXXXSa __at__ ;,
iW82XXXXXXXXXaWXX
.:MWWWWWWWW __at__ __at__
No wonder you're so picky
Poster: Andy
Dated: Saturday October 11 2003 - 0:04:10 BST
Arh - Shiver me timbers shipmates.
Somebody's found the kernel embedded in the source code
Better batten down the hatchet
Poster: Hergio
Dated: Tuesday October 14 2003 - 3:36:08 BST
Man I HATE those guys that reverse engineer things!!!
Poster: John
Dated: Tuesday October 14 2003 - 4:58:08 BST
Oh, brother - Andy, I thought you told me that Easter egg was buried deep in there...
Actually, I'm getting to look more like Humpty Dumpty lately...
Poster: Andy
Dated: Tuesday October 14 2003 - 10:47:28 BST
Yeah it's in the license agreement too.
Quote:
Licensee may not: (i) decompile, disassemble, reverse engineer, or otherwise attempt to derive the source code for the Product
Anyone found in breach will be forced to walk the plank where there are several ill tempered mutated sea bass swimming there.
I think this might be Milonic's aggressive approach to license dodgers from now on.
-- Andy
Poster: John
Dated: Tuesday October 14 2003 - 14:42:57 BST
Andy wrote:
Anyone found in breach will be forced to walk the plank where there are several ill tempered mutated sea bass swimming there.
Sounds like they've been hanging around the pub too much...
Poster: Maz
Dated: Tuesday October 14 2003 - 15:22:32 BST
We can get a good Fullers ESB on the west coast now...
Its Party time for Silicon Valley with Gov. Terminater running the show!
Cigar?
maz
Poster: Jason
Dated: Thursday October 30 2003 - 21:44:22 GMT
heartfelt pleasantries:
bah, apologies for dropping out of my own thread, thought it was dead. The email notifications stopped coming. I was getting 2 notices each time someone posted to this thread, now none =[
Anyhoo, Andy: good stuff and thanks a ton! Great menu system
Und you mods, thanks for the attentiveness, this board looks to be pretty daggum busy, I'm sure your job is thankless. Well done.
more incompetent puzzling:
I've made me offbgcolor transparent:
Code:
with(dropstyle=new mm_style()){
offcolor="#333366";
offbgcolor="transparent";
offcolor="#333366";
offbgcolor="transparent";
so that the specified bgimage would show:
Code:
with(milonic=new menuname("products")){
itemwidth=120;
style=dropstyle;
alignment="left";
top="104";
bgimage="/images/layout/dropstyle_bg.jpg";
itemwidth=120;
style=dropstyle;
alignment="left";
top="104";
bgimage="/images/layout/dropstyle_bg.jpg";
problem is some users with weak machines are reporting that the bgimage isn't showing up and the text gets muddled with that under it because of the transparent background. No problem I think, and I slap a bgcolor in thinkin it would give it something to fall back on:
Code:
with(dropstyle=new mm_style()){
offcolor="#333366";
offbgcolor="#cfceed";
offcolor="#333366";
offbgcolor="#cfceed";
but that shows the bgcolor over the bgimage. I was thinking normal css would apply like so:
background : color url();
Can I achieve my intent by doing this some other way? Is the documentation coming along yet so I may find out the answers to such questions myself (~goes to check after the fact~)?
=D thanks
Poster: Hergio
Dated: Sunday November 2 2003 - 18:24:25 GMT
Maybe we should also investigate why the bgimages aren't coming up for the users you mentioned. I checked the WWW link you have, I didnt see the menu anywhere, do you have a URL to it? Also what types of computers and browsers were those people using who had touble viewing the background images?
Poster: Jason
Dated: Sunday November 2 2003 - 18:37:13 GMT
the menu is still here: http://new.centerline-inc.com/menufiveoh.html
I think the reason they weren't seeing the bgimage was a processor issue, they'd see it everntually, seriously a 5 second wait or somesuch. This was a guy on Win XP and IE6+.
Frankly tho, this is one of the reasons I upgraded the menu to 5, I have a 3.06GHz ht P4 with 2GB ram and DSL and was having the same problem with the older version, delay on the bgimage showing up in the submenus.
to answer the question of computers and browsers directly though, Win XP, IE6, all with decent to wicked good processors and RAM, lowest being 1GHz I'd guess (fairly new Dell laptop)
Poster: Hergio
Dated: Sunday November 2 2003 - 20:47:18 GMT
Then it sounds more like a bandwidth network issue. Am I wrong in guessing these people are probably on telephone modems? The menu code downloads very fast but the image takes much longer and thats why it appears later, its no the computer but the connection to the internet. Looking at your background image, this can be helped some. Your background image is a gradient left to right, pretty staightforward. Its 219 x 20, and doesn't change at all from top to bottom, so this image does not need to be 20 px high, you should change your image to 219 x 1 and it will repeat and look exactly as it does now. You could cut the image size down considerably. See if that helps.
Poster: Jason
Dated: Sunday November 2 2003 - 20:57:37 GMT
the bgimage is 20px high because it can sometimes take a browser longer to draw the page with a bunch of 1px images than with 20px images (or 32 or 72 or whatever). At 560 bytes I think it's hardly an issue either way. Especially since we're talking about T1 or better speeds. No dialers.
Any idea how to get the bgimage to lay over the top of the bgcolor instead of the other way around if I specify both? That would be a nice workaround to the issue. If not then I'll begrufginly go just bgcolor.
Thank Hergio
Poster: Hergio
Dated: Monday November 3 2003 - 16:03:44 GMT
Changing stuff like that requires Milonic to do it. I am not sure of the precedence logic that goes into that.
How about you try removing the over and out filters on the menus. Yes, they look very nice, but maybe that is causing the slowdown. The effect of a filter is entirely computed and done by the browser so if it seems to be a computer related issue, maybe removing the filters may help. Try it out, it might change things. You could also try a different, less cpu-intensive filter. Just throwing ideas your way....
Poster: Jason
Dated: Monday November 3 2003 - 16:11:57 GMT
yes, you may be right on the filters, I've suspected the same for a long time, shame about that too. Need to run some tests I guess. Thanks for jogging my memory on it
milonic v6 : submenu cross browser animations
Poster: Hergio
Dated: Monday November 3 2003 - 17:15:56 GMT
Ehh alot of the filters are proprietary Microsoft filters that apply nicely to the menu but only on IE. If you go to the MSDN site and search on filters (or even on these forums) you will see the list of them that are available. But its microsoft giving us most of those nice effects. To make them cross-browser compatible would take a lot of javascript and DHTML making large downloads and slow animations....or for microsoft/W3C to make them a standard across all browsers. Someday the world will be perfect....ehh, maybe not.