我想从另一个雅克斯网页上打上一个背景形象,而实际上看不出什么最佳方法?
In my index.html page I have the css background code and I want to load an image from another asp page.
我的索引..html
<div id="bgimage" style="background-image: url(../images/theimage.jpg); background-repeat: no-repeat; background-position: center center; background-attachment:fixed;">
and the imagepage.asp page that gets the right image from the db.
<div id="menuimage">
<img src="..user_images/<%=folderName%>/menuimage/<%=rs("big_image")%>" id="themenyimage"/>
</div>
任何建议都会得到理解。