rcwood
06-01-2006, 02:44 PM
The ajaxtabs.js script loses the port part of the url when used in IE.
Works great in firefox.
I run locally on web port 8101 and that was being lost in IE 6.
Here is the old line and new line to fix:
var modifiedurl=ulistlink.getAttribute("href").replace(/^http:\/\/[^\/]+\//i, "http://"+window.location.hostname+"/")
var modifiedurl=ulistlink.getAttribute("href").replace(/^http:\/\/[^\/]+\//i, "http://"+window.location.hostname+ ":" + window.location.port + "/")
Works great in firefox.
I run locally on web port 8101 and that was being lost in IE 6.
Here is the old line and new line to fix:
var modifiedurl=ulistlink.getAttribute("href").replace(/^http:\/\/[^\/]+\//i, "http://"+window.location.hostname+"/")
var modifiedurl=ulistlink.getAttribute("href").replace(/^http:\/\/[^\/]+\//i, "http://"+window.location.hostname+ ":" + window.location.port + "/")