Can i inset a picture in exmplmenu_var.js

H

Help Please

I want to know if u can specify the location of a picture(BMP,JPG,GIF) in the
file exmplmenu_var.js. Like the code:
<p style="line-height: 100%; margin-top: 0; margin-bottom: 0"
align="center">
<img border="0" src="images/index_pics/homepage.gif" width="24"
height="24"></p>
 
S

Stefan B Rusynko

If you mean can you set a path in the .js file to an image file - yes

img01 = new Image();
img01.src = "images/index_pics/homepage.gif";

You page or script would call img01
The path must be relative to the page that uses the script



|I want to know if u can specify the location of a picture(BMP,JPG,GIF) in the
| file exmplmenu_var.js. Like the code:
| <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"
| align="center">
| <img border="0" src="images/index_pics/homepage.gif" width="24"
| height="24"></p>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top