Open Tech Support
Open Tech Support Archives
Back to HomeCommunityReviewsGuidesDownloadsTech LinksMarketplaceContact Us
 »  SITE NAVIGATION
»  OTS Home
»  OTS Forums
»  OTS Archives

»  About our site
»  Search our site
»  Support our site

»  What is this site?
»  Who are we?
 
 
 »  ADVERTISMENT
 
  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;



 
Copyright 2000-2008 Open Tech Support.  All Rights Reserved.  Site Design and Development by Tolitz Rosel.