View Single Post
  #127  
Old 06-07-2007, 06:14 PM
iVox's Avatar
iVox iVox is offline
 
Join Date: May 2007
Location: Falls Church, Virginia
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've followed this thread and wish to add some technical input and insight into what's going on, and how to implement it most easily into vB.

In the HEADINCLUDE template at the bottom or top include this single line:

Code:
 
<meta content="BlendTrans(Duration=0.01)" http-equiv="Page-Exit" />
This is all you need, and it also follows a format all modern browsers can understand including XHTML DTD specifications which all the good templates utilize you can download here. I've successfully tested it on MSIE, Opera, Netscape and Firefox, latest release versions of each as of this writing.

Folks, that's all you need to do, and this is web developer trick that's been around for while, much like GZIP compression has been.

Technically speaking, as the article linked earlier in this thread explained, on page refreshes, i.e. form submissions and other redirects, this command helps the browser reduce screen flicker and can be exploited for fade effects as well. The value I'm using is the best universal value (after many others have tried this or that) and you just set it and forget it.

You only need the exit argument because flicker issues only occur on redirects or refreshes on the page that is displayed following the task. The other argument is necessary only if you're intentionally fading or other cosmetic effects to exploit this ability.

The references people have been making about AJAX and FAJAX is easy enough to explain. AJAX is code use to display dynamic content "in place" so as to avoid screen refresh and might even call scripts that run server side fetching content from a database. To the user, the screen just dynamically changes, i.e. tables moving around, Netflix like informational dialogs displaying on top of content, or Google customized home page where you can drag/drop content as you build the page.

FAJAX is a term developers use to describe the AJAX effect of dynamic content updating, without actually using AJAX code. It's faking it, hence the term FAJAX.

In truth this meta command is one of those many W3C header tags that are not intended to be universally supported but exist for developers of browsers and plugins who want to utilize such features to manipulate the browser's abilities.

Due to the fact it's technically unsupported, you might see this ability lost in future browser implementations and it might even corrupt wireless or other future Internet technologies if the DTD doesn't specify this command. Some programmer out there might not be smart enough to ignore it or exploit it.

But for most of us, it works great and such issues are not a concern. Enjoy.

-jim
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01241 seconds
  • Memory Usage 1,770KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete