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

Is this valid?

(Click here to view the original thread with full colors/images)


Posted by: Scav

Is this functional javascript. It doesn't give me any errors but I cannot really tell if it is working. It is suppose to preload an image for a mouse over on ever page but the url i put into it (cause of the way my file structure on the site is set up it wouldnt find the file and possibly cause problems)

if (location != 'page_i_dont_want_to_load_on')
{
pre_load_goes_here;
}

So is location != a valid if / else statement? 8)



Posted by: Canis Lupus

Hmmm, not too good with my javascript, but I think that is a valid statement ... at least, that's what I remember...

Damn, you just made me want to review javascript again....

------------------
Those who expect nothing will never be disappointed...



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