I need to know if it is possible to place javascript variables into HTML tags as arguments for the tags properties.......Example
<IMG src=myJavascriptVar; >
I already know about DOM and controlling tag properties
through scripting but I'd like to just place the value of a javascript var in an HTML tag and be able to use it.
Also, I need to know what I need to do in order to get my pics on my site load line by line. I'm talking about the effect you see if you go to porn sites where large high quality pics load from the top down, you don't have to wait for the entire pic to load to be able to see it. I've read how to do this in some book but have forgotten what it said, is it some property I need to set in the IMG tag or is it a defualt property of newer browsers?
<IMG src=myJavascriptVar; >
I already know about DOM and controlling tag properties
through scripting but I'd like to just place the value of a javascript var in an HTML tag and be able to use it.
Also, I need to know what I need to do in order to get my pics on my site load line by line. I'm talking about the effect you see if you go to porn sites where large high quality pics load from the top down, you don't have to wait for the entire pic to load to be able to see it. I've read how to do this in some book but have forgotten what it said, is it some property I need to set in the IMG tag or is it a defualt property of newer browsers?