SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 251 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

We can use JBrowser to check
for certain quirks in browsers. In this example, we check that the browser is happy to
deal with popups:
$browser =& JBrowser::getInstance();
if ($browser->hasQuirk('avoid_popup_windows'))
{
// the browser does not like popups
}
Generally, all browsers, except mobile browsers and old browsers, will deal
with popups.
??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ???
Chapter 7
[ 187 ]
This is a list of the different quirks that we can check for using JBrowser:
avoid_popup_windows
break_disposition_filename
break_disposition_header
broken_multipart_form
cache_same_url
cache_ssl_downloads
double_linebreak_textarea
empty_file_input_value
must_cache_forms
no_filename_spaces
no_hidden_overflow_tables
ow_gui_1.3
png_transparency
scroll_tds
scrollbar_in_way
windowed_controls
Both the quirks and features are hard-coded in Joomla!; they are not retrieved from
the browser. This means that JBrowser will not detect popup blockers or other
unexpected settings.


Pages:
239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263
druga wojna światowa Free English grammar and study guid hotel jelenia góra Russian bride counter strike 1.6