Project Detail

Simple Javascript Function  

Simple Javascript Function is project number 146752
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: devaka

Budget: $30-100

Created: 05/21/2007 at 3:56 EDT

Bid Count: 18

Average Bid:
$ 33

05/28/2007 at 3:56 EDT

Project Creator: meetmandeep
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (6 reviews)

Bid On This Project
 

Description

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="http://www.hotmail.com[someValue,AnotherValue]">Some Link </a>

AFTER:

<a href="http://www.hotmail.com onMouseOver="stm(Text['someValue'],Style['AnotherValue'])" onMouseOut="htm()">Some Link </a>

Notice: This time '#' was not added since a valid link was specified (www.hotmail.com)


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 document.getelementbytagname('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.

Messages Posted:2 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

30

0 days

05-21-2007 04:38 EDT

Can help you

help

 

30

1 day

05-21-2007 10:05 EDT

Hi, Please check your PM. Thanks!

help

 

40

1 day

05-21-2007 04:08 EDT

Hello, please check PM

help

 

30

0 days

05-21-2007 06:58 EDT

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

help

 

30

1 day

05-21-2007 04:27 EDT

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

help

 

30

0 days

05-21-2007 06:43 EDT

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

help

 

30

0 days

05-21-2007 06:34 EDT

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

help

 

40

1 day

05-21-2007 10:26 EDT

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

help

 

30

0 days

05-21-2007 11:01 EDT

please check PMB. thanks.

help

 

30

1 day

05-21-2007 10:01 EDT

Hi Please Check the PM Thanks

help

 

40

0 days

05-21-2007 13:29 EDT

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 you would get the full javascript. WHEN you are satisfied - you will finalize escrow.

help

 

30

1 day

05-21-2007 04:06 EDT

(No Feedback Yet)

can be done.. please check pmb

help

 

30

1 day

05-21-2007 06:29 EDT

(No Feedback Yet)

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

help

 

30

0 days

05-21-2007 09:46 EDT

(No Feedback Yet)

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

help

 

30

3 days

05-21-2007 07:40 EDT

(No Feedback Yet)

I can work on this and deliver it within time.

help

 

40

1 day

05-21-2007 07:54 EDT

(No Feedback Yet)

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

help

 

30

1 day

05-21-2007 09:39 EDT

(No Feedback Yet)

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

help

 

50

1 day

05-21-2007 10:47 EDT

(No Feedback Yet)

Please check PM.

help


    Bid on this Project