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 find number of characters(letter a) in the sentence Rain Rain Go away
What is the scope of a constant declared using public?
Explain about the asc function?
what is the function to get the ascii value of the character?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
In what way program "hello world" you can write in vbscript?
Explain sga memory structures?
How to replace junk code recorded by QTP with a mall function.
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
What is the difference between function and procedure?
Both Static and dynamic arrays are handled by VB script. Is it true?
What is the difference between Javascript & Vbscript?