I gang

Simple Javascript Function

I need a simple javascript function that will find any text that's between '[' and ']' and replace it with some other text. Basically, within the HTML page, I will have some links (<a> tags) that will look like this:

<a href="[sampleTip,sampleStyle]">Some Link </a>

After javascript function is called, the page source should change to:

<a href="#" onMouseOver="stm(Text['sampleTip'],Style['sampleStyle'])" onMouseOut="htm()">Some Link</a>

Notice that '#' is added. Also, sampleTip and sampleStyle can be any text in HTML source; these values must carry to modified text. onMouseOver and onMouseOut function will always remain same (stm() and htm())

Here's another example (BEFORE):

<a href="[url removed, login to view][someValue,AnotherValue]">Some Link </a>

AFTER:

<a href="[url removed, login to view] onMouseOver="stm(Text['someValue'],Style['AnotherValue'])" onMouseOut="htm()">Some Link </a>

Notice: This time '#' was not added since a valid link was specified ([url removed, login to view])

There can be infinite # of '[sampleTip,sampleStyle]' pairs in the source...the function must modify all of them. This should be a simple loop with [url removed, login to view]('a')

Please ask any questions for clarifications. Bidder will be selected based on prior work and/or demonstration of understanding the problem. Payment will be escrowed and released upon satisfactory functionality of javascript function.

Færdigheder: .NET, Javascript, Web Design

Se mere: javascript function stm, net hotmail.com, loop net, find javascript, 0 hotmail com, javascript onmouseoverstm, onmouseover stm function, onmouseover link javascriptfunction, stm htm javascript, simple questions, simple javascript, simple 15, net javascript, function, simple demonstration, html javascript example, time javascript html, simple function, html infinite, upon javascript, notice, text javascript, payment function, http javascript, javascript infinite

Om arbejdsgiveren:
( 8 bedømmelser ) Corona, United States

Projekt-ID: #146752

Tildelt til:

devaka

Can help you

$30 USD in 0 dage
(22 bedømmelser)
4.8

18 freelancere byder i gennemsnit $33 for dette job

programatphp

Hi, I can do this NOW. Kind regards, Andrew

$30 USD in 0 dage
(6 bedømmelser)
5.5
SudarMuthu

Hi, Please check your PM. Thanks!

$30 USD på 1 dag
(12 bedømmelser)
4.8
maridari

Hello, please check PM

$40 USD på 1 dag
(9 bedømmelser)
4.7
Tomcat253

I would be happy to provide you with the dedication and fortitude your project requires. I can begin immediately and 100% satisfaction is guaranteed.

$30 USD in 0 dage
(21 bedømmelser)
4.4
nadeem2005

I am experienced developer. I have already completed javascript job at GAF.

$30 USD in 0 dage
(6 bedømmelser)
3.9
waswas

please check PMB. thanks.

$30 USD in 0 dage
(3 bedømmelser)
3.7
jesse0202

Understood your requirements very well. Let's get started now.

$30 USD på 1 dag
(8 bedømmelser)
3.1
SONIJI

Hi Please Check the PM Thanks

$30 USD på 1 dag
(2 bedømmelser)
2.9
rrmunjal

Ahh.. Easy job. Can be done easily. Let me know if you are interested to give this job to me. Thank you Rajeev Munjal

$40 USD på 1 dag
(3 bedømmelser)
2.6
zlatev

This is done - payment via escrow! Check PM for screenshot. I would provide you with a screenshot initially, because there is no way to protect javascript code from being exposed to you before payment. AFTER escrow Mere

$40 USD in 0 dage
(1 bedømmelse)
1.0
isystems

Please check PM.

$50 USD på 1 dag
(0 bedømmelser)
0.0
techparrot

can be done.. please check pmb

$30 USD på 1 dag
(0 bedømmelser)
0.0
hardikm

Hello, Please check you PM. Thanks & Regards, Hardik Mehta.

$30 USD på 1 dag
(0 bedømmelser)
0.0
mohamedatefyahoo

i have agood experience in javascript, i work in projects in getafreelancer with javascript.i can finish this task with perfect and good performance

$40 USD på 1 dag
(0 bedømmelser)
0.0
mrkto

I have DONE this project. All works fine. Posted DEMO in PM.

$30 USD in 0 dage
(0 bedømmelser)
0.0
ed7chu

Hi, I can do this project. I will guarantee you with good program.

$30 USD på 1 dag
(0 bedømmelser)
0.0
skolluri

I can work on this and deliver it within time.

$30 USD in 3 dage
(0 bedømmelser)
0.0