How do you retrieve the URL for a discussion board item? That is, the URL displayed when you mouse over the subject line (once the list has been added to the page as a web part).
I would just like to have an editable div that acts like a textarea that is given focus on page load (i.e. the blinking cursor is visible and typing shows up in the div without having to select the div with the mouse). I've tried calling focus() on the editable div, but that doesn't work.
I like the visual behavior of the DOJO TitlePane widget, but it has too much other bunk for my purpose. http://dojotoolkit.org/reference-guide/dijit/TitlePane.html#dijit-titlepane
Is anyone aware of a jQuery widget that provides the same ability to expose and hide content in a stacked manner with the little flippy-arrow, pane highlighting on mouse over, etc? An accordion does not accomplish my goal being able to have multiple panes open at the same time.
Thanks in advance.
I've got a text file, and wish to extract every above the !--- comment ---! into a new file, not based line numbers (but checking for the comment), How would I do this?
test123
bob
ted
mouse
qwerty
!--- comment ---!
123456
098786
hi,
I have an application that includes an JtabedPanel and two Tabes with some componetnts,my problem is when i click on another Tab,it's components not appeared immediately but when mouse courser move over each component(Jcheckbox,Jbutton and so on) of the tab,the components will appear but not correctly (see below image)
This is my CODE . . .
I want to sort array A based on values in Array B
actually in Array A I have topics like
keyboard
Laptop
Desktop
mouse
and in Array B i have dates associated with each value in Array A
how i can achieve this....I was thinking of using multi array but i m not sure if there is any default method of sorting multi array ...or if there is any other method to achieve this?
How do I create a clicked state in visual state manager for a control that is based on a button control? I tried using a pressed state but once the mouse button is released it reverts back to the original color. I would like to change the color of the button when it is clicked on. I am not looking for a solution in the click event handler because this is a part of a template. Thank you
hi,
is there any plugin for Drupal, replacing tags with small icons (see the picture below, the icons are actually small circles, and the different colors are automatically generated.
I need to replace the tags with the circles, for each node, and the starting view.
Furthermore, when the mouse move over the tags, the tag title should appear as pop-up
thanks
I have seen this user interface in some screen shots of some RSS Readers. It is a multi-pane user interface. THere are three panels or "panes" to the window, in other words, the window is divided into three parts and the user is able to mouse over the division and click on the seperation bar and resize the section.
How is this sort of GUI developed in C#?
According to the Eclipse documentation TreeViewer.setAutoExpandLevel(3) means that top-level elements are expanded, and their children, but not grandchildren.
I used that in my code, but after setting the input the tree is not auto-expanded, neither on OS X nor on Linux. Expanding the tree manually (via mouse) works flawlessly. Am I missing anything?
I'm working on a school project and we want to implement a right click pop-up menu in the gui.
Currently we are doing something like creating a JMenu on right click and setting its location to that of the mouse's position...
This seems really ugly and is very buggy, is there any better way of doing this? I'm sure there must be.
In VB, i use SetWindowPos API. It makes form on top of other windows, but the form lost focus. so, i use mouse_event API. I force the position of mouse to click somewhere in the form.
Anyways, I need any help to keep form on top and its focus of other windows.
See http://jasondaydesign.com/masonry_demo/
I have title divs that overlay the underlying box div.
What I am trying to accomplish is when the mouse hovers over the .box div, the div holding the title will either fade out with jquery or just display:none through css.
I've created a simple menu and submenu with tags(not allowed to use ul elements). To access the submenu the user hovers their mouse over the menu item. I use the onmouseover and onmouseout events to either show or hide the sub menu depending on which item is selected.
A pipe (|) is used to seperate each submenu item and this is what is causing me problems.
When a user hovers their mouse above the pipe character the subMenu div calls the onmouseout event which is not what I want. So I added padding around the pipe character and a minus margin so that there were no gaps between the pipe character and the other elements.
This worked for all browsers including IE8. But in IE7 (I haven't tested IE6 yet) the submenu div calls the onmouseout event when I touch the top bit of either the left or right border of the pipe character span element.
<div id="subMenu" onmouseout="hideSubMenu()" >
<div id="opinionSubMenu" onmouseover="showOpinionSubMenu()">
<a id="Blogs" href="HTMLNew.htm">BLOGS</a>
<span class="SubMenuDelimiter">|</span>
<a id="Comments" href="HTMLNew.htm">COMMENTS</a>
<span class="SubMenuDelimiter">|</span>
<a id="Views" href="HTMLNew.htm">VIEWS</a>
</div>
<div id="learningSubMenu" onmouseover="showLearningSubMenu()">
<a id="Articles" href="HTMLNew.htm">ARTICLES</a>
<span class="SubMenuDelimiter">|</span>
<a id="CoursesCases" href="HTMLNew.htm">COURSES & CASES</a>
<span class="SubMenuDelimiter">|</span>
<a id="PracticeImpact" href="HTMLNew.htm">PRACTICE IMPACT</a>
</div>
</div>
This is my css class
#subMenu{
padding:10px 0px;
background-color:#F58F2D;
font-weight:normal;
text-decoration:none;
font-family:Lucida Sans Unicode;
font-size:14px;
float:left;
width:100%;
display:none;}
#Blogs, #Comments, #Views, #Articles
{
padding:10px 5px;
background:none repeat scroll 0 0 transparent;
color:#000000;
font-weight:normal;
text-decoration:none;
border:solid 1px black;}
#Blogs:hover, #Comments:hover, #Views:hover, #Articles:hover{
color:#ffffff;
text-decoration:none;}
.SubMenuDelimiter{
padding:10px 5px;
margin:10px -5px;}
As you now the user can select an item from the comboBox by keyboard directly. By mouse I block the user to select some items depending on the behind object state. What's the best solution to stop this when the user uses the keyboard?
Hello everyone
I notice that there some apps make iPhone become a remote mouse or udisk.
I guess it change iPhone into a usb device.
but I really hope to know the mechanism of these app.
Is there any sample code to help me to understand?
Thanks
interdev
i have following question
i am writting programs in linux like this from command line i do following steps
touch project.java
nano project.java
and // code here
i have questions how can i create new classes interfaces and so on?because in IDE like netbeans i can do click on projects name with right size of mouse choose create new class or interfaces and it is created but how do it in linux if i dont use IDE?
Is there a GetLastInputInfo() equivalent that can be used in Linux?
The intention is to detect the last input time (keyboard or mouse) of the user.
Am using python to script the program.
I have this code:
private void Form1_MouseWheel(object sender, MouseEventArgs e)
{
if (leave == true)
{
if (e.Delta > 0)
{
if (timer1.Interval < 5000)
{
timer1.Interval += 1000;
label2.Text = (timer1.Interval/1000).ToString();
}
}
else
{
if (timer1.Interval == 1000)
{
timer1.Interval -= 100;
label2.Text = (timer1.Interval / 1000).ToString();
}
}
}
}
The original timer1 interval in the designer is set to 1000 milliseconds.
In the mouse wheel event i did that it will show in the label2 the untis in seconds.
And indeed when i move the mouse wheel up its slowing the timer and show it in seconds 1 2 3 4 5
The problem is with the second part i wanted that when its getting to 1 second or 1000 milliseconds if i will keep wheel it down it will show the units in 100 and change the timer1.interval in 100 units.
So in label2 if it was on 1 second so now i will see 900 800 700 600 500 un till 100.
And also the timer1 interval should be change to 900 milliseconds 800 700 600 untill 100.
When its get to 100 just stop there dont keep getting under 100.
The problem is with this part:
if (timer1.Interval == 1000)
{
timer1.Interval -= 100;
label2.Text = (timer1.Interval / 1000).ToString();
}
Its not working at all.
EDIT**
My code now:
if (leave == true)
{
if (e.Delta > 0)
{
if (timer1.Interval < 5000)
{
timer1.Interval += 1000;
label2.Text = (timer1.Interval / 1000).ToString();
}
}
else
{
if (timer1.Interval > 1000) {
timer1.Interval -= 1000;
label2.Text = (timer1.Interval / 1000).ToString();
}
else
if (timer1.Interval <= 1000 && timer1.Interval > 100)
{
timer1.Interval -= 100;
label2.Text = (timer1.Interval / (double)1000).ToString();
}
}
}
But now if i was at 5 seconds(5000 milliseconds) now i move the wheel back down its counting 5 4 3 2 1 0 and stop on 0
It dosent show under 1 ...0.9 0.8 0.7 as it did before.
I'm building an firebug-like inspection tool for my page. When the mouse enters an element, the element should be highlighted.
Now I'm creating an element which I position absolute on top of the target element, this however means the next mousemove event (which is bound to the document) will fire with the actual "highlight element" as the target.
Is there a way to prevent the "highlight element" from being the target element in the mousemove event? The element already has a transparant background.
I would like to have some eventhandler which raise if a new application is started. I've heard that this is possible by using a hook but the only examples I can find are based on mouse/keyboard events.
What is an example link of how I can create such a hook in C#?
Oh and btw: Nope, I don't want to use WMI which could be a solution as well but it's not an option in my case.
I know that there has been a similar question asked here very recently, but I was wondering if it was possible to tab between buttons on default OSX dialog boxes?
I already have the "All Controls" option enabled in System Preferences-Keyboard and mouse-keyboard shortcuts, but no joy.
Thanks
On this website: http://fa-aft6157.org/ , when viewed in IE8, when you hover the mouse over the links on the left they appear at the top of the page. How can this be fixed in the HTML code?
Hey everybody, this is not really a question, I have just written an article on Code Project on how to create rich interactive backgrounds for Silverlight applications. This background reacts to a users mouse movements and causes a fluid animation of the background elements.