1
attock
One click opens two links
  • 2007/3/31 1:24

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Hi,

I wana just the followings:

"

i.e. open two website by one click, but I have a question. The above code seems to work only if I include the followings:

include '../../mainfile.php';
include(XOOPS_ROOT_PATH."/header.php");
.. mt stuff..
include(XOOPS_ROOT_PATH."/footer.php");

is there a way not to include root header and footer while achieveing the goal of opening two links with one click?


Thanks

2
attock
Re: One click opens two links - Solved !!
  • 2007/3/31 1:27

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Nevermind, did a little googling, and found this link.


I can use the followings:

<a href="http://www.google.com" onclick="window.open('http://www.yahoo.com');return true;">Google hereYahoo in a new windowa>

3
BlueStocking
Re: One click opens two links - Solved !!

good catch....

BS
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

Login

Who's Online

175 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

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

Latest GitHub Commits