Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Customize Ajax Loading Message

Guest
Sep 28, 2009 Sep 28, 2009

I have multiple CFDIVs on my page that load various elements and I'd like to customize the Loading message for each CFDIV.  Is there a way to do this?

772
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 28, 2009 Sep 28, 2009

Sure. You can embed the  tag on a page in the form:

<cfdiv style="etc" bind="url:example.cfm">

You can then either use the style attribute to customize the DIV's content, or customize the style of the page example.cfm. Unless, of course, you mean something else when you say customize.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 28, 2009 Sep 28, 2009

No, actually what I'm trying to customize is the "Loading..." message that appears before the div completes loading.  I'd like to say "XXModule Loading" with the busy animated gif instead of just "Loading..." which appears for every cfdiv until it's loaded.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 29, 2009 Sep 29, 2009
LATEST

I think it has to do with the line

m['loading']='Loading...'

in the script /CFIDE/scripts/ajax/messages/cfmessage.js. Be aware that this is a generic system script for the entire application server. Changing it would likely affect the message displayed in other tags or functions.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources