| | Hi guys, can somebody help me with this problem. I want to make my URL static. something like this: http://www.example.com/ whenever click some buttons like add/edit/delete... the URL should stay as is... (http://www.example.com). |
|
|
I think he means having the url never change even if you click links etc...
This can be achieved a few ways. The easiest way is just to use frames, but many people (like me) find frames very "old fashioned" and just plain annoying. If you are good with javascript you could load all of the content dynamically with AJAX and never even have to change pages. I think he means having the url never change even if you click links etc... This can be achieved a few ways. The easiest way is just to use frames, but many people (like me) find frames very "old fashioned" and just plain annoying. If you are good with javascript you could load all of the content dynamically with AJAX and never even have to change pages. Just incase some people find javascript or AJAX quite difficult ( i know i did/am) , you can also achieve this through php. It may require $_GET if its ok with you, but everything will come on one page CODE <?php if ($_GET['tab'] =="home") { //put the content for the main home page } else if($_GET['tab'] == "join") { //put joining code here } //..etc //..etc ?> Hope that helps a little bit.
Yes but that would still change the url, even though its one page unless you post the data you will still have a ?tab=home at the end. I think he wants the url to always stay the same. In my opinion thats a terrible idea. Some people (including me) want to know what page they are one, and frames just make a website SUPER annoying.
I agree that this isn't a very smart thing to do. If you're looking for lots of traffic and quality visitors and all the things we want from our websites, including monetary gain... then you shouldn't do this. But if you don't care about any of that and you really want to do this (and I'm sure you have your reasons) then I would just go ahead and use frames. They may not be very appropriate in web design these days, but if you're going to be so "standards-non-compliant" with the url, then you might as well break a few more rules. Using frames would be pretty easy. Just make an index page with a frame and keep all the links' targets to that frame.
Recent Queries:-
Keywords : url, make, url, static,
Looking for url, make, url, static,
|
|
![]() Url - how do you make your URL static? |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|