How to Insert Random Link Into Article with Javascript

linda2013

Новичок
Регистрация
25.10.2012
Сообщения
17
Благодарностей
0
Баллы
0
Hi guys, who can tell me How to Insert Random Link Into Article with Javascript?
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
I do this with c#. Split text by spaces or commas and insert in random place, then pack array to string again.
 
  • Спасибо
Реакции: joma и linda2013

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
  • Спасибо
Реакции: gomoney, joma и linda2013

linda2013

Новичок
Регистрация
25.10.2012
Сообщения
17
Благодарностей
0
Баллы
0
I do this with c#. Split text by spaces or commas and insert in random place, then pack array to string again.
How do i insert link for specify keyword?(ignore case)
And setting the anchor numbers. if i can not found keyword 1, they will seek keyword 2 automaticly, then, the totally anchor number is 3

for example: a b b c c c d d d d e e e e e F f f f f f
keywords: a, g, f
anchor count: 3
execut result:
<a href=#>a</a> b b c c c d d d d e e e e e <a href=#>f</a> f f <a href=#>f</a> f f
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)