473,395 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

superimposing a pic on a pic when the data is dynamic

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 =---
Jul 21 '05 #1
2 1275
If you just did this in a static .htm file, you could do something like:

<html><body>
<img src="/images/house.jpg"><img src="/images/sold.gif" style="position:
relative; left: -150px; top: -100px;">
</body></html>

Perhaps that'll get you started.

Ray at work

"Astra" <in**@NoEmail.com> wrote in message news:41********@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

----== 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 =---

Jul 21 '05 #2
Here is some more info. http://www.aspfaq.com/5003

Ray at work
"Astra" <in**@NoEmail.com> wrote in message news:41********@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

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Charlie | last post by:
Hi, The description of Python always mentions "very high level dynamic data types". Now, I can't seem to find any examples of these (nothing described with this term anyway). Is this simply...
0
by: Dotnetified | last post by:
Reposting after about 2 weeks of no response ... thanks if you can help... ---------------------------------------------------------------------------- -------------- To anyone who thinks they...
5
by: Matthias Kaeppler | last post by:
Hi, say I have a class X, such that: class X { A a; B b; C c; ...
4
by: anonymous | last post by:
Thanks your reply. The article I read is from www.hakin9.org/en/attachments/stackoverflow_en.pdf. And you're right. I don't know it very clearly. And that's why I want to understand it; for it's...
2
by: Dnna | last post by:
I have a table which is bound to an Internet Explorer XML data island. I'm using ASP.NET's client-side validators for an input field in the table. The problem is that if the input fields are in...
6
by: Martin Bischoff | last post by:
Hi, I'm creating temporary directories in my web app (e.g. ~/data/temp/temp123) to allow users to upload files. When I later delete these directories (from the code behind), the application...
5
by: alingsjtu | last post by:
Hello, every body. When execute dynamic generated multiple OPENQUERY statements (which linkes to DB2) in SQLServer, I always got SQL1040N The maximum number of applications is already connected...
7
by: Vanessa | last post by:
hi Everyone, I have two questions on exporting data to Excel using ASP (w/o converting formatted excel file into web page and then plug in the dynamic data): 1. Can we export data into...
3
sunbin
by: sunbin | last post by:
Hi, I am having in a Trouble when working with dynamic checkboxes (i.e. checkboxes with the same name, e.g. <input type="checkbox" name = "check" value="dynamic integer value">) I have...
2
by: karthigeyantp | last post by:
Hai "C" I am tring to write a CODE in c++ on linux for superimposing two plane where i have the coordiantes of each plane(x,y,z) .Is there any mathematical function in c++ or can any one tell...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.