1
phillipd
How to spawn a new browser window with a URL
  • 2004/10/26 21:03

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


Is there a XOOPS method to spawn a new browser window with a URL? I wish there was a search function on the XOOPS docs site...

What I need to do is spawn a browser window on the push of a button. I see some java script code to do this from a link but not a button.

Sample code would be greatly appreciated.

Yes, I'm a newbie at this...

Thanks

Doug P

2
m0nty
Re:How to spawn a new browser window with a URL
  • 2004/10/26 21:23

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


try in html

text

the target="_blank" will open a new window

3
phillipd
Re:How to spawn a new browser window with a URL
  • 2004/10/26 21:57

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


I need to call a function on the click of a button, which generates a url, from a DB query, then spawn a browser with the URL.

Thanks

Doug P

4
phillipd
Re:How to spawn a new browser window with a URL
  • 2004/10/27 13:27

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


In practice, I discovered that there are so many cities, when quering for one, you never get just one unless you type in the whole city name so I ended up displaying a list of links anyway, then the user clicks the link they want to see the map. It's kind of like a "Mapquest" with GIS layers added.

Thanks

Doug P

Login

Who's Online

477 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 477


more...

Donat-O-Meter

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

Latest GitHub Commits