Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2011
    Thanked 0 Times in 0 Posts

    Question How to mask a url with another url

    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.



  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Halle (Saale), Germany
    Thanked 1,053 Times in 1,026 Posts
    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.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts