Rev 5990 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5990 | Rev 6001 | ||
---|---|---|---|
Line 300... | Line 300... | ||
300 | { |
300 | { |
301 | if (link) IF(text_color_index > 0) text_color_index--; //åñëè ïðåäûäóùèé òåã à íå áûë çàêðûò |
301 | if (link) IF(text_color_index > 0) text_color_index--; //åñëè ïðåäûäóùèé òåã à íå áûë çàêðûò |
302 | do{ |
302 | do{ |
303 | if (isattr("href=")) |
303 | if (isattr("href=")) && (!strstr(#val,"javascript:")) |
304 | { |
304 | { |
305 | text_color_index++; |
305 | text_color_index++; |
306 | text_colors[text_color_index] = text_colors[text_color_index-1]; |
306 | text_colors[text_color_index] = text_colors[text_color_index-1]; |
307 | link = 1; |
307 | link = 1; |
308 | text_colors[text_color_index] = link_color_inactive; |
308 | text_colors[text_color_index] = link_color_inactive; |
309 | PageLinks.AddLink(#val, DrawBuf.zoom * stolbec * list.font_w + left1, top1-DrawBuf.zoom); |
309 | PageLinks.AddLink(#val, DrawBuf.zoom * stolbec * list.font_w + left1, top1-DrawBuf.zoom); |
310 | } |
310 | } |