1
konadu
adding pop up windows in xoops
  • 2006/12/10 12:26

  • konadu

  • Not too shy to talk

  • Posts: 116

  • Since: 2005/11/27


hi is it possible to add Pop Up windows in XOOPS so that when a particular page loads a pop-up window is displayed.


Thanks for the help in advance

2
wizanda
Re: adding pop up windows in xoops
  • 2006/12/10 13:06

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


You can do as we have and with the qOLOp, which then opens via java a popup on click...
Place this in either theme header or faster as we now have found it's own .js file...and include that with the theme...
function popitup(url) {
    
newwindow=window.open(url,'name','height=470,width=620,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1');
    if (
window.focus) {newwindow.focus()}
    return 
false;
}

So then anything labeled with popup and url will popup that page

<button onClick="return popitup('http://www.wizanda.com/chat/')" style="color: White; background-color: #000000;">qOLOpbutton>


Still working on a way my self for the popup to be the center right block...then will be happier

Login

Who's Online

268 user(s) are online (174 user(s) are browsing Support Forums)


Members: 0


Guests: 268


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits