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

Thread: Javascript Ext.Button

  1. #1
    Join Date
    Nov 2011
    Posts
    1

    Javascript Ext.Button

    Hi
    I am new with Javascript and struggling with a link
    Here is the question:

    I have this piece of code for a button to open a page:

    var no1Area = new Ext.Button({id: 'no1A',html:'Button number 1',height:30, width:269, cls: "buttonItem2level",pressedCls:'buttonDown2level',padding:'0 0 0 6',

    listeners: {
    tap : function(evt,target){ if(this.id!=buttonActiv[buttonActiv.length-1]){ crSubPor(this,'level3Co'); SeccionesEntra(this.id); buttonActiv.push(this.id); console.log('franceItem llega boton== '+buttonActiv)} }
    },});

    Later on the code I have:

    porParisM = new Ext.Panel({
    id:'porParis',
    cls:"class_paris",
    html: "<div class='porta_paris'><div id='cir_green'></div><div id='cir_blue'></div><div id='box_france_99'></div><div id='box_france_central'></div></div>"
    }
    );

    Basically I need the pictures (included in the <div> tags to link to the same place...
    Can anybody help?

    thanks a lot

  2. #2
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    Quote Originally Posted by tivolevow View Post
    Basically I need the pictures (included in the <div> tags to link to the same place...
    What pictures? I see no pictures in your code. Don't mention you have posted a fragment of a code which uses custom previously created methods, about which we have not even the slightest idea how do they look like and what do they do.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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