...

View Full Version : How to mask a url with another url



kernelsanders44
05-10-2011, 01:12 PM
I need assistance with a coding issue on my website. I am using a 3rd party application to provide the "contact us" form. I have set the form itself to open up in a new window as the original design was for it to open up as a pop up on the same page using a button that they provided, which I chose not to use. However, when the form opens up in the new page it displays the url of the 3rd party and I would prefer it to show a url in common with the rest of my site.

Here is the JavaScript that calls the form within the Homepage:
<!-- Start Formsly.com code v1.1.1 -->
<script language="javascript">document.write('<link rel="stylesheet" type="text/css" href="http://formsly.com/customcss/?449" media="screen" />');if (typeof jQuery == 'undefined') {document.write('<scr'+'ipt src="', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js', '" type="text/JavaScript"><\/script>');};document.write('<scr'+'ipt src="http://cdn.formsly.com/js/formslymin.js" type="text/javascript"><\/script>');</script>
<!-- End Formsly.com code -->

and this is the code for the ahref for the contact us link, where I have tried to redirect the page using a code tip I found, which is unsuccesful:


<span lang="en-gb">&nbsp;</span><a title="Click here for all our contact details." href="http://formsly.com/contact/?i=449&c=x3EkCu1Dla824CA8Bc18" class="myformslycontactlink" onclick="return
redirect('http://www.silvermarblesolutions.com/contact-us.html');" valign="center">Contact us</a></strong></td>

I would really appreciate it if someone could provide some advice on the best way to do this. I believe it involves frames.

Cheers,

Steve

VIPStephan
05-10-2011, 01:46 PM
The only possibility (although I do not endorse this) would be an inline frame. Otherwise it would be best to host the form on your own server and not use a third party provider.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum