The Artima Developer Community
Sponsored Link

PHP Buzz Forum
Remote XUL Html Editor

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Alan Knowles

Posts: 390
Nickname: alank
Registered: Sep, 2004

Alan Knowles is Freelance Developer, works on PHP extensions and PEAR.
Remote XUL Html Editor Posted: Aug 8, 2005 9:24 PM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Alan Knowles.
Original Post: Remote XUL Html Editor
Feed Title: Smoking toooo much PHP
Feed URL: http://www.akbkhome.com/blog.php/RSS.xml
Feed Description: More than just a blog :)
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Alan Knowles
Latest Posts From Smoking toooo much PHP

Advertisement
After the last post, I finally managed to get to the point where the simple XUL HTML remote editor works.

Usage is pretty simple:
  • Install the files on your server
  • Add the css header
    <?xml-stylesheet href="HtmlEdit.css" type="text/css"?>

  • use the htmledit tag, it uses attributes
    eg.

     <htmledit value="hello world" />  

    • editorheight="400" (self explanitary)
    • editorwidht="700" (self explanitary)
    • imagepopup="name" where name is the id of a popup
    • linkpopup="name" where name is the id of a popup
    • value="the text to go in the editor"
  • For the image popup:
    • use imageurl="xxx" on the menuitem for the real image url to insert in the editor
  • For the link popup:
    • use url="xxx" on the menuitem for the url to insert into the editor
    • the url "pick:" just uses a javascript prompt to ask you for the url.

Read: Remote XUL Html Editor

Topic: blogZero Previous Topic   Next Topic Topic: Tuning Apache and PHP for Speed on Unix

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use