Help - Search - Members - Calendar
Full Version: cFrame is not defined... gzip compression...
xFX JumpStart Public Forums > DHTML Menu Builder > Generic Problems > JavaScript Errors
GTC
Hi

I programmed my menu and since it was about 42K I wanted to compress it in realtime online with gzip. (With Coldfusion and cfx_gzip / gzippage)

Everything worked perfect, the Script has only 9K during transmit.

But IE6 seems to have a little problem. Some PC's at Office read everything fine and others popup the error "cFrame is not Defined" when I mouseover.

It seems that it's a timing problem, because on my workstation the problem occures only 1 out of 50 reloads and if I use a Proxy (The Proxomitron) I never recieved the error.
or it's also possible that IE forgets to read the .js file !?!?!


PS: the .js has all http-headers helping to prevent caching.
like pragma:no-cache, expires=0, cache-control:no-cache etc.
Since during the tests I found that caching was not 100% correct.

Currently I don't have the compressed version online but if somebody needs it I create a compressed version on the server.

The Homepage is http://www.suche.ch

I hope someone can help me because DHTML Menu is nice, but with gzip compression it's much better.

Bye
GTC
xfx
The cFrame error has always the same cause: the browser was not able to load the .js files.

----

Perhaps you could create a test page on your web site using your compression technique so I "play with it"...
GTC
Hello Xavier

Since it seems to be an IE bug, I added to to link a random parameter (iemenu.js?2323) which in my version is server generated, but I think a javascript generated rnd # is also possible.

This fixed the problem, necause IE now reloads the script.

Thank you for your help...
Bye
GTC
xfx
Great idea!
adwhite
Hi,

Could you explain exactly what you've done here because I still have the same problem.

Regards

Andy
xfx
Andy, is the question for me or GTC?

And if it’s for me, what exactly is your problem?
MichelMeehan
HI -

I run an intranet site using the original hiermenus script and was curious to know how well this menu builder works on a coldfusion site - any comments?  I plan on purchasing this software to upgrade my dropdowns.

Thanks
Michle
GTC
Hi

DHTML Menu Builder works very well with ColdFusion and also with the GZIPPage Tag.

Bye
GTC
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.