Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    72
    Answers
    3
    Vote Rating
    2
    sephyroth69 is on a distinguished road

      0  

    Default Unanswered: How to do an image map in sencha touch ?

    Unanswered: How to do an image map in sencha touch ?


    Pretty much everything in the question.
    I know this exists in html but i don't see how to do it in sencha touch...
    Any pointer would be much appreciated !

  2. #2
    Sencha User
    Join Date
    Nov 2011
    Posts
    72
    Answers
    3
    Vote Rating
    2
    sephyroth69 is on a distinguished road

      0  

    Default


    Does this ring a bell to anyone ? Is there a Sencha way of doing that ?

  3. #3
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Answers
    29
    Vote Rating
    7
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    Wow, nothing specific no... I haven't used an image map in a decade I think you'd just need to hook into the .element events but we don't have any specific guidance on that
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  4. #4
    Sencha User
    Join Date
    Nov 2011
    Posts
    72
    Answers
    3
    Vote Rating
    2
    sephyroth69 is on a distinguished road

      0  

    Default


    Well, that's what I thought too but I thought I'd check with you guys before... That's a shame...
    I'll try to find a way to do that and If I do find a clean way, by extending some Ext component, I'll submit it for your approval.

    As I am supposed to deal with image which have parts clickable on them, but not rectangular ones, I'm starting to think that a svg or something like that would suit me better no ?

    Any tips as a starter ? Maybe start with the img component and use the tpl property ?

  5. #5
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Brisbane
    Posts
    244
    Answers
    10
    Vote Rating
    3
    SuperRoo is on a distinguished road

      0  

    Default


    Hi,
    any more news on an image map??
    I'm looking for a way to break up an image into areas that when touched will fire an event to bring up a message box/overlay....does it depend on the resolution of the mobile device?

  6. #6
    Sencha User
    Join Date
    Aug 2011
    Location
    London
    Posts
    392
    Answers
    14
    Vote Rating
    16
    digeridoopoo will become famous soon enough

      0  

    Default The easiest way...

    The easiest way...


    What type of graphic is it? An easy way would be to break up the image into parts and then have them as Ext.Img items, then you could have a listener for each. You would have to arrange the items in a container and flex each one to fit to make up the whole graphic. Sencha architect would be perfect for this.

    Alternatively if you go over to the Sencha Try website you will see a more complex shape (a map) made using a vector shape that has individual states you can tap on. This would be more tricky as you would have to use a graphic program like illustrator to export as svg then you would need another online tool to convert to a shape for sencha...I forget the name of the site but if you search for svg on here it's in one of the posts.

    Hope his helps...

    :-)

  7. #7
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Brisbane
    Posts
    244
    Answers
    10
    Vote Rating
    3
    SuperRoo is on a distinguished road

      0  

    Default


    Hi digeridoopoo,
    sounds oz to me !!
    thanks for the advice...the image I am using is a risk grid: so maybe I am in the wrong posting...I am using an image in an asp.net app that i want to translate into touch 2.2 via Architect.

    High High Extreme Extreme
    Moderate High High Extreme
    Low Moderate High Extreme
    Low Low Moderate Extreme
    Low Low Moderate High
    As from Wikipedia Risk Matrix: Of course my image is tarted up with colours etc.
    Now what I want is that when a cell is touched (unless there is a hover a description of that cell appears as a pop-up (like a tooltip/Title in HTML when the mouse hovers over a component).

    I suppose an image is overkill & I could just have cells but again what would be the right way to go