Announcement

Collapse
No announcement yet.

Help with Weather gif

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help with Weather gif

    Hi All

    I've put a gif from wunderground onto my website to show the weather. If you click on the gif, it opens away from my site to the wunderground site. I'd like this to happen in a new window. Do I need to edit the html code that wunderground gave me?

    The code reads:
    <a href="http://www.wunderground.com/US/FL/Pl...izmotimetemp24">
    <img src="http://banners.wunderground.com/weat...FL/Placida.gif" border=0
    alt="Click for Placida, Florida Forecast" height=41 width=127></a>

    Can anyone help? Thanks!


  • #2
    Re: Help with Weather gif

    you need to add target=_blank

    I think you add it after the width= 127
    http://www.penniesnpence.com

    Comment


    • #3
      Re: Help with Weather gif

      Hi,

      Add the target="_Blank" after href:

      <a href="http://www.wunderground.com/US/FL/Pl...izmotimetemp24" target="_Blank">

      See ya',

      Mike

      Comment


      • #4
        Re: Help with Weather gif

        Hi
        Thank you so much for this; I thought it must be something of the sort, but am rubbish at html.

        I added target=blank so the code now reads:

        <a href="http://www.wunderground.com/US/FL/Pl...izmotimetemp24"> target="_Blank">
        <img src="http://banners.wunderground.com/weat...FL/Placida.gif" border=0
        alt="Click for Placida, Florida Forecast" height=41 width=127></a>

        However, it has placed the words target=blank above the gif and still opens to a new website. Presumably I've not put it in quite the right place?

        Comment


        • #5
          Re: Help with Weather gif

          Hold on; have sorted it!! There was > left before the target=blank. Took it and hey presto.
          Thank you so much guys, wouldnt have managed it without you

          Comment


          • #6
            Re: Help with Weather gif

            Hi all, I need just a small box on my page constantly showing present temperature at certain city, have seen this on many websites. Don't want to go to any weather pages. Any ideas????

            Comment

            Working...
            X