Results 1 to 6 of 6

Thread: Help with Weather gif
      
   

  1. #1
    hjmotie is offline Staff Sergeant
    Join Date
    Jul 2007
    Posts
    45

    Default 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. #2
    Join Date
    Jun 2007
    Location
    In front of my computer.
    Posts
    442

    Default Re: Help with Weather gif

    you need to add target=_blank

    I think you add it after the width= 127

  3. #3
    mwalsh62's Avatar
    mwalsh62 is offline Major
    Join Date
    Jul 2007
    Location
    U.S.A
    Posts
    426

    Default 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

  4. #4
    hjmotie is offline Staff Sergeant
    Join Date
    Jul 2007
    Posts
    45

    Default 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?

  5. #5
    hjmotie is offline Staff Sergeant
    Join Date
    Jul 2007
    Posts
    45

    Default 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

  6. #6
    grandjuke is offline Staff Sergeant
    Join Date
    Aug 2007
    Posts
    41

    Question 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????

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49