Solved

Possible To Mask External Link

Posted on 2006-11-03
2
141 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 500 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 four methods for overlaying images in a container on a web page
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

724 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