Below is the code for a simple Flex actionscript project. A sprite is partially covering a hyperlink. What's happening is that when you hover over the sprite, if you're also hovering over the hyperlink, the hyperlink is activated. I want to prevent that. I want the hyperlink to be activated only when the mouse hovers over it -- but not ...
jquery toggle calls preventDefault() by default, so the defaults don't work.
you can't click a checkbox, you cant click a link etc etc
is it possible to restore the default handler?
...
I'm trying to plan how to build some functionality into my new app, and am unsure if there is a "correct" way to achieve what I am looking for.
There are certain things that I want to get done with my site, say when a certain dateTime is matched aginst some other date time, then send email.
Or for example, consider the badges on stacko...
Below is the code for a simple Flex actionscript project. A sprite is partially covering a hyperlink. What's happening is that when you hover over the sprite, if you're also hovering over the hyperlink, the hyperlink is activated. I want to prevent that. I want the hyperlink to be activated only when the mouse hovers over it -- but not w...
Hi guys,
I have a div on my page where I would like to display comments stored in a database. now what i want to understand is how the jquery live() function works. if I bind a click to an element say the div, then do I have to click? I just want the comments to be drawn and shown when the page loads or reloads.
...
When using jQuery you wait for the DOM to be ready before you start doing stuff. My problem is with images.
Sometimes images take ages to load, and quite frequently not at all. So I want ready() to basically have a timeout. It will wait something like 5 seconds and if these selected images haven't loaded it will run the function.
Is th...
I have some couple of events like when user subscribes to my newsletter it fires a subscribed event so that an e-mail will be sent to corresponding users to notify them about their subscriptions. But where should I handle those events ? What is the best practice to handle events ? Should I bind event handlers to events in Subscribe Butto...
I just found out that onchange event does not bubble in MSIE. I hopped to http://www.quirksmode.org/ to see if I could find other events which are not supported by IE. However I do not see any chart listing onchange event as an event that does not bubble in MSIE. Where can I find such a char?
...
I have a simple class - will call it Animal. I'd like to fire off an event in the Animal class and have it handled in the class where I instantiated the Animal class. In the event handler, I want to pass an Integer value
How do I pull off something simple like that?
...
I'm curious if its possible to create a custom event in jQuery that isn't bound to a DOM element.
I greatly prefer jQuery to YUI but there is one thing in YUI that I like, which is creating custom events and being able to subscribe to them later.
For example, this creates an event that is bound to a variable, not to a DOM element:
var...
Hello, I have a menu with a (links) tags. In Jquery I'm handling click event at the parts of menu (a) and then show down content block. Everything is ok, but now I want to make possibility have links in content into another parts of menu.
<div id="head_menu">
<a href="#order">1</a>
<a href="#portfolio">2</a>
<a href="#contacts"...
For instance if I select a radio button through jQuery code does this fire the onClick event for that particular input?
...
The database that I am working on (in MS-Access XP) seems to have become corrupted somehow. It no longer supports any events - clicks, change, update events, nothing seems to work. This is the error that I get:
What can I do to make events start working again? I have tried Tools->Database Utilities->Compact and Repair Database..., bu...
Question:
How can I detect and handle clicks on hyperlinks in a Windows.Forms.WebBrowser control in C#?
Background:
My C# application does not carry a centralised help file. Instead, all the pieces that make up the app are allowed to display their own little help topic. This was done because the application is merely a framework, and ...
I tried $.unbind('hover'),which is not working
...
I have the following code....
When the page is loaded myFunc() is called even if I dont click in my div. Why?
The function declared "inline" is not triggered...hmmmm........
<div id="map" style="background: green; height: 100px"></div>
<script type="text/javascript">
function myFunc() {
alert("allways triggered when...
I have a project that involves polling a hardware switch each update and converting its states to a custom events:
ToggleSwitchEvent.BackWardButtonDown
ToggleSwitchEvent.BackWardButtonUp
ToggleSwitchEvent.Click
etc ....
The hardware switch acts similar to a two button mouse. So I would like to be able to "inject" the custom ToggleSwit...
Hi there,
I want to implement a generic Observer Pattern for user controls. What is the best way to do this?
There are 3 usercontrols: A, B & C.
Each of these usercontrols is a representation of a set of data. Each control has a select for display mode (basic or detailed). The site visitore gets to choose which mode. On changing the ...
I have a textbox that I am using the blur event to validate the text with a regular expression. If it fails I want the textbox to keep the focus. I know in regular javascript you can say return functionName(); in the onblur event within the actual html control. Is there a way to do something similar when binding the blur event within the...
How do I go about overriding the default functionality when a user clicks the X in a VB.NET form-based application?
I am currently handling the MyBase.Closing event... but since it's a DirectX app, I need to do some cleanup before allowing the form the close.
Thanks
...