This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > FrontPage Programming > March 2007 > Use URL as query string to fill fields
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Use URL as query string to fill fields
|
|
| Russell 2007-03-07, 6:15 pm |
| I have a link in an email that opens up a picture. I want that picture to
have their name on it. I would like to use this type of url,
www.domain.com?recipientname=value so I can put their name as the
recipientname and they will think the picture was made just for them. My
question is, what is the code to do that? Or at least tell me the keywords to
search for. I'm using FrontPage 2003.
| |
| Mike Mueller 2007-03-07, 6:15 pm |
| Do you want their name as part of the picture, or do you
want there name to appear on the page as text, alt text, or
title text?
"Russell" <Russell@discussions.microsoft.com> wrote in
message
news:6FB1DDFC-3D4E-4A6F-97C8-9E2B633EB9B2@microsoft.com...
:I have a link in an email that opens up a picture. I want
that picture to
: have their name on it. I would like to use this type of
url,
: www.domain.com?recipientname=value so I can put their name
as the
: recipientname and they will think the picture was made
just for them. My
: question is, what is the code to do that? Or at least tell
me the keywords to
: search for. I'm using FrontPage 2003.
| |
| Russell 2007-03-07, 6:15 pm |
| As part of the picture and not a text box.
"Mike Mueller" wrote:
> Do you want their name as part of the picture, or do you
> want there name to appear on the page as text, alt text, or
> title text?
>
> "Russell" <Russell@discussions.microsoft.com> wrote in
> message
> news:6FB1DDFC-3D4E-4A6F-97C8-9E2B633EB9B2@microsoft.com...
> :I have a link in an email that opens up a picture. I want
> that picture to
> : have their name on it. I would like to use this type of
> url,
> : www.domain.com?recipientname=value so I can put their name
> as the
> : recipientname and they will think the picture was made
> just for them. My
> : question is, what is the code to do that? Or at least tell
> me the keywords to
> : search for. I'm using FrontPage 2003.
>
>
>
| |
| Mike Mueller 2007-03-07, 6:15 pm |
| OK, there is a few ways to do this, all of which will
require some scripting
Method #1: Create a single celled table and use the image
for the background. The script will read the query string
and you would display this text in that cell. The scripting
could be either client side (javascript) or server-side
(asp, php)
http://lfd.lannonfire.com/Method1.asp?Text=Russell
Method #2: Display the image normally, and on a higher layer
display the text. This also could be done client or server
side
http://lfd.lannonfire.com/Method2.asp?Text=Russell
Both of the above methods the image would not change, and
saving the image would result in just the image without the
text. The text positioning is done with CSS.
Their is another method, but it would be all server side
programming. The advantage is that the text becomes part of
the image, and would save if chosen. This method would also
be suitable for on-the-fly watemarking of images, and you
could use codes for the images to make it really hard to
find the unaltered version. The disadvantange is there is a
lot of coding involved.
http://lfd.lannonfire.com/Method3.aspx?Text=Russell
"Russell" <Russell@discussions.microsoft.com> wrote in
message
news:CE2CDD75-7F01-4C64-BEF1-578F0F8EC573@microsoft.com...
: As part of the picture and not a text box.
:
: "Mike Mueller" wrote:
:
: > Do you want their name as part of the picture, or do you
: > want there name to appear on the page as text, alt text,
or
: > title text?
: >
: > "Russell" <Russell@discussions.microsoft.com> wrote in
: > message
: >
news:6FB1DDFC-3D4E-4A6F-97C8-9E2B633EB9B2@microsoft.com...
: > :I have a link in an email that opens up a picture. I
want
: > that picture to
: > : have their name on it. I would like to use this type
of
: > url,
: > : www.domain.com?recipientname=value so I can put their
name
: > as the
: > : recipientname and they will think the picture was made
: > just for them. My
: > : question is, what is the code to do that? Or at least
tell
: > me the keywords to
: > : search for. I'm using FrontPage 2003.
: >
: >
: >
| |
| Russell 2007-03-07, 10:16 pm |
| Method #3 sounds like the one I need. But every time I click your link, I get
"Server Error in '/' Application. The resource cannot be found."
| |
| Russell 2007-03-08, 3:15 am |
| I figured it out. I had to drop the x on aspx.
| |
| Mike Mueller 2007-03-08, 3:15 am |
| Sorry about that. I already had written the response before I finished the
page
"Russell" <Russell@discussions.microsoft.com> wrote in message
news:CBD895EB-1E5C-4D93-8F93-7D61FDE137F3@microsoft.com...
>I figured it out. I had to drop the x on aspx.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|