creating link in joomla

Category: Joomla 3

InMotionFans
n/a Points
Asked:
2014-08-01 5:50 am EST

Hits: 16
when i insert an image banner on my page, i want to link the banner to an executable file on the local machine. how can i do it so that the executable runs in a new tab or the current page?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

Scott
Staff
20,125 Points
2014-08-01 8:35 am EST
Hello,

When pointing to a file on a local machine, it looks slightly different than the format within a web server.
For example, if you were to point to dog.png in an images file on a webserver you would use :

<href="/images/dog.png"> link text</a>

But to point to a file in a specific place on the local machine, it would need to be set up as:
<href="file:///c:\folder\folder\dog.png>

You can see it is a bit different. You will need to know that the user has the file in the exact path you expect it or it will not find it.

Also, executable files are not opened in browser tabs, but run on the users desktop itself. This is for security reasons and no browser has any plugin to run them. Some files such as video files may run through a plugin in a browser window, but executables do not. The best you can hope for is when you click on the link, the browser offers to download the file, which would not help you if it is already located on the local machine.

Kindest Regards,
Scott M

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!