I gang

Display html paragraph depending on URL parameter value

This should be easy to do and a standard solution or free script might be used. What I need consists of two functions:

1) Depending on the parameter value of the URL which a page is called up with (example: [url removed, login to view]) I want to show a paragraph of text to the visitor, along with the standard content (no popup, it must become part of the regular webpage).

2) If a visitor links to my page, I don't want him to include his own URL Parameter values in the link. Therefore some script or function on the webpage should make it possible to hide the parameter part of the URL "/?..." in the visitors address bar and just show the main part of the URL ([url removed, login to view]).

Details to 1):

This should be solved with a script which permits me to save the paragraphs of text which I want to show in a separate location (either inside the script or in a text file on the server) so that robots don't read it. The script should give me the option to define a few parameter values and the according paragraphs to be displayed. For example:

If parameter1=value1 then [.....]

If parameter1=value2 then [.....]

It should be possible to define the paragraphs as HTML text so that I can also vary the format. In case the URL does not have a parameter or the user has JavaScript deactivated the webpage should be shown unchanged, as if there was no script in it at all.

Details to 2):

I don't know how this could technically be solved. I could image that html, php or javascript has some function to delete the parameter part of the URL right after the visitor arrives. This would be the easiest way but if it is not possible then I can image using a forward page:

- The link including the parameter ([url removed, login to view]) actually goes

to a temporary page where a cookie with parameter1=value1 is set and the visitor is immediately forwarded to [url removed, login to view], without a delay. On [url removed, login to view] a javascript checks the cookie value and displays the paragraph of text according to 1). The forward page/cookie solution sounds a little complicated and I would be happy if there is an easier solution.

Function 1) has priority and I am looking for a solution which can be realized with a low budget. If you can realize both functions with a low budget, that would be even better. The webpages were I want to use this are php pages.

Important: If you are seriously interested in this project please describe briefly how you want to realize it. I am not interested in bids with just a short comment like "This is easy. Let's do it." Because then I have no way to tell how serious the offer is.

Thank you.

Evner: Javascript, PHP, Script Installering, Web Design

Se mere: display cookie value paragraph text javascript, what i need after html and php to make website, website format html, webpage format, use case include example, use case include, popup script for website, php server with html free, part standard, make own webpage, how to make a website using html, free website html, html free, Value, url, sounds, short url, seriously, robots, php html javascript, permits, no html, low budget, html, HTML%

Om arbejdsgiveren:
( 15 bedømmelser ) Lindlar, Germany

Projekt ID: #98034

21 freelancere byder i gennemsnit $47 på dette job


Hi, Plz check Pm. Thank you

$50 USD in 0 dage
(602 bedømmelser)

it is really a easy task.!

$100 USD in 2 dage
(233 bedømmelser)

See PMB for more information. Thanks.

$50 USD på 1 dag
(121 bedømmelser)

Hi! Check the PM, please.

$55 USD in 2 dage
(40 bedømmelser)

Please contact to complete

$50 USD in 0 dage
(23 bedømmelser)

Please view PMB. Thank you.

$100 USD in 2 dage
(26 bedømmelser)

Can do it now and fast.

$50 USD in 0 dage
(30 bedømmelser)

Hi, I have some ideas, please check your PM for details. Ovidiu.

$40 USD på 1 dag
(12 bedømmelser)

hi read pmb please

$30 USD på 1 dag
(31 bedømmelser)

Greetings, Please view PMB on description of how we will realize it. Thanks.

$30 USD in 0 dage
(13 bedømmelser)

Fullfill your needs. LEMONSOFTWARE (PM for details)

$35 USD in 3 dage
(1 bedømmelse)

I can do the job.

$40 USD in 0 dage
(8 bedømmelser)

Hello, please check your Private Message Board for details.

$30 USD på 1 dag
(4 bedømmelser)

This is a pretty easy job. Please see my PMB.

$40 USD in 3 dage
(1 bedømmelse)

OK, Please see PM for details of how I will do it!

$30 USD på 1 dag
(3 bedømmelser)

Please visit our website [login to view URL] for more info.

$55 USD in 5 dage
(1 bedømmelse)

I can produce the ruff in about 15 minutes (for both tasks).

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

Can do the work in matters of minutes! PM me

$50 USD in 0 dage
(0 bedømmelser)

Hi, I am interested in this job

$35 USD in 3 dage
(0 bedømmelser)

We are ready to do this simple project for $30.

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