homerUK
03-21-2003, 04:52 PM
hey,
is there a way to create some sort of listener on an editable div layer? What I need to be able to happen is this:
The user types in a DIV layer some text, when they enter something like "www.mysite.com" it will automatically become a hyperlink, so if they click on it, it will open the page in a new window.
I also have a popup window which the user can type the HTTP:// value of the URL and add styles to it.
So basically, I need some script which will make any hyperlinks inside that layer clickable.
Any suggestions?!
is there a way to create some sort of listener on an editable div layer? What I need to be able to happen is this:
The user types in a DIV layer some text, when they enter something like "www.mysite.com" it will automatically become a hyperlink, so if they click on it, it will open the page in a new window.
I also have a popup window which the user can type the HTTP:// value of the URL and add styles to it.
So basically, I need some script which will make any hyperlinks inside that layer clickable.
Any suggestions?!