lkarelee
Posts: 10
|
Posted: 07/10/2008, 7:19 AM |
|
Can someone tell me how to display a web page without having to click on a hyper link? This is for code charge studio -
|
|
|
jjrjr1
Posts: 942
|
Posted: 07/10/2008, 1:19 PM |
|
Hi
Not to sure what your implementation is here. By not clicking on a hyper link do you mean link to a page from a set of coding conditions and, in the code, link to a new page?
If so there are a couple of ways to do that.
1. By using the $Redirect string.
In certain events like before show, on validate, etc. declare $Redirect as global, and put the url into the $Redirect string.
2. you can also do it by setting location in the HTTP header like so.
$location= "any url";
header("HTTP/1.1 302 Found");
header("Location: " . $location);
exit;
That shoud cover most any situations in PHP.
In HTML client side events
window.location="any url";
will do it in javascript.
Is that what you needed?
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
|
|
|