Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2007
    Location
    Fort Worth, Texas, United States
    Posts
    177
    Plugin Contributions
    0

    Default Adding a js link to an outside site

    Hi everyone,

    I want to add a banner from PetFinder to the footer of my page. It has an external file/javascript and I can't figure out how to go about it.

    This is what I need to add the Javascript header file -

    Code:
    <script type="text/javascript" language="javascript"  src="http://fpm.petfinder.com/js/qsearchdog.js"></script>
    and this is what I'm suppose to add to the portion of the website I want the banner to appear
    Code:
    <script language="javascript">pfsearch();</script>
    I had placed the banner link in footer banner 3 and added the code to my jscript_file.js file, but it didn't work. I think I needed to clean up the code.

    help?

    Vicky

  2. #2
    Join Date
    Oct 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Adding a js link to an outside site

    You could insert the pure HTML as a banner. It would work the same except without the field check.

    HTML Code:
    <table cellpadding="1" cellspacing="0" width="425" border="0" bgcolor="#ffffcc" height="54">
    <form action="http://search.petfinder.com/search/search.cgi" method="get" name="pfsearch" target="_blank">
    <input type="hidden" name="preview" value="1">
    <tr>
    <td colspan="10" bgcolor="#CC3366" height="1"><img src="http://www.petfinder.com/common/images/spacer.gif" height="1" width="468"></td>
    </tr>
    <tr>
    <td rowspan="7" height="57" bgcolor="CC3366" width="0%"><img src="http://www.petfinder.com/common/images/spacer.gif" height="1"></td>
    <td colspan="8" height="2"><img src="http://www.petfinder.com/common/images/spacer.gif" height="0" width="1"></td>
    <td rowspan="5" bgcolor="CC3366" width="0%"><img src="http://www.petfinder.com/common/images/spacer.gif" height="60" width="1"></td>
    </tr>
    <tr>
    <td rowspan="3" width="9%"><img src="http://www.petfinder.com/common/images/fpm/QSsmHound.gif" width="44" height="57"></td>
    </tr>
    <tr>
    <td colspan="4" height="11"><div align="center"><img src="http://www.petfinder.com/common/images/fpm/qsearchtitleY.gif" width="204" height="12"></div></td>
    <td colspan="3" height="11" align="center"><img src="http://www.petfinder.com/common/images/fpm/logosmpY.gif" width="103" height="16"></td>
    
    </tr>
    <tr>
    <td align="right" valign="middle"><font face="Arial, Helvetica, sans-serif" size="-1" color="#"><b>Animal</b></font></td>
    <td align="left" valign="middle"> <font face="Arial, Helvetica, sans-serif" size="-2">
    <select name="animal">
    <option value="" selected> --Select--
    <option value="Bird"> Bird
    <option value="Cat"> Cat
    <option value="Dog"> Dog
    <option value="Horse"> Horse
    
    <option value="Pig"> Pig
    <option value="Rabbit"> Rabbit
    <option value="Reptile"> Reptile
    <option value="Small&Furry"> Small&Furry
    </select>
    </font></td>
    <td align="right" valign="middle"><font face="Arial, Helvetica, sans-serif" size="-2"><b><font size="-1">Breed</font></b></font></td>
    <td align="left" valign="middle">
    <input name="pet.Breed" style="FONT-SIZE:12px" size="5">
    </td>
    <td align="right" valign="middle" nowrap> <font face="Arial, Helvetica, sans-serif" size="-1"><b>Zip
    Code</b></font><br>
    
    </td>
    <td align="left" valign="middle"><font size="-5">
    <input name="location" style="FONT-SIZE:12px" size="5">
    </font> </td>
    <td align="center" nowrap>
    <input type="image" src="http://www.petfinder.com/common/images/fpm/QsearchGoY.gif" width="28" height="27" border="0" align="TOP">
    </td>
    </tr>
    <tr>
    <td colspan="8" height="2"><img src="http://www.petfinder.com/common/images/spacer.gif" height="1"></td>
    </tr>
    <tr>
    <td colspan="9" bgcolor="#CC3366"><img src="http://www.petfinder.com/common/images/spacer.gif" height="1" width="1"></td>
    </tr>
    </form>
    </table>

 

 

Similar Threads

  1. Adding a reciprocal image link to my web site.
    By Tangylingerie in forum General Questions
    Replies: 3
    Last Post: 3 Sep 2013, 06:18 AM
  2. adding a link to my site's footer
    By mzimmers in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 19 Feb 2010, 02:54 AM
  3. Adding site map link to home page footer
    By allaboutme in forum General Questions
    Replies: 5
    Last Post: 16 Sep 2009, 11:24 AM
  4. Adding a js link to an outside site PetFinder
    By TrvlFox in forum General Questions
    Replies: 0
    Last Post: 17 Oct 2007, 01:23 AM
  5. Site map adding page link help
    By miles in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Jan 2007, 03:09 PM

Posting Permissions

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