URLs in the message boards
-
In the lounge there are many massages with links. Someone write the URL using the HTML tags; someone simply write the URL as plain text. In this second case, it would be nice if the parser could recognise the "http://" header of the word and add the proper HTML tag.
-
In the lounge there are many massages with links. Someone write the URL using the HTML tags; someone simply write the URL as plain text. In this second case, it would be nice if the parser could recognise the "http://" header of the word and add the proper HTML tag.
I believe Chris is working on this, but as with all development other things keep getting in the way. Michael :-) Look, try and use your intelligence, man, even if you are a politician. - The Doctor
-
In the lounge there are many massages with links. Someone write the URL using the HTML tags; someone simply write the URL as plain text. In this second case, it would be nice if the parser could recognise the "http://" header of the word and add the proper HTML tag.
-
In the lounge there are many massages with links. Someone write the URL using the HTML tags; someone simply write the URL as plain text. In this second case, it would be nice if the parser could recognise the "http://" header of the word and add the proper HTML tag.
I would like to see an additional button similar to Quote Selected Text, which prompts via JavaScript for a desired URL and a textual description, and inserts
<a href="_URL_">_description_</a> [<a href="_URL_" target="_blank">^</a>]
(Maybe the description field should be defaulted with Clickety ;) ) So Chris has not to implement a parser for the postings... Regards Thomas Sonork id: 100.10453 Thömmi
Disclaimer:
Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you. -
I would like to see an additional button similar to Quote Selected Text, which prompts via JavaScript for a desired URL and a textual description, and inserts
<a href="_URL_">_description_</a> [<a href="_URL_" target="_blank">^</a>]
(Maybe the description field should be defaulted with Clickety ;) ) So Chris has not to implement a parser for the postings... Regards Thomas Sonork id: 100.10453 Thömmi
Disclaimer:
Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.Not tested, but just hacked in:
function EnterHyperLink()
{
var txtURL = prompt("Enter URL","");
if (txtURL == "")
return;var TextArea = document.MessageForm.ContentText; var text = TextArea.value; if (document.MessageForm.Format && !document.MessageForm.Format.checked) { text += txtURL; } else { var txtDesc = prompt("Description","Clickety"); if (txtDesc == "") return; text += "<a href=\\"" + strURL + ">" + strDesc + "</a>"; text += " \[<a href=\\"" + strURL + " target=\\"\_blank\\">^</a>\] "; } TextArea.value = text; TextArea.focus();
}
Regards Thomas Sonork id: 100.10453 Thömmi
Disclaimer:
Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you. -
Not tested, but just hacked in:
function EnterHyperLink()
{
var txtURL = prompt("Enter URL","");
if (txtURL == "")
return;var TextArea = document.MessageForm.ContentText; var text = TextArea.value; if (document.MessageForm.Format && !document.MessageForm.Format.checked) { text += txtURL; } else { var txtDesc = prompt("Description","Clickety"); if (txtDesc == "") return; text += "<a href=\\"" + strURL + ">" + strDesc + "</a>"; text += " \[<a href=\\"" + strURL + " target=\\"\_blank\\">^</a>\] "; } TextArea.value = text; TextArea.focus();
}
Regards Thomas Sonork id: 100.10453 Thömmi
Disclaimer:
Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.That's way cool! :-) Nish :cool:
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
In the lounge there are many massages with links. Someone write the URL using the HTML tags; someone simply write the URL as plain text. In this second case, it would be nice if the parser could recognise the "http://" header of the word and add the proper HTML tag.
I've added a new 'link' button - thanks to Jason Jystad. cheers, Chris Maunder
-
I've added a new 'link' button - thanks to Jason Jystad. cheers, Chris Maunder
excellent and clean solution :-D
-
I've added a new 'link' button - thanks to Jason Jystad. cheers, Chris Maunder
Chris Maunder wrote: I've added a new 'link' button It even inserts
target="_blank"
... cool. Thanks Chris. Regards Thomas Sonork id: 100.10453 Thömmi
Disclaimer:
Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you. -
Chris Maunder wrote: I've added a new 'link' button It even inserts
target="_blank"
... cool. Thanks Chris. Regards Thomas Sonork id: 100.10453 Thömmi
Disclaimer:
Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.It adds target="_blank" only if the link is outside of CodeProject. cheers, Chris Maunder