hansolo Posted July 24, 2009 Share Posted July 24, 2009 homeBtn = new image;homeBtn.src = "images"!/home_Btn.jpg";in javascript how can to find the image s it the same as html an abosolute lnk and a relative link so would i have to include the c:/drive/folder/imge.jpgthanks if any 1 can help reply cheers Link to comment Share on other sites More sharing options...
djp1988 Posted July 24, 2009 Share Posted July 24, 2009 I don't really get the question...absolute vs relative path is like this:absolute:src="http://www.mysite.com/resoucres/images/image.jpg"relative could look something like this:src="../../resources/images/image.jpg" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.