Just a wild guess, but perhaps your javascript or CSS file references aren''t preceded with a '/', so on the first link it's actually looking for country/scripts/yourfile.js or country/css/yourfile.css rather than /css/yourfile.css? That would explain why it works on 1415.aspx since it's on the root.
how to make styles and apply to page
HI friends i have already posted the same question once but no one gave the the correct solution.
I have developed small site in umbraco and webmatrix.the problem is if i call a page like
http://localhost:9999/country/state.aspx the java script i wrote for tabbed pannel is not woriking instead it is shown in a plane page.
but if i call the same page though its id
like http://localhost:9999/1415 (page id of the state.aspx)
,the tabbed pannels are working ,can anybody give me a suggestion.
Just a wild guess, but perhaps your javascript or CSS file references aren''t preceded with a '/', so on the first link it's actually looking for country/scripts/yourfile.js or country/css/yourfile.css rather than /css/yourfile.css? That would explain why it works on 1415.aspx since it's on the root.
Try preceding your file references with a /, like
Use Firebug or Fiddler to make sure your javascript is getting loaded. Other than that we will need a bit more detail to help with your problem.
-Tom
Hi Aditya
Actually I'd suggest the same as Tom for a start. If this doesn't give you a result, could you try showing us the source code for the two pages.
Are you using inline javascript in your tempaltes/macros or are you using an external script-file?
/Kim A
is working on a reply...