Navigating pages without hyperlinks

  • 13 years ago
    Does anyone know a way of dynamically moving from one web page to another without clicking on hyperlinks ?
  • 13 years ago

    Try:

    ASP.NET

    ......
    do what you have to do here
    before navigate
    ...........
    response.redirect("page to navigate")



  • 13 years ago

    Hi there,

    <

    input type="button" id="button1" value="Home" onclick="window.location.href = 'http://www.yahoo.com';" />

    Hope this helps

  • 13 years ago

    hi, you can do it using JavaScript as well.
    i dont know why you dont wanted to use hyperlinks?
    case1: if you want your automatic navigation:

        use Java Script. take an array of url strings, use setTimeOut function or something like that to navigate automatically using window.location('urlstring') 
    case2: if you dont want to see the underlines wich doesnt match your design:

           You can overcome this by using CSS.

    Default case : for any other reasons
           You can activate onclik event for most of the HTML tags, so onclick, call a javaScript function that will load a perticular page. for example,



    <div onclick="someFunction('http://www.developerfusion.co.uk');>Name</div>

    <script>
    function someFunction(url){
    window.location(url);
    }

    please check the syntax.




Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The difference between theory and practice is smaller in theory than in practice.”