Click to See Complete Forum and Search --> : Help Please !!!
Aarondb123
12-11-2002, 02:27 AM
I dont knwo to much about HTML codeing I am hopeing some one can help me. What im trying to do is creat a HTML code that will open 2 different pages with one link.
I want the link to say ( Download ) and I want it to open these 2 pages
http://www.sniger.homestead.com/files/WARCRAFT.3.104.LEITWOLF.NOCD.ZIP
AND
http://www.clickxchange.com/fr.phtml?act=898675.9
Please can some one help or show me some one who can.
Thanks
-Sniger
Aarondb123
12-11-2002, 09:36 AM
Eather the Code that you gave me does not work or i did not enter the links right can you or some one else help in more detail. thank you
Stefan
12-11-2002, 11:38 AM
Originally posted by Aarondb123
Eather the Code that you gave me does not work or i did not enter the links right can you or some one else help in more detail. thank you
You need to replace the "..." in both the href and the onclick with 1 of the links in each.
Also, if you have a preference for which link should always work (even without javascript) it should be the one in the href="" and the onclick will only wrk if JS is available.
Depending on your desired effect you might want to use alos eg target="_blank"
Aarondb123
12-11-2002, 05:09 PM
thanks so much for all your help i have just one more qestion how do i get the link to open in a new window and if i want to add a third link what do i need to do.
Thanks again for your help
Aarondb123
12-12-2002, 01:21 AM
This is my HTML code
<a
href="http://www.sniger.homestead.com/files/platinum.zip" onClick="self.location.href='http://www.clickxchange.com/fr.phtml?act=898675.9';return true;">Download</a>
Where do I puit the HEML code to open the new window window.open()
Stefan
12-12-2002, 08:01 AM
Originally posted by Aarondb123
This is my HTML code
<a
href="http://www.sniger.homestead.com/files/platinum.zip" onClick="self.location.href='http://www.clickxchange.com/fr.phtml?act=898675.9';return true;">Download</a>
Where do I puit the HEML code to open the new window window.open()
Alternativly, if you are NOT looking for 2 new windows, but want to load one of the links in the exsisting window, this would make it work too
<a target="_blank"
href="http://www.sniger.homestead.com/files/platinum.zip" onClick="self.location.href='http://www.clickxchange.com/fr.phtml?act=898675.9';return true;">Download</a>