Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: making links with index?...
07-25-2009, 01:38 AM #1
- Join Date
- Jul 2009
- Thanked 0 Times in 0 Posts
making links with index?...
I need some help in making links like:
this is just an example, i want to get to know how this stuff is made.
I'm using a CMS system called uCoz, u can check it out at http://ucoz.com or http://ucoz.ru (the latter is for people u stand russian)
so I have made a page like http://mysite.com/index/0-2, how to make those ?friends and etc.
thx in advance, u'll really greatly help me if u give a piece worthful advice and some tips on making this)
07-25-2009, 02:09 AM #2
Are you asking how to *READ* the stuff after the question mark??
That's pretty easy:
(location.search is the part of the URL that starts at the question mark)Code:var afterQuestionMark = location.search.substring(1);
Now, as to what you *do* with that string...that's up to you.