[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

cfmenu opens "broken" on initial load

Posted on 2008-02-05
9
Medium Priority
?
478 Views
Last Modified: 2010-04-21
I am using CFMENU from a simple drop down menu.  I am finding that when the page initially loads, the menu has no format.  You can see all the menu items appearing on the page as reguar text.  When the page finishes loading, the menu "snaps" into it's appropriate position and the page pulls together.  

Normally, I would add some width attributes so the compiler would know how to draw the divs.  But it doesn't seem to allow width settings.

Does anyone else have this problem and is there a way to have the menu appear correctly when the page is loading?

Thanks!
0
Comment
Question by:gdemaria
  • 5
  • 4
9 Comments
 
LVL 36

Expert Comment

by:SidFishes
ID: 20837150
have you tested this behaviour in both IE and FF???

It may just be a browser rendering thing... or since it's new it may not be "ready for prime time"

It's an 8 tag so I can't test it here...I'll try tomorrow

0
 
LVL 36

Expert Comment

by:SidFishes
ID: 20846198
I tried the example here at

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Part_3_CFML_Ref_1.html

with no behaviour similar to what you are seeing... either in IE7 or FF2

do you perhaps have a rogue tag somewhere??

0
 
LVL 36

Expert Comment

by:SidFishes
ID: 20846288
also tried it with Safari 3...looks fine
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
LVL 39

Author Comment

by:gdemaria
ID: 20846323
Thanks very much Sid - by rogue tag, you mean a div or something that is not closed?   I did try breaking down my code to see if the problem would go away.  I removed a bunch of code and it didn't change, but I didn't go all the way.. which I will try.

Is there a specific doctype that I need to use or does that not matter here..

Thanks!

0
 
LVL 36

Expert Comment

by:SidFishes
ID: 20846357
yes, that's what I meant...

the doc type in the example is
<html xmlns="http://www.w3.org/1999/xhtml">

however i tried it with no declaration and it didn't seem to matter
0
 
LVL 39

Author Comment

by:gdemaria
ID: 20885885
I haven't been able to find a solution.  

But I am finding that CFMENU is slow to load so am considering switching to a different menu.   Any experience with performance on CFMENU?   Mine is not very big - 4 menu at the top with 3 of them having 4-5 items down and about 5 total have a thrid level of 2-4 items.
0
 
LVL 36

Accepted Solution

by:
SidFishes earned 1500 total points
ID: 20932179
interesting...

I've just been playing with a cfmenu on my remote server and i -do- see this behaviour in IE7. I did not when it was local...perhaps it's a latency related issue (coupled with IE's poor rendering of pages)

I've just begun to see if i want to use this in production so I don't have any performance comments as of yet.
0
 
LVL 39

Author Comment

by:gdemaria
ID: 20933290
interesting that you see it in IE7, I see it in IE6 as well.   The delay also appears with cfwindow.  I see the title of my popup window appear on the page; it is hidden once the page is fully loaded.
0
 
LVL 39

Author Closing Comment

by:gdemaria
ID: 31428396
Thanks for your efforts Sid, I am going to close this question as it's been open for a while.  If you discover anything along your travels, please add a comment.  Thanks!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question