|
|
 |
|
|
Pages: 1
this.title / this.drop / this.item ?
(Click here to view the original thread with full colors/images)
Posted by: Scav
Can anyone help me figure out what this does? ive never seen 'this.title' or 'this.drop' or any of the rest of those in javascript before. So you know this was taken from blizzard's js file.
function menu(styletitle, styledrop, styleitem, title_on, title_off) {
this.title = styletitle;
this.drop = styledrop;
this.item = styleitem;
this.inDrop = false;
this.titleoff = new Image();
this.titleoff.src = title_off;
this.titleon = new Image();
this.titleon.src = title_on;
Posted by: Scav
^ oh i forgot to add the best i can think of is it is setting up its own dom in a way. like menu.title = styletitle;
|
|
|
|
|