browser Posted January 19, 2012 Share Posted January 19, 2012 How can fixed the head on all the pages of the site without being loaded when you move from page to page within the site? <html><head><style type="text/css">ul{list-style-type:none;margin:0;padding:0;overflow:hidden;}li{float:left;}a:link,a:visited{display:block;width:230px;font-weight:bold;color:#FFFFFF;background-color:#98bf21;text-align:center;padding:4px;text-decoration:none;text-transform:uppercase;}a:hover,a:active{background-color:#7A991A;}</style></head><body><ul><li><a href="#home">Home</a></li><li><a href="#news">News</a></li><li><a href="#contact">Contact</a></li><li><a href="#about">About</a></li></ul></body></html> Link to comment Share on other sites More sharing options...
boen_robot Posted January 19, 2012 Share Posted January 19, 2012 You can only do that with a lot of JavaScript trickery (including AJAX), especially if you want the back button to work properly and for your site to not break completely without JavaScript.Read the JavaScript and AJAX tutorials, and then check out the window.onhashchange event. Link to comment Share on other sites More sharing options...
browser Posted January 20, 2012 Author Share Posted January 20, 2012 thank you for fast response Link to comment Share on other sites More sharing options...
browser Posted January 23, 2012 Author Share Posted January 23, 2012 can you do this please? Link to comment Share on other sites More sharing options...
thescientist Posted January 24, 2012 Share Posted January 24, 2012 probably not. but you can make an attempt and we will help you. Link to comment Share on other sites More sharing options...
browser Posted January 25, 2012 Author Share Posted January 25, 2012 I want to try and help me but if the example on that or tell me where you never know it and I will be thankful to you Link to comment Share on other sites More sharing options...
browser Posted January 25, 2012 Author Share Posted January 25, 2012 And also when you add a comment to add comments without loading a new page please Link to comment Share on other sites More sharing options...
TheGallery Posted January 26, 2012 Share Posted January 26, 2012 Ok, first of all, i don't get you...i realize english may not be your first language but if you need help you have to drive us to the right direction. We can't just guess what your problem is. So use google translate or something. No offence...Now, you said you want to help yourself. If you want to help yourself start writing code. Start by learning the basics and you'll end up building awesome things. Giving you the complete code and then copying it to your application is not much of a help unless you have someone pointing you with a gun and "Unless you get this done you are not leaving this place" . In that case we'll try to save your life. (well not me, someone experienced in JS ) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.