SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Oct 2003
    Location
    Netherlands
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question designMode: setting attributes.

    I'm trying to make a CMS for my website, posting new entries using Mozilla's RTE specs. So far so good, but when I want to create a link, for instance, I want to set extra attibutes for title and rel. Same for images (alt, title), etc.

    Does anybody know how to set extra attributes in designMode?

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't think it's possible, unless you write the interfacing code yourself, which won't be easy.

    You'll probably have better luck with a Java WYSIWYG editor.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  3. #3
    SitePoint Member
    Join Date
    Oct 2003
    Location
    Netherlands
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm, I'm using the 'formatblock' command now, specifying each tag separately, with attributes. Only problem with this is that the closing tag uses all attributes too.. But for now this seems to be the only workaround..

    No further ideas?

  4. #4
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, no epiphanys today.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •