Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 08-03-2004, 01:30   #1 (permalink)
http://links.i6networks.com
Civilians

 
Default Re: Any Free Web Based HTML Editor Tools?

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.


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 08-04-2004, 02:47   #2 (permalink)
Justin Koivisto
Civilians

 
Default Re: Any Free Web Based HTML Editor Tools?

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.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 09:43.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.61667 seconds with 19 queries