WordPress.org

Ready to get started?Download WordPress

Forums

Java popup quicktag problem (2 posts)

  1. Beel
    Member
    Posted 9 years ago #

    Yeah, I see a potential problem. You have to break it out more:
    'blah-blah... Image('
    would be why it bonks. Maybe try ("URL HERE", Width...

  2. reevo
    Member
    Posted 9 years ago #

    I hadn't tried doing it in peices so I took your advice, thanks.
    I found that it was the apostrophes (') that were the trouble like you thought. It now works and looks like this...

    edButtons[edButtons.length] = new edButton('ed_<'
    ,'popup'
    ,'<**a href="javascript:showImage(LINK IN APOSTROPHES, WIDTH, HEIGHT)">LINK TITLE<**/a>'
    ,''
    ,''
    );

    ...it worlks a treat.
    Thanks for your time Beel
    Reevo

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.