Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Function Help

  1. #1
    New to the CF scene
    Join Date
    Sep 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Function Help

    Code:
    this.doc.getElementById('lbExif').onclick = function() {(null); return false; }
    	this.doc.getElementById('lbInfo').onclick = function() { (null); return false; }
    In the above function, null was added until I can find ' How to make this function open up new pages? The first one lbExif will be a .txt file and the second will be a .html file.

    Thanks for any direction you can offer.


    Jbert

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,504
    Thanks
    3
    Thanked 501 Times in 488 Posts
    Code:
    this.doc.getElementById('lbExif').onclick = function() {window.top.location='myurl.htm'; return false; }
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/


  •  

    Posting Permissions

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