Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Location
    Toronto
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    redirect url onclick on the same page

    Hi folks,

    Does anyone know of a code that I can click on a link i.e.: index.php (home) and what it will do is to refresh the main content without leaving the page to a sub-category i.e.: index.php/music?

    I have the basic link redirects like so:

    <a href="index.php">Music Home</a><br>
    <a href="?sc=52473">Accessories</a><br>

    But the links are over 30 in number and I wanted to simplify by just clinking on the (home) link and the page will reffresh to the a new sub-category on the main page...

    I don't know if this is clear but I would appreciate any help.

    Thanks in advance

    Marco

  • #2
    Regular Coder
    Join Date
    Sep 2007
    Location
    AZ, USA
    Posts
    685
    Thanks
    6
    Thanked 46 Times in 46 Posts
    location.reload(true)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •