plodos Posted June 28, 2008 Share Posted June 28, 2008 index.html <a href=”country_list.html#bulgaria”>Click for Bulgaria </a> <a href=”country_list.html#greece”>Click for Greece </a> country_list.html <html> greece xxxxxx aaaaaa bbbbbb tttttttt ......... bulgaria ......... ......... ......... ......... ......... </html> Sometimes, I see the some codes like #top #bottom #center bulgaria information is center of the coutry_list.html... If the user click the bulgaria in the index page.....user will directly go to bulgaria which is center in the country_list.html but I dont know how to do it :S who can give me the example, pls... Quote Link to comment https://forums.phpfreaks.com/topic/112357-how-to-top-bottom-center-such-and-such/ Share on other sites More sharing options...
DeanWhitehouse Posted June 28, 2008 Share Posted June 28, 2008 this is the kinda thing. if(isset($_GET['#'])) { if($_GET['#'] == bulgaria) { //bulgaria code } } this the only way i can think of. Quote Link to comment https://forums.phpfreaks.com/topic/112357-how-to-top-bottom-center-such-and-such/#findComment-576858 Share on other sites More sharing options...
plodos Posted June 28, 2008 Author Share Posted June 28, 2008 thnx for reply...but I want that by the help of basic anchor tag that would move the reader to another page on the same website or to another website... i want to control the HREF with anchor tag but the coding is proglemm.. Quote Link to comment https://forums.phpfreaks.com/topic/112357-how-to-top-bottom-center-such-and-such/#findComment-576866 Share on other sites More sharing options...
DeanWhitehouse Posted June 28, 2008 Share Posted June 28, 2008 i don't get what you mean. unless you mean this <a href="site">Site</a> Quote Link to comment https://forums.phpfreaks.com/topic/112357-how-to-top-bottom-center-such-and-such/#findComment-576868 Share on other sites More sharing options...
LooieENG Posted June 28, 2008 Share Posted June 28, 2008 <a href="stuff.com" id="bulgaria">Bulgaria</a> Edit: id, not title, sorry. Quote Link to comment https://forums.phpfreaks.com/topic/112357-how-to-top-bottom-center-such-and-such/#findComment-576872 Share on other sites More sharing options...
DeanWhitehouse Posted June 28, 2008 Share Posted June 28, 2008 ahh ok, so you want a link like the back to top , links? Quote Link to comment https://forums.phpfreaks.com/topic/112357-how-to-top-bottom-center-such-and-such/#findComment-576882 Share on other sites More sharing options...
.josh Posted June 28, 2008 Share Posted June 28, 2008 <a href = '#blah'>Jump to blah</a> <a name='blah'>blah blah blah</a> Quote Link to comment https://forums.phpfreaks.com/topic/112357-how-to-top-bottom-center-such-and-such/#findComment-576906 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.