Hi guys,
I wonder if its is possible to do AJAX when I put a button inside the xsl file;
<input type = "button" id="laptop" value = "Add to Cart" onclick="sendCartRequest('Add');" />
That's what I do in my xsl file then in my js file I pass the id to the DOM and try to alert it make sure it is passed.
And the alert appear to be empt...
Hi,
I'm scaling an ellipse in an animation with the following code:
ScaleTransform myScTransform = new ScaleTransform();
TransformGroup myTransGroup = new TransformGroup();
myTransGroup.Children.Add(myScTransform);
newPHRadio.RenderTransform = myTransGroup;
newPHRadio.RenderTransformOrigin = new ...
Hello, I am interested in implementing the facebook "Like" button, but I would like to know what user is clicking on this button so I can get some useful information from this. From what I have read, facebook is leaving us in the dark on who is clicking on what. ANyone have an idea on how I could track which user clicked on a like button...
I'm trying to get image built from tiled set of images So to JPanel I'm adding JButtons with ImageIcons. All images are in folder with my classes (NetBeans), and they're named u1, u2, ..., u16. But on button there is no image shown. What am I doing wrong ?
JPanel panel = new JPanel(new GridLayout(4, 4, 3, 3));
for (int i = 1; i <...
var Button = createInputButton("checkbox", index);
Button.name = "farmAtivada_"+index;
FM_log(3,"checkboxFarm "+(index)+" = "+Button.checked);
Button.checked = GM_getValue("farmAtivada_"+index, true);
Button.addEventListener("click", function() {
FM_log(3,"checkboxFarmClick "+(index)+" = "+Button.checked);
GM_setValue("f...
How do you point to various images for various button states?
Onmouseover, etc.
...
var ButtonFarmAtivada = new Array();
function X() {
var tableCol = dom.cn("td"); //cell 0
//create start checkbox button
ButtonFarmAtivada[index] = createInputButton("checkbox", index);
ButtonFarmAtivada[index].name = "buttonFarmAtivada_"+index;
ButtonFarmAtivada[index].checked = GM_getValue("farmAtivada_"+index, true);
FM_log(3,"c...
I am trying to Drag a toolbar button to a tree node. Is it possible? I have noticed that drag start is never fired. Is there any list of components/classes available that currently allow to be dragged?
...
I have a Menu and Submenu structure in Silverlight, and I want the submenu to disappear when the parent menu item loses focus - standard Menu behavior. I've noticed that the submenu's click events are lost when a submenu item is clicked, because the parent menu item loses focus and the submenu disappears.
It's easier to explain with cod...
Hello All!
I used sliding doors technique, explained here:
http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html
With only one exception, that I decided to add one more image for "hover" effect.
My code works well for all browsers, except IE8 (and maybe earlier versions).
a.submit-button:active and a.submi...
I just started working with the Android, but seem to have come across a problem that I simply can't find the answer to. I get the error "Cannot cast from View to Button" on this line :
Button myButton = (Button)findViewById(R.id.my_button);
I've tried many different things to get it going, and I've searched for the answer, but for so...
Hey im a noob in flash cs3 and i want to create a jeopardy game where when a button is pressed we go in to the main question scene and when we come back the button the we pressed is now disabled via 'button._visible=flase'...pls any help...any suggestions or links to tutorials or tutorials from you guys or girls will grateful thanx...
...
Folks, I have a HTML file which contains a button called "Email this content to me". Upon pressing this button, I want the complete HTML content of the file to be emailed to me.
Can someone tell me if there is a javascript function to do that. A short example would go a long way :)
Thanks in advance
...
I have a button with the various states (up/over/down etc) that uses a skin file to render the display. I want to achieve animation between the states. For instance, between the change from 'up' to 'over' I want to fade in a color and a border.
The way I am doing this at the moment is to use viewstates and animate between them using tra...
Hi,
Is it possible to track a button click within an iFrame if i don't have control over the external website or it's contents?
(very fictionnal example)if i had an iframe like this:
<iframe src="http://www.johnny.com/plugins/like.php?href=http%253A%252F%252Fexample.com%252Fpage%252Fto%252Flike&amp;layout=standard&amp;show_fa...
I have a style that wraps around an input button, so the button can be styled very creatively. When the button is hidden in .Net, i would like the style to collapse so it renders like its hidden as well. What the style does, as a result of no value in the button or its hidden, is it keeps a small shape.
Click to see a demo: http://media...
I would like to have different select regions on and image button that are not rectangular? Is that possible?
...
I'm trying to create a multiline button with PyGTK. I have a label added to my subclass of gtk.Button, but I'm having trouble sizing the label to the button. If the label makes it's own size, there is no text wrapping even with label.set_line_wrap(True) because the label simply resizes beyond the bounds of the button. I would set the siz...
Hi
Since I am building the columns from code-behind, I need to attach hyperlink into one of the columns from code behind. And also, I need to add the click event.
How can I do that and its data-binding in code behind? Please advise.
Thanks
AJ
...
I'm trying to create a button that will simply link back to the context root. I noticed flex has a @ContextRoot attribute that appears to work only in certain cases. For example, if I try to use it in the following mxml:
<mx:Button label="Back to Root" click="navigateToURL(new URLRequest(@ContextRoot()), '_parent')"/>
I get the foll...