Jump to content

a href problem


robert_gsfame

Recommended Posts

it's not possible,because the browser developers think it's a security issue[i think it is,imagine I put a link for a bad thing and you see a good thing in status bar......].

but maybe it works.

you can put a hyperlink with href="whatever you want" and  on-click change  the location :

    <script language="javascript" type="text/javascript">

    function GoTo(URL)

    {

      document.location=URL;

      return false;

    }

    </script>

<a href="Goooood Thing" onclick="GoTo('http://www.Baaad-thing.com');">Heha</a> :)

Link to comment
https://forums.phpfreaks.com/topic/205976-a-href-problem/#findComment-1078820
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.