1. #1
    Sencha User
    Join Date
    Sep 2013
    Posts
    9
    Vote Rating
    1
    mirror51 is on a distinguished road

      0  

    Default Answered: HOw can i create hyperlinks in Ext js 4.2.1

    Answered: HOw can i create hyperlinks in Ext js 4.2.1


    I am creating a footer where i have the 5-6 hyperlink elements like



    Privacy | Aboutus | contactus
    so that when user click on it then link opens in another tab of center Panel.

    what is the best way to do that

  2. As far as I know, if you create an actual hyperlink, then the browser will control how it is dealt with and the browser will open a new tab or window depending on user settings. If you want to open a tab inside your application (in a tab panel), then one way would be to use a button or some other element and style it to look like a hyperlink. e.g. you can add a toolbar with buttons containing the links and style each button as follows:

    Code:
    Ext.create('Ext.Button', {
        html: '<span style="color: blue; text-decoration:underline;">Contact Us</span>'
    });
    Dont know if this is the best solution.

  3. #2
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,084
    Answers
    112
    Vote Rating
    95
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      0  

    Default


    As far as I know, if you create an actual hyperlink, then the browser will control how it is dealt with and the browser will open a new tab or window depending on user settings. If you want to open a tab inside your application (in a tab panel), then one way would be to use a button or some other element and style it to look like a hyperlink. e.g. you can add a toolbar with buttons containing the links and style each button as follows:

    Code:
    Ext.create('Ext.Button', {
        html: '<span style="color: blue; text-decoration:underline;">Contact Us</span>'
    });
    Dont know if this is the best solution.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."