форум vBSupport.ru > Камчатка > Бар «У воблочки»
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
artscripts
Эксперт
 
artscripts's Avatar
Default Fajax -- the fake alternative to ajax
0

Кто хорошо владеет английским, переведите пожалуйста документ, если не сложно. Я просто некоторых ньюансов понять не могу.

Quote:

Put these two tags in the head of your html document:
<META http-equiv="Page-Enter" content="blendTrans(Duration=0.2)">
<META http-equiv="Page-Exit" content="blendTrans(Duration=0.2)">

That's it. You've implemented Fajax: the fake alternative to ajax.

The blink that occurs on postback is no longer visible, most of the time.

Okay, it's a dirty nasty trick. Don't flame me, troll me, spam me or DoS me. I feel terrible as i write these words: blendtrans is a Microsoft function. In non-ie browsers it will have no effect.
How does it work?

When a page posts back (for example when you click a button on a form), it normally causes a screen flicker as the page is redrawn. In a lot of cases the screen that is redrawn is very similar to the previous screen, and the flicker is an annoyance, disrupting the user's experience. The Blendtrans function causes the old page to blend smoothly into the new one, rather than flickering.

A lot of the time, this gives an identical effect to an ajax style http request. The page appears to have stood absolutely still as just one part of it is updated.

This simple trick alone gives you about 50% of the benefit of ajax, with a 1% of the effort. Having said that, it's absolutely limited to that one visual benefit, and limited to one browser.

To get the full benefits of ajax, you will of course need to use ajax, not fajax. ;-)

Note that these effects are best not overused.
Заранее спасибо.
Источник, если кому удобней оттуда брать http://www.secretgeek.net/fajax.asp
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Orfo
Знаток
Default
0

это фишка только для ie браузеров, некая функция от мелкомягких.
http://www.xiper.net/manuals/css-ext...end-trans.html

Как я понял речь о плавном переходе (отрисовки) страницы, вместо мерцания, при каком-то действии.
 
 
artscripts
Эксперт
 
artscripts's Avatar
Default
0

Orfo, Хотелось бы не догадок, а перевода.
 
 
cyberdaemon
Эксперт
 
cyberdaemon's Avatar
Default
1

artscripts, ну тут суть вопроса, что работает это всё в ешаке и действует при прорисовке во время обратного запроса к странице (форма, пост запрос). Аффтор пишет, что в обычном случае имеет место прорисовка по новой а следовательно изображение дёргается, данная хрень делает эффект плавного проявления и данное безобразие тупо маскирует.

Внизу приписка - не увлекаться)))

Пы.Сы. в тело страницы вставлять оба тега.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 03:30 PM.


Powered by vBulletin® Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...