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 |
how to check whether link is disabled in QTP??
what is the object hyrarchy in QTP for a web based application
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
write a program to display the system specifications of client system with the help of vbScript.
How will you get the octal value of the given number in vbscript?
How to make sure that items in a wintree are sorted al?
What is the purpose of on error resume next statement?
when we use filter funtiom invb script(QTP)
How will you reverse a string in vbscript?
How to get the background color of a weblist?
What is the purpose of regexp object in vbscript?
about vb scripting programs this type of all question& answers