|
-
Apr 12th, 2005, 07:45 AM
#1
Thread Starter
New Member
Image posting error
[FONT=Arial Black][B] Hi
how are you every body i have the code and i want that loop run then
picture should overwrite on the existing picture but this is not happening
why i donot know why the code is
for(i=0;i<=10;i++)
{
document.write("<img scr="+i+".jpg"+" height=400 width=400>")
}
when i write this thing then picture appears but not existing picture i
will apear down the existing picture please help how in javascript
thanks in advance
-
Apr 12th, 2005, 12:04 PM
#2
Fanatic Member
Re: Image posting error
document.write("<img src="+i+".jpg"+" height=400 width=400>")
It should be src not scr.
-
Apr 18th, 2005, 08:40 AM
#3
Thread Starter
New Member
Re: Image posting error
Thank for reply it is not my questin that src or scr but the
Question is that i want to to write a loop
as
Code:
for(i=0;i<=10;i++)
{
document.write("<img src="+i+".jpg"+" ");
}
i want overlaping that picture should open on the existing
picture;
help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|