jc624 Posted April 4, 2008 Share Posted April 4, 2008 Hey guys I'm getting an alert for this page but have no idea why its poping- We been trying to figure how to take this out but to no avail any clues:http://www.staples.com/sbd/cre/marketing/f...ture_solutions/The runtime only has this: /* Runtime */for (var x = 0; x < supportedBrowsers.length; x++) { var platform = window.navigator.platform.toLowerCase(); var eObj = new RegExp(supportedBrowsers[x], 'ig'); var result = browser.search(eObj); if (result > -1) { browser = supportedBrowsers[x]; } }// following code sets the location of the base tagvar pattern = new RegExp(baseLocation, "ig");var newSearch = eLocation.split(pattern);trailingURL = newSearch[1];trailingURL = trailingURL.split('/')[0];newSearch = newSearch[0];eBase.href = newSearch + baseLocation + trailingURL + '/';// to hide the H1 and P tags in the flash Divdocument.write('<link href="hiddenStyles.css" rel="stylesheet" media="all" />'); Link to comment Share on other sites More sharing options...
Ingolme Posted April 4, 2008 Share Posted April 4, 2008 In your script file I see this: newSearch = newSearch[0];eBase.href = newSearch + baseLocation + trailingURL + '/';alert(eBase.href); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.