locked
form's tab open new window RRS feed

  • Question

  • Question, on the tab menu on the form: General, details, etc... is there a way to set its target to _blank so that when the user clicks on it, it will actually open a new window instead of using the iFrame?

    Wednesday, December 10, 2008 8:22 PM

Answers

  •  

    Hi AznDude,

     

    I am not sure why you include iFrame if you dont want to use it.

    For the Tab onclick open new window, use this event:

     

    Code Snippet

    crmForm.all.tab0Tab.onclick = function() {

     

    //your logic here...blabla
    alert('clicked');

    }

     

     

     

    regards,

    Toong Yang

    Tuesday, January 6, 2009 1:47 AM

All replies

  •  

    cross site scriting should be enable and it will not open new windows

     

    see iframe properties.

     

    Regards,

    Imran

     

    Sunday, January 4, 2009 1:39 PM
    Moderator
  •  

    Hi AznDude,

     

    I am not sure why you include iFrame if you dont want to use it.

    For the Tab onclick open new window, use this event:

     

    Code Snippet

    crmForm.all.tab0Tab.onclick = function() {

     

    //your logic here...blabla
    alert('clicked');

    }

     

     

     

    regards,

    Toong Yang

    Tuesday, January 6, 2009 1:47 AM
  • I am not aware of your actual req., but a suggestion (supported way Smile)

     

    Instead of a tab, you can add a link in the left nav bar via isv and onclick of the link open a new window.

    Tuesday, January 6, 2009 3:57 AM