superimposing a pic on a pic when the data is dynamic

superimposing a pic on a pic when the data is dynamic

am 27.10.2004 15:08:24 von Astra

Hi All

I know the subject may sound weird so hopefully the below will explain.

1) I'm creating an estate agent web site, which will display a 1 x jpg pic
and say 4 text descriptions for each property from a DB using ASP .

2) Another aspect of shall we say the property's properties is that it will
contain a flag to say whether a property has been sold on not. If it has
then I would like to superimpose a transparent pic of a sold sign over the
top of the property pic

Hard coding this sort of thing doesn't seem much of a problem if I use
absolute and z-indexing to superimpose the sold pic over the house pic, but
because my list of properties is going to be dynamically generated I won't
be able to use absolute positioning because I won't know where to
superimpose the pics.

Has anybody been able to acheive this effect?

Rgds

Robbie





----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---

Re: superimposing a pic on a pic when the data is dynamic

am 27.10.2004 16:08:21 von McKirahan

"Astra" wrote in message news:417f9c72_4@127.0.0.1...
> Hi All
>
> I know the subject may sound weird so hopefully the below will explain.
>
> 1) I'm creating an estate agent web site, which will display a 1 x jpg pic
> and say 4 text descriptions for each property from a DB using ASP .
>
> 2) Another aspect of shall we say the property's properties is that it
will
> contain a flag to say whether a property has been sold on not. If it has
> then I would like to superimpose a transparent pic of a sold sign over the
> top of the property pic
>
> Hard coding this sort of thing doesn't seem much of a problem if I use
> absolute and z-indexing to superimpose the sold pic over the house pic,
but
> because my list of properties is going to be dynamically generated I won't
> be able to use absolute positioning because I won't know where to
> superimpose the pics.
>
> Has anybody been able to acheive this effect?
>
> Rgds
>
> Robbie

Will this help? Watch for word-wrap.


style="position:relative; left:0px; top:0px; z-index:1">
style="position:absolute; left:170px; top:140px; z-index:2">


"sold.jpg" is an image of a house.
"sod.gif" is a transparent image of an outlien of the word "SOLD".