![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Web Design Forums and discussions on webdesign |
Web Design | |||||||||
|
|
|
|
| |||||
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Civilians | Thanks. You should should relative paths for your html codes: <form method="post" onsubmit="ProcessInfo()" action="form_processor.php"> <script type="text/javascript" src="browserdetect.js"></script> <script type="text/javascript" src="editor.js"></script> <script type="text/javascript"> Display('htmlcontent','.',475,200) </script> <input type="submit" value="Submit" name="update" /> </form> I have a JS question for you. Which part of your JS codes does the work on HIGHLIGHTED CODES? Such as I want to underline some text, I highlight them then press UNDERLINE. I am not good at JS. How to isolate highlighted text in a textarea? Using objects? Something also weired when I try both yours and others codes. If I have a HREF with local path such as /cgi-bin/xxx.cgi, it will always change it to file:///C:/cgi-bin/xxx.cgi That really bad, because I need the relative local path to move the editted html onto different servers. |
|
| | #2 (permalink) |
| Civilians | http://links.i6networks.com wrote: > Thanks. You should should relative paths for your html codes: Why? That way I don't have problems when using mod_rewrite. If I used relative paths, then I'd get a lot of file not found errors. > I have a JS question for you. Which part of your JS codes does the work on > HIGHLIGHTED CODES? Such as I want to underline some text, I highlight them > then press UNDERLINE. I am not good at JS. How to isolate highlighted text > in a textarea? Using objects? Check the "DoTextFormat" function in editor.js > Something also weired when I try both yours and others codes. If I have a > HREF with local path such as /cgi-bin/xxx.cgi, it will always change it to > file:///C:/cgi-bin/xxx.cgi That really bad, because I need the relative > local path to move the editted html onto different servers. This has to do with your browser's editor api, not the code. Try a different browser. -- Justin Koivisto - spam@koivi.com PHP POSTERS: Please use comp.lang.php for PHP related questions, alt.php* groups are not recommended. |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: Any Free Web Based HTML Editor Tools? | Justin Koivisto | Web Design | 0 | 08-02-2004 17:30 |
| Re: Any Free Web Based HTML Editor Tools? | Rob | Web Design | 0 | 08-02-2004 17:30 |
| Re: Any Free Web Based HTML Editor Tools? | http://links.i6networks.com | Web Design | 0 | 08-02-2004 16:30 |
| Re: Any Free Web Based HTML Editor Tools? | Justin Koivisto | Web Design | 0 | 08-02-2004 15:30 |
| Looking for web based wysiwyg html editor | John Dalberg | Web Design | 4 | 06-26-2004 07:29 |
![]() | ![]() | ![]() |