Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Possible To Mask External Link

Posted on 2006-11-03
2
Medium Priority
?
146 Views
Last Modified: 2010-04-09
Hello all,

     I have a website where I have a link to an external page that has some information.  Is it possible to MASK that page with my URL?  I don't want to mask my entire domain on my site just this specific link.  Any suggestions is appreciated.  
0
Comment
Question by:fv858
2 Comments
 
LVL 9

Expert Comment

by:pallosp
ID: 17869586
You may put the external document into an iframe. It will appear under your domain.

<body style="margin:0px">
<script> document.body.scroll='no'; </script>
<iframe src="http://www.yahoo.com" style="border:none; width:100%; height:100%"></iframe>
</body>
0
 
LVL 11

Accepted Solution

by:
ethoths earned 2000 total points
ID: 17880329
Make your link call some javascript and have that javascript fetch the document and put it into the iframe.

<a onclick="javascript:GetDocument()">Get Document</a>

<script language="javascript">
    function GetDocument()
    {
        document.getElementById("IFRAMES ID").src=="http://www.yahoo.com";
    }
</script>
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question