I am not sure what language or how to do this, but I am looking to have a word on a page, and when clicked, it will reveal more underneath. If it is clicked again, that stuff will hide away again? Any ideas?
Best to explain with an example.
TabControl has Tab1 and Tab2.
I'm trying to make it so when Tab1 is selected, Button1 is visible and stays visible.
When Tab2 is selected, Button1 is invisible and stays invisible. I need it to work when the Tab is clicked, not when the content area of the Tab is clicked.
Thank you.
I had dynamically create one Flash Player cs2, i had upload into my site, no of url link i had provided on my aspx page, when any one of the url is clicked,that url based flv viedeo will play..!
In my case when i clicked url to play the video,player is loaded but is not visible,
in the same window, but i had opened in new window in internetexploer it will playing..working fine?
What the problem in open the player in same window... any one pls help me..?
Thanks
I had dynamically create one Flash Player cs2, i had upload into my site, no of url link i had provided on my aspx page, when any one of the url is clicked,that url based flv viedeo will play..!
In my case when i clicked url to play the video,player is loaded but is not visible, in the same window, but i had opened in new window in internetexploer it will playing..working fine?
What the problem in open the player in same window... any one pls help me..? Thanks
I've figured out how to use QPainter to draw rectangles. Now I want to have a drawing area where if the user clicks, a 1x1 rectangle is drawn where the mouse pointer is. To accomplish this, I assume I need a transparent Qt widget that supports the clicked() signal.
How do I make such a transparent widget? Or is there something else I can use? Perhaps I can only use the window's clicked() signal?
I'm getting syntax error in firebug here is the code :
$('#moderator-attention').live('toogle', function(){
function () {
$(".moderator-tex").show();
},
function () {
$(".moderator-tex").hide();
}
});
I want to create a toogle function, when button is clicked then textarea with class moderator-tex should appear .. and if other button is clicked then should be hidden ..
Typical jQuery over-use:
$('button').click(function() {
alert('Button clicked: ' + $(this).attr('id'));
});
Which can be simplified to:
$('button').click(function() {
alert('Button clicked: ' + this.id);
});
Which is way faster.
Can you give me any more examples of similar jQuery over-use?
Im trying to build a calculator with PyQt4 and connecting the 'clicked()' signals from the buttons doesn't as expected.
Im creating my buttons for the numbers inside a for loop where i try to connect them afterwards.
def __init__(self):
for i in range(0,10):
self._numberButtons += [QPushButton(str(i), self)]
self.connect(self._numberButtons[i], SIGNAL('clicked()'),
lambda : self._number(i))
def _number(self, x):
print(x)
When I click on the buttons all of them print out '9'.
Why is that so and how can i fix this?
I've a table that contains 3 columns. I need to bind an event that fires off whenever one of those columns is clicked using jQuery.
However, I need to know the index of the column clicked.
i.e: First column (index 0), Second column (index 1), Third column (index 2), and so on...
How can I do that?
Ok, I have a table which contains multiple rows. Each row contains some data and a hyperlink. When this link is clicked, I need to open up jquery's dialog form and let the user able to edit the data of the corresponding rows. So when the link is clicked, I need to access the values of the corresponding row cells from jquery.
How can I do that ?
I have a textbox with a paragraph of information. There are certain words in the paragraph that i want the user to be able to click on, and when clicked, a different textbox is populated with more information.
I know that you can have the event for the whole textbox, but that isn't want i want. I only want to call that event when certain words within the box are clicked.
I would like to get the word that a user has clicked on in a FlowDocument.
I am currently adding an event handler to every Run in the document and iterating through the TextPointers in the Run that was clicked, calling GetCharacterRect() on each one and checking if the rectangle contains the point.
However, when the click occurs near the end of a long Run this takes 10 seconds.
Is there any more efficient method?
I was asked by a client to create a bookflip (Page Turn) effect that did not require Flash. The imBookFlip plugin can load a book in an iframe or directly on the page. The book's pages can be set to turn when manually clicked only, begin auto flip (turn automatically) as soon as the html page loads, or begin auto flip when first page (front cover is clicked).
I am using an if statement to check the value of a BOOLEAN when i click on a button. When the button is clicked if the value is false i want to display a UIActivityIndicator and if the value is true i want to push the new view. I can do this fine but i want the view to change automatically when the BOOLEAN Becomes true if the user has already clicked the button.
So my question is how do you check to see if a value has changed everysecond or less?
I have an image tag that fires a jquery function using ajax, when clicked, to download images from another source to the server.
At the same time when the image is clicked it opens up a new tab and tries to load the image that is being downloaded. How can I make the link not open until the image is finished downloading to the server?
This is the html
<a target="_blank" href="link_to_full_image" \> <img src="link_to_thumbnail" border=0/></a>
Hi Everybody
On my screen i have ButtonField and CustomButtonField.
Both have been added to Listner of my screen.
myScreen.add(new ButtonField("click me"));
myScreen.add(new CustomButtonField("click me Again"));
Now i want to know which button is clicked and type of object in fieldChanged function.
public void fieldChanged(Field field, int context) {
//Here- how to determine the type of object
//which object has been clicked
//ButtonField or CustomButtonField????
}
Kindly Help
Thanks
SIA
Hello,
I'm curious why I got the "right" BUT "wrong"number of result when I click the mouse.
I supposed to print on the console mouseClicked once everytimes the mouse is clicked. However I got many of them printed out everytimes I clicked the mouse ...sometimes 5 e.g.
mouseClicked
mouseClicked
mouseClicked
mouseClicked
mouseClicked
Instead of just
mouseClicked
Why?
public void mouseClicked(MouseEvent arg0) {
System.out.println("mouseClicked");
}
Hi,
I just want to check if a click is made in an datagrid whether the click is made on a header r on a cell content.
I am facing a problem when...
when cell is clicked i am manipulating with the data. But if the header is clicked for sorting ,same cell click event is triggered.
How can i stop this ?
I have an image with a click event handler that captures the location where you clicked.
$("#image").click(function(e)
{
var x = e.pageX - $(this).offset().left;
var y = e.pageY - $(this).offset().top;
});
I want it so that when the image is clicked an image appears at that location on top of the image. How do I do this?
hi friends...
Does anyone know how can i invoke a method on the click of the backbarButton of a viewcontroller... wat i have are two table view controllers..one list view and another detail view.... the detail view is pushed in to the navigation controller when an item is clicked in the list view. when the Back bar button is clicked i want to invoke a function...
Pls any help will be appreciated..
I have a page and clicked on the button there it will open a new page containing some text boxes, user fill all the text boxes and clicked the button now first page open again and the question is : How can I get the vales of text boxes on the current page using both server-side and client-side
There is a restrictions to use of :
- Cross-paging
- Cookies
- Sessions
- Query strings
I am using jQuery star rating control found at http://www.fyneworks.com/jquery/star-rating/#tab-Overview . I am using 5 stars, each star having a particular value from 1 to 5. The control is getting displayed and behaving properly. However, I have a requirement of getting the value of the star clicked, immediately after a star is clicked. I do not know how to do it.
I appreciate your help.
basically i have this click function in jquery: (this is just a snippet, not full)
$('.block').click(function(){
var id= $(this).attr('id');
i want to chnage the background color of the block that has been clicked only, assigned with the id i.e.
$('.block').click(function(){
var id= $(this).attr('id');
$('.block').css('background-color','grey');
but where do i assign the id, so jquery knows, to only turn the clicked block into grey, not the others, cheers
<% foreach (var i in (IEnumerable)ViewData["Group"])
{ %
" / <%= i.vcr_GroupName %
<% foreach (var ik in (IEnumerable)ViewData["Feature"])
{ %
" / <%= ik.vcr_FeaturesName %
<% } %
<% } %
I have created this now the thing is that when I click on any parent with parentid=0 .all its child should automatically be clicked with parentid 0 but not viceversa.How would I do it in jquery? (Like i CLICK ON SOME FEATURE Manage User its child Add user ,edit and delete user should be clicked automatically ) but if i click on add user nothing should happened
Hi, is it possible to handle two data sources in the UIPickerView?
I have here a segmented control that would control the display of the picker view.
So, for example, when first segment is clicked, the picker will display person's name. Then, when second segment is clicked, picker will display place's name.
Thanks