1
jpco_122122
javascript has been successfully added!

I had edit the menu on XOOPS adding quite javascript and im successful with this. I had created a popup menu,here's the script..I want to share it with anybody. Thus anyone knows how to edit this code so that it wont popup and it will open in the same window again?




CrimeMapping



2
stiffo
Re: javascript has been successfully added!
  • 2004/11/20 22:19

  • stiffo

  • Just popping in

  • Posts: 9

  • Since: 2004/9/13


I am not sure what your are trying to accomplish but if you want to open a new page in the same window try using:
this.document.location or this.location or document.location... don't remember the exact syntax...

Thanx

3
coopersita
Re: javascript has been successfully added!

Try
document.location.replace("new address here");

the only problem is that if people click the back button will get two pages back (the new page replaces the old page in the list of pages visted).

Login

Who's Online

259 user(s) are online (222 user(s) are browsing Support Forums)


Members: 0


Guests: 259


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