dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: Help Please !!!

  1. #1
    Join Date
    Dec 2002
    Posts
    4

    Exclamation Help Please !!!

    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/file...TWOLF.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
    Last edited by Aarondb123; 12-11-2002 at 03:29 AM.

  2. #2
    Join Date
    Dec 2002
    Posts
    4

    hummm

    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

  3. #3
    Join Date
    Nov 2002
    Posts
    984

    Re: hummm

    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"

  4. #4
    Join Date
    Dec 2002
    Posts
    4

    help

    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

  5. #5
    Join Date
    Dec 2002
    Posts
    4

    umm..

    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()

  6. #6
    Join Date
    Nov 2002
    Posts
    984

    Re: umm..

    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>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles