scutchen Posted December 12, 2004 Posted December 12, 2004 Another question as I convert my site... I use a javascript-based pulldown menu structure. In order for the script to work over the entire site, I use root-based addressing (I forget the real term, but it is where the address in the javacript is "location='/about/join/join.htm'" as opposed to absolute "location='http://www.mysite.com/about/join/join.htm'" [won't work in a template] or relative "location='../about/join/join.htm'" [which also is problematic.]) The issue is the relation of my menu file relative to the root of my site. As an example, my menu currently returns this URL: http://67.15.82.11/team/results/15b/results15b.htm which does not work. It needs to be http://67.15.82.11/~pearjrs/team/results/15b/results15b.htm to work. Which means that my 'root' is http://67.15.82.11/~pearjrs/ This is consistent with what was in my welcoming email. And I can correct for this by changing the 'location' parameters in my javacript from "location='/about/join/join.htm'" to "location='/~pearjrs/about/join/join.htm'" But I'm wondering if this is going to change when the site becomes addressed by my domain name. Will I need 'http://www.pearlandjrs.com/~pearjrs/team/results/15b/results15b.htm' or 'http://pearlandjrs.com/team/results/15b/results15b.htm' I think it is the latter, but if so, this means I cannot use the same javascript addressing 'location' paramenter to test the site before going live versus after the domain name server is set and I do go live. Is this true? Is there a workaround? Quote
TCH-Bruce Posted December 12, 2004 Posted December 12, 2004 The latter is correct after your domain propogates. Quote
scutchen Posted December 12, 2004 Author Posted December 12, 2004 Thanks, Bruce. So I'll need to edit my script once I start propagation... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.