TBolt
-
Posts
9 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by TBolt
-
-
Hi, all. I'm new to web dev, as you'll be able to tell.I have posted a small script from Accuweather.com to a test web page HERE. When a visitor clicks on the weather map or any graphical part of the weather window, the user leaves my site and goes to Accuweather.com. Does anyone know what code I can add in order to force the click to open in a new window?I'm not familiar with scripts at all. I very much appreciate your help on this.
Cheers!<!--begin accuweather--></div><div style="text-align: center;"><script src="http://netwx.accuweather.com/netweatherV2.asp?lang=eng&zipcode=93650&size=1&theme=1&metric=0"></script><br></div><div style="text-align: center;"><span style="font-family: Arial; font-size: 10px;"><a href="http://wwwa.accuweather.com/adcbin/public/index.asp?partner=netWeather" target="_blank">WeatherForecasts</a> | <a href="http://wwwa.accuweather.com/maps-satellite.asp?partner=netWeather" target="_blank">WeatherMaps</a> | <a href="http://wwwa.accuweather.com/index-radar.asp?partner=netWeather" target="_blank">WeatherRadar</a></span><!--end accuweather--> -
Thanks for checking. At first, the animation wasn't loading for me. I noticed that now, though, the animation will load the first time you see that web page per web visit. With Firefox, I need to close the browser and then re-visit the site in order to see the animation. With IE, the animation loads every time I refresh the web page.Either way is fine. I can live with it. <edit> It's the "Safety" banner that I've been testing on the "Safety" web page.What .gif doesn't work? It works fine for me and im using firefox 2.0.0.1. I don't see any problems! -
Hi, folks. :)I'm putting together a web site for my brother. I added an animated .gif (Safety banner) to this page and noticed that the animation only works in IE, not Firefox 2.0.0.1 (version 2). For a minute, I thought that Mozilla disabled animated .GIF's in their web browser. Then, I realized that I am able to see the animated .gif at the top of the Web page in both IE and Firefox. So, I'm completely unsure why one .gif works and another .gif doesn't. I didn't find anything in the settings that would allow me to change how Firefox is handling the animated .GIF.Does anything obvious stick out to anyone?Thanks for your input!
-
Wonderful! Thank you, zanfranceschi. :)Where'd you learn that? heheonclick="window.open('http://www.google.com');" -
Okay, quick question...how do we change this code so that the link opens up in a new browser?<input type=button value="submit" onclick="java script:window.location.href='http://www.google.com';" />Thank you much!
-
Hi, guys. :)When I tested pulpfiction's button, (http://w3schools.invisionzone.com/index.php?showtopic=4987&hl=buttons), my web browser blocked the action until I allowed it. I'm just wondering if there is ANY other way to link a button to a web page w/out concerning the web site visitor about blocked actions.[edit]Nevermind...the web browser had to be set simply because I recently reformatted my system. Thank you for this helpful forum.TBoltU used to think that but have you tested it? buttons aren't at all affected by the a tag. You must use javasvript
Accuweather Script - Open in New Window
in General
Posted
Can I just change _self to something else, like _blank or something? I'm not very familiar with script writing.Thank you much.