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... 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. 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.. 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> 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. 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? 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> 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
Archived
This topic is now archived and is closed to further replies.