Suppose by navigation I went from 1 st page to 5 page ,so
Write a generic script for coming from any page to the 1st
page and by executing where the page may be it will come to
1st page
Answer / priyesh pandya
To use this code for your navigation all you links are going
to look like this: filethatcodeisin.php?id=page and it will
actually take you to the page which you specified above.
<?php
switch($id) {
default:
include('index.html');
/* the url to your main page*/
break;
case "page1":
/*link id, the "title" what ever you wanna call it*/
include('page1.html');
/*the link id page file, the file it will go to*/
break;
case "page2":
include('page.html');
break;
case "page3":
include('page.html');
break;
case "page4":
include('page.html');
break;
case "page5":
include('page.html');
}
?>
| Is This Answer Correct ? | 1 Yes | 2 No |
Explain the functionality of vbscript?
give me an ex. of unoverloaded method?
What are the special sub-types in vbscript?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
Can anyone send me a vb script function for verifying the functionality of active links on a web page
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
what is the use of Data base check point ?
which is the good software training centre in bangalore?
How will you get a random number between 0 and 1 in vbscript?
how to automatically update the sql server2005 database records when insert in vb6?
How can the spaces from the string be removed?
How should i Create Email invite with server-side Coding?