Page 1 of 1
to open your links : YoWindow.com and yr.no in a new window
Posted: Wed Jun 01, 2011 1:18 pm
by George
what code and where do I add it to open your links(YoWindow.com and yr.no) in a new window?
Re: to open your links : YoWindow.com and yr.no in a new win
Posted: Wed Jun 01, 2011 1:26 pm
by ikarus1969
George wrote:what code and where do I add it to open your links(YoWindow.com and yr.no) in a new window?
IE or Firefox: type Strg-N (Ctrl-N) and type in one of the URLs
to be serious: what kind of answer do you expect from your "minimalistic" question?
What about a short "Hello! I want to [this and that]. How do i do that? I tried already [this and that] but can't figure out. Thank you!"
(in case you are not confident with my answer read my signature...)
Re: to open your links : YoWindow.com and yr.no in a new win
Posted: Wed Jun 01, 2011 3:18 pm
by par
Hello, George, welcome to the forum!
In order to open link in a new window you need to edit the HTML code of the widget and to add target="_blank" parameter to <a> tags.
Find this part
Code: Select all
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;"><a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
And edit it this way, I have marked the changes in red color.
<span style="float:left;"><a
target="_blank" href="
http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;"><a
target="_blank" href="
http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
Make sure you are working with the widget generated with our widget setup page.
http://yowindow.com/weatherwidget.php
Re: to open your links : YoWindow.com and yr.no in a new win
Posted: Wed Jun 01, 2011 3:51 pm
by Wally©
As always...Pavel comes in with a very courteous and effective answer...