
04.02.2008, 16:18
|
|
Постоянный
Регистрация: 30.08.2007
Сообщений: 773
Провел на форуме: 3069349
Репутация:
808
|
|
Найти:
Код:
if (!a[i] || tooltip.options.skip_tags.in_array(a[i].tagName.toLowerCase())) continue;
Заменить на:
Код:
if (!a[i] || tooltip.options.skip_tags.in_array(a[i].tagName.toLowerCase()) || tooltip.options.skip_id.in_array(a[i].id)) continue;
Найти:
Код:
skip_tags: ["link", "style"] // теги, у которых не обрабатываем атрибуты alt и title
Заменить на:
Код:
skip_tags: ["link", "style"], // теги, у которых не обрабатываем атрибуты alt и title
skip_id: ["id1", "id2..."] // элементы с id из этого списка обрабатываться не будут
Так, на всякий случай про правила:
Код:
ID and NAME tokens must begin with a letter ([A-Za-z])
and may be followed by any number of letters,
digits ([0-9]), hyphens ("-"), underscores ("_"),
colons (":"), and periods (".").
|
|
|