ı have to make share button then after click button open samething like the picture.And select what you want.
How can ı do this any advise ?
You can start with this: http://jsfiddle.net/5cxGb/
And for the tip of the box around the links you can position an image.
Give the box itself a border-radius to make the rounded corners and position better the elements in your layout.
Related
How do I position text beside an image like in this reference layout?
My first idea was to use absolute positioning but I couldn't figure out a way to make this responsive, since the text would overlap the image for smaller viewports.
Any help is appreciated! Thanks
I am new to Kivy and Pyhton and I want to put a scrollbar horizontally and vertically to a Text Input. I don’t want to use a ScrollView, because I am making a desktop app and it is not that intuitive as the user has to click and drag up and down or sidewards in the Text Input". I also found on the internet how to make a draggable scrollbar using a slider (https://github.com/kivy/kivy/wiki/A-draggable-scrollbar-using-a-slider), but I have’t been able to add it to the Text Input. Could anyone help me please?
Is there a way to get an IE element's mouse coordinates then command a mouse move to that coordinates on the screen to click it? I tried searching for element.getAttribute but so far couldn't find what I need.
I simply need the mouse to move/point to an object and click it. I'm needing to do it this way without using element.click
I am trying to make a popup menu come up in libgdx but i can't figure out how to do it. I want it so that when I click an image on the screen I want it to pop up a smaller image on the screen where the user can buy items!
For that, you can use a Table().
Put all the textures and buttons you need in that table and add the table to your stage, to display it on the screen.
If you want your table to pop up only when you click a button, there are several options. For example you can set your table invisible with table.setVisible(false), and when you click the button, you can make table.setVisible(true).
If you want to add some fancy animations, like sliding, scaling, fading... you'll have to look to the AddAction class.
For example you can create your table outside the screen, let's say it is on the left of the screen, and when you click the button, the table will enter the screen by sliding to the right until it reaches the center of the screen. For that, you'll need to do something like that :
table.addAction(Actions.moveTo(Gdx.graphics.getWidth()/2, Gdx.graphics.getHeight()/2, 0.2f)))
Just look to the AddAction class, there are plenty of cool stuff to popup your menu.
i want to display both TextBox and TextField on the screen at a time but i am unable to add TextBox to form. is there any way to display both of them at a time. that is textBox at the top and TextField below it. plz help me. i will be pleased if any code is given
thank u in advance
A TextBox is a Screen, not an Item, therefore you cannot add it to a Form, and there is no way to display both of these things on screen at once.
If you want to display some additional text on screen while a TextBox is active, you can use its title (via setTitle()), or you could scroll it across the top using setTicker().
I guess, you must write you own TextBox component. It must extend Canvas. And you must paint it yourself, using drawLine, drawString.