the page im using now,if i go to a specific page through a hyperlink the styles are not applied to the page,but if i give the id of the page the the syyles are applied can u explain y??
EX :(NOT WORKING IF NAVIGATION IS LIKE)
http://localhost:9595/world/inida.aspx ---------------------only some styles are being applied,here i used a tab control that is developed in javascript ,those tabs are not working .The page is shown like a regular page
(I'm guessing you're missing that forward slash, which would explain why the 1093 works as it is at the root of the site, but world/inida cannot find the stylesheet because it's at the wrong level.)
Did you do similar for your javascript? Would you like to post the code from your <head> for us to check? I can't think of anything else at the moment.
Your javascript will need to be like this for example: <script type="text/javascript" src="/JSfolder/jquery.min.js"></script>
My java sccript tabs are not working
the page im using now,if i go to a specific page through a hyperlink the styles are not applied to the page,but if i give the id of the page the the syyles are applied can u explain y??
EX :(NOT WORKING IF NAVIGATION IS LIKE)
http://localhost:9595/world/inida.aspx ---------------------only some styles are being applied,here i used a tab control that is developed in javascript ,those tabs are not working .The page is shown like a regular page
WORKING IF NAVIGATION IS LIKE
http://localhost:9595/1093.aspx -------- where as 1093 is the id of inida.aspx document.
The same page is looking good if i have preview in the browser individually.
Hi there
Unfortunately people can't see the pages you're referring to since it's on your localhost and not the world wide web.
How have you applied the styling and javascript? Through a macro inserted into the rich text editor for instance?
Since the preview is working I suppose you don't see the styles etc because the changes to the page has not been published perhaps?
/Jan
Hi Aditya,
How have you referenced your stylesheet and javascript? Use an absolute path (starting with a forward slash) in your template like:
<link href="/css/style.css" type="text/css" rel="stylesheet" />
(I'm guessing you're missing that forward slash, which would explain why the 1093 works as it is at the root of the site, but world/inida cannot find the stylesheet because it's at the wrong level.)
Hi Lesly i tried the / but it is still not working.Any other optiions...
Did you do similar for your javascript? Would you like to post the code from your <head> for us to check? I can't think of anything else at the moment.
Your javascript will need to be like this for example:
<script type="text/javascript" src="/JSfolder/jquery.min.js"></script>
is working on a reply...