Michael-
Good thought, but if you move the js call to the head, the ad no
longer works... as in:
http://sandbox.siriusinnovations.com/cfmenu_browsertest/index2.cfm
Still tying different things myself.
On Dec 3, 2007, at 11:54 PM, Michael Dinowitz wrote:
Ah, I think I've got it. Place the
That's because the ad call is before the ad definition block. What I meant
was to have both the ad definition block and the call outside the head, but
I see that's not a worry. On HoF the problem wasn't with the ads but with
the analytics script which was moved to the bottom of the page.
I still
Like I said... I have a Spry Menu working great and would be ok to
keep using it. But, I was hoping to take advantage of the new CF8
tags to make my life easier, but it seems many of the AJAX tags don't
play well with the Google ads and other code that might find itself on
a typical web
Ah, I think I've got it. Place the Google ad code (the js call) inside the
body of the doc right where the ad will be shown. If its in the head it may
be interfering with the external calls for js libraries. Speculation, but
that's the only way that the two different apps would really interact.
Has anybody noticed and/or come up with a solution for the slow
rendering speed of certain CF Ajax tags such as CFMENU and CFLAYOUT
(tabs in particular)?
I have a site utilizing using the Spry Menus and Spry Tabs that come
with Dreamweaver. Works like a charm and is quick to load. I
Phil,
Could you put up a small demo that shows this behavior? That will help
in troubleshooting it.
Rey...
Philip Hayes wrote:
Has anybody noticed and/or come up with a solution for the slow
rendering speed of certain CF Ajax tags such as CFMENU and CFLAYOUT
(tabs in particular)?
I
When some of the ColdFusion Ajax tags are used, a LOT of libraries are
loaded. If you copy the ajax directory from
C:\ColdFusion8\wwwroot\CFIDE\scripts to a new location you can then use
cfajaximport to include the new scripts. You'll have to pare down some based
on what your doing but you can
Great tip Michael. I'll need to add that to my CF Cookbook folder.
Rey..
Michael Dinowitz wrote:
When some of the ColdFusion Ajax tags are used, a LOT of libraries are
loaded. If you copy the ajax directory from
C:\ColdFusion8\wwwroot\CFIDE\scripts to a new location you can then use
Any time. These are the files I used last when working with cflayout=border.
Most of them are probably needed for any of the more advanced
ColdFusion/Ajax operations:
C:\ColdFusion8\wwwroot\CFIDE\thinscripts8\ajax\ext\ext-core.js
Thanks. I'll post a demo site tonight. Stay tuned.
I read somewhere on the internet about compressing the Javascript
libraries. What do you think of that?
On Dec 2, 2007, at 1:02 PM, Michael Dinowitz wrote:
Any time. These are the files I used last when working with
cflayout=border.
This has come up in the past and it's a great idea but the libraries that
come with CF aren't compressed by default. As standard compression is just
gzip, it should be no problem to zip them up and see how it goes. I've been
meaning to try it out but have always had other things to do. I'll see if
Hi Phil,
Compressing your libraries won't help in the actual rendering of things
such as CFLAYOUT or CFMENU. It's main purpose is to assist in speeding
up transfer of the libraries across the wire.
So, you need to determine if you're having a performance issue due to
Internet latency, file
I'd say the issue is transfer over rendering as just about ALL of the ajax
libraries are transfered, even the ones that are not needed. With so many
files being transfered, if the important ones show up 'later' than the
less-important ones
On Dec 2, 2007 5:10 PM, Rey Bango [EMAIL PROTECTED]
Well... I may have found part of the problem. Google Ads.Here is
a URL to stripped down page with nothing but CFMENU and a google
ad.It shows the delay in Firefox and Safari so far. The site that
I was working on has Google ads on it so I may have found at least
part of the
I was doing a firebug analysis when the page gave me a 404 but what I saw
before hand was 230k of files, 10k of which was Google. The ColdFusion Ajax
js files took almost all of the rest. The time-to-retrieve showed the Google
files to be less than 100ms while at least one of the js files were
Strange... Don't know why it went down...
Should be back up now.
Do you see the flash of the un-rendered menu items?
I also stripped out the css.
On Dec 2, 2007, at 7:17 PM, Michael Dinowitz wrote:
I was doing a firebug analysis when the page gave me a 404 but what I
saw
before hand was
Here is the original template...
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
http://www.w3.org/TR/html4/strict.dtd
html
head
meta http-equiv=Content-Type content=text/html; charset=UTF-8
titleUntitled Document/title
/head
body
script type=text/javascript!--
google_ad_client =
Yes, I saw the un-rendered menu before the real menu-bar loads.
Greg
On Dec 2, 2007 7:52 PM, Philip Hayes [EMAIL PROTECTED]
wrote:
Strange... Don't know why it went down...
Should be back up now.
Do you see the flash of the un-rendered menu items?
I also stripped out the css.
On Dec 2,
Yes, I saw the un-rendered menu before the real menu-bar loads.
Me too.
I don't know about using CFMENU, but I have my own menu designed far
before CFMENU existed
and I have the whole DIV embeding the menu with style invisible.
The style is set to visible only when the whole menu is set up.
--
19 matches
Mail list logo