Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: DiscoBiscuit on November 04, 2009, 02:35:42 PM
-
I'm wanting it to open links with the default browser or steam in-game browser when people click on links. Right now <a href> opens the link in the motd, <a href="blah.com" target="_blank"> doesn't work at all, and steam://openurl/blah doesn't work either. Is there a way to do it?
-
I think garry and valve blocked a lot of things like that.
-
Source's use of IE base code is quite limited... I've no idea how to have the defaullt browser open. I've seen a few posts here asking how to stop it, but don't remember if anyone posted the HTML that was doing it.
As for game browser... why? I suppose you could find some way, using lua perhaps, to have them connect to another game server from a link, but I don't imagine any way to have them open the game browser.
-
I meant the in-game web browser, like to open a website link.
-
Oh, unless something changed (like Garry), placing a link
<a href="http://www.blah.com"> View this link </a>
should work.
Don't place a target in it, and make sure you're using full URL "http://www.blah.com">
Our SVN now even allows the motd to point to an external link.
Edit by Megiddo: Placed code in a code block so it could be seen. :)
-
yes in fact the only thing that you cant do is anchor tags. for example http://motdjay.netne.net/ (http://motdjay.netne.net/) is the URL i loaded into my MOTD.
But if you are asking if you can START like a IE or FF and send it to i link VIA motd then No. Theres a code in assmod (**** over servers and stuff with simple Memory mod) that does do this and it cashes games and so on.
Anyway i know my HTML skills are vvery good so i dont want to hear it lol
Edit by Megiddo: These are family friendly forums, Jay. Please no swearing.