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:

<a href='http://www.site1.com' onclick=" . "javascript:openWithSelfMain('http://www.popup1.com/','popup',10,10);" ."> </a>"

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 window</a>

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

good catch....

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

Login

Who's Online

98 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 98


more...

Donat-O-Meter

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

Latest GitHub Commits