HighDots Forums  

Image manipulation

Javascript JavaScript language (comp.lang.javascript)


Discuss Image manipulation in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bob Ribokas
 
Posts: n/a

Default Image manipulation - 06-06-2004 , 05:24 PM






I would like to display a series of smaller foreground images on top of a
larger background image and possibly even control the position of the
smaller images dynamically. Is this possible? If so what is the syntax for
placing the small images on top of the large one.



Reply With Quote
  #2  
Old   
Bob Ribokas
 
Posts: n/a

Default Re: Image manipulation - 06-06-2004 , 09:54 PM






Thanks Dennis, at least gives me hope that I can do what I want to do.
What I am really looking for though, is a way to do this within Javascript
code, on the fly.
I would like to create smaller images on top of (and relative to) a
background image.


"Dennis M. Marks" <denmarks (AT) dcsi (DOT) net> wrote

Quote:
In article <6YLwc.49811$pt3.10826@attbi_s03>, Bob Ribokas
ribokas (AT) comcast (DOT) net> wrote:

I would like to display a series of smaller foreground images on top of
a
larger background image and possibly even control the position of the
smaller images dynamically. Is this possible? If so what is the syntax
for
placing the small images on top of the large one.


The following will work. You may want to look into css styles for much
more detailed information. They will be stacked in the order defined.

img style="position: absolute; left: 0px; top: 0px;" src="xxx.jpg" /
img style="position: absolute; left: 50px; top: 50px;" src="yyy.jpg" /
img style="position: absolute; left: 100px; top: 100px;" src="zzz.jpg"
/

I'm sure others will show you other ways.

--
Dennis Marks
http://www.dcs-chico.com/~denmarks/
Mail to the return email address is bounced.
Go to web site for active email address.


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----



Reply With Quote
  #3  
Old   
Kien
 
Posts: n/a

Default Re: Image manipulation - 06-07-2004 , 04:19 AM



Hi,
You can try DHTML, creating individual layers with different images on
each, then move them around any way you want.

http://www.caoxuan.com/cxk/webart/go...ndexDhtml.html

Kien

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.