Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > geting image using DOM...how?

Reply
Thread Tools

geting image using DOM...how?

 
 
riki
Guest
Posts: n/a
 
      02-04-2004
hello,
can anybody help me with the problem stated in the subject...i would need
something like this
var pic=window.document.images[0];
i can't use window.document.imgName; becouse i'm trying to catch this img in
the popup and i'm calling this popup from another window so it doesn't have
a name...
this popup opens on this command.
<a href="#" onclick="javascript:
window.open('/images/logo2.gif','popUp','width=400,height=100,toolbar=0 ,loca
tion=0,directories=0,menuBar=0,scrollBars=no,resiz able=1')">
<img src="/images/someOtherImg.gif" name="SLIKA">
</a>
any suggestions?





 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Geting Checkboxlist value in javascript Satheesh Babu B ASP .Net 14 05-24-2007 08:29 AM
Geting physical path of IIS directories DagoFlores ASP .Net 0 09-19-2005 03:39 PM
ASP.NET textbox control is not geting refreshed.. Jitendra Singh via .NET 247 ASP .Net 1 03-29-2005 02:12 PM
Geting class attributes types harry ASP .Net 1 05-11-2004 06:17 AM
geting hold of image??? riki Javascript 4 02-06-2004 01:53 PM



Advertisments