#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2011
    Posts
    111
    Rep Power
    4

    How to hide actual url from status bar?


    Hi. I've a joomla site to promote different products and wonder how I hide the actual url from the status bar and show my site url and a page instead? I just want to kind of not sure the advertisement url and info so some user not think I'm making commission.

    It's not a discussion about if I should hide or not, etc. It's about how to hide and show a different url on status bar but when they click it will go to the actual or origin url?

    I can think of this.

    <a onclick="direct('http://www.actualurl.com');" href="#"></a>

    Inside direct function I know how to forward. But this will show the # side at the end.

    Is it possible to show maybe something instead of # or my site url plus a page like www.mysite.com/productname?

    Is there an easy way that will use some simple js and not use jquery or plugin as I use joomla and maybe hard to include jquery and other plugin?

    Hope anyone can help. Thank you.
  2. #2
  3. For POny!
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2012
    Location
    Amsterdam
    Posts
    416
    Rep Power
    115
  4. #3
  5. A Not To Shabby Code Smurf
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2008
    Posts
    1,169
    Rep Power
    184
    Code:
    <a onclick="direct('http://www.actualurl.com');return false" href="http://www.mysite.com/productname - My Site Name Here">Link Text Here</a>

IMN logo majestic logo threadwatch logo seochat tools logo