Sedang Disiapkan

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.

Kemahiran: Javascript, PHP, Memasang Skrip, Reka Bentuk Laman Web

Lihat lebih lanjut: website format html, webpage format, use case include example, use case include, popup script website, php server html free, part standard, make website using html, free website html, value, url, sounds, short url, seriously, robots, php html javascript, permits, no html, low budget, html script, html on, html c, javascript popup html file, save html image, website project html php

Tentang Majikan:
( 15 ulasan ) Lindlar, Germany

ID Projek: #98034

21 pekerja bebas membida secara purata $47 untuk pekerjaan ini

adeelarshad

Hi, Plz check Pm. Thank you

$50 USD dalam 0 hari
(602 Ulasan)
8.7
tlchung

it is really a easy task.!

$100 USD dalam 2 hari
(233 Ulasan)
7.4
softwaredep

See PMB for more information. Thanks.

$50 USD dalam sehari
(121 Ulasan)
7.1
roberro

Hi! Check the PM, please.

$55 USD dalam 2 hari
(40 Ulasan)
5.9
wherrelz

Please contact to complete

$50 USD dalam 0 hari
(23 Ulasan)
5.5
palmiere

Please view PMB. Thank you.

$100 USD dalam 2 hari
(26 Ulasan)
5.5
elfuerte

Can do it now and fast.

$50 USD dalam 0 hari
(30 Ulasan)
5.4
ovidiu

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

$40 USD dalam sehari
(12 Ulasan)
5.3
orangestudios

hi read pmb please

$30 USD dalam sehari
(31 Ulasan)
5.1
inforexsys

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

$30 USD dalam 0 hari
(13 Ulasan)
5.3
lemonsoftware

Fullfill your needs. LEMONSOFTWARE (PM for details)

$35 USD dalam 3 hari
(1 Ulasan)
3.3
ramcis

I can do the job.

$40 USD dalam 0 hari
(8 Ulasan)
2.9
Chesso

Hello, please check your Private Message Board for details.

$30 USD dalam sehari
(4 Ulasan)
2.4
arvixx

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

$40 USD dalam 3 hari
(1 Ulasan)
2.0
seanfagansystems

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

$30 USD dalam sehari
(3 Ulasan)
2.5
EdesigsInt

Please visit our website www.edesigns.co.nr for more info.

$55 USD dalam 5 hari
(1 Ulasan)
3.0
bellts

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

$50 USD dalam sehari
(0 Ulasan)
0.0
mariusvisan

Can do the work in matters of minutes! PM me

$50 USD dalam 0 hari
(0 Ulasan)
0.0
agenciadetalhes

Hi, I am interested in this job

$35 USD dalam 3 hari
(0 Ulasan)
0.0
JayNedu

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

$30 USD dalam 3 hari
(0 Ulasan)
0.0