POPUPWINDOW{"topic" ...} -- opens a topic or url in a new window

  • Parameters:
    Parameter:Sorted descending Description: Default:
    width Width of window "600"
    url URL to open (if topic is not used)  
    top Top position "0"
    toolbar Show toolbars? "0"
    template View template to call when viewing a topic; not used for URLs "viewplain"
    status Show status? "1"
    scrollbars Show scrollbars? "1"
    resizable Is the window resizable? "1"
    menubar Show menubar? "0"
    location Show location bar? "0"
    left Left position "0"
    label Link label the topic or the url
    height Height of window "480"
    createnew Create a new window for each popup? "1"
    center Center the window? "0"
    "topic", topic="topic", topic="web.topic" Topic to open  
  • Example with topic link:
    %POPUPWINDOW{"VarPOPUPWINDOW" label="Open this topic in a new window"}%
    Generates: Open this topic in a new window
  • Example with url:
    %POPUPWINDOW{url="http://foswiki.org"}%
    Generates: http://foswiki.org
  • Enable POPUPWINDOW by writing %JQREQUIRE{"popupwindow"}% on the page
Topic revision: r1 - 19 Sep 2010, ProjectContributor
 
This site is powered by FoswikiCopyright © CC-BY-SA by the contributing authors. All material on this collaboration platform is copyrighted under CC-BY-SA by the contributing authors unless otherwise noted.
Ideas, requests, problems regarding Foswiki? Send feedback