Results 1 to 2 of 2

Thread: open new window without toolbar adressbar failed

  1. #1
    New user
    Join Date
    07-30-14.
    Posts
    7

    Frage open new window without toolbar adressbar failed

    hello there i try to add this code in html area but its not working ?

    <a href=\"#\" onclick=\"window.open('http://www.schrijfblok.nl','Papier producten',
    'width=300,height=300,scrollbars=no,toolbar=no,loc ation=no,resizable=yes'); return false\">Klik hier voor meer informatie</a>

    screenshot
    http://prntscr.com/4ahywe


    how can i add this ?

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Don't use the TinyMCE code editor since the RTE will strip most of the code. Instead try it either with the "HTML" content element or paste the code into a new template file (e.g. "popup.html5") and add it then with the file insert tag {{file::popup.html5}} wherever you want.

    PS: Why did you mask the double quote character?
    Contao Community Moderator
    → Support options

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
  •