position

Center Java splash screen on multi-monitor

I'm creating a splash screen for a Java application using the SplashScreen class. The problem is that the position on multi-monitor systems is undefined. The documentation states "the position on multi-monitor systems is not specified - it is platform and implementation dependent". The application is going to be used solely on multi-moni...

How can I reset the vertical scroll position in Perl using Win32::GUI?

I'm outputting something to the textfield I created using Win32::GUI, like this: $Object->AddTextfield( -name => "Birthchart", -left => 75, -top => 90, -width => 250, -height => 250, -vscroll =>1, -multiline => 1, -prompt => "Birthchart", ); {#do ...

MediaElement.position jumps with 4 seconds

Hi, The situation is as follows: I'm using Windows Media Services 9 to stream my video and I use the latest Silverlight Mediaplayer RadControl from Telerik. At the moment I'm testing it all local host and the streaming server is in the same network, so problems with bandwidth and buffering etc is not the cause. I want to skip my video f...

Mouse in Silverlight

Hello, Is it possible to get the mouse position on Silverlight, without hooking on some MouseEvent? Like in WPF which is Mouse.GetPosition(object relativeTo). Thanks ...

jQuery – Object position on mousemove. Failed to set up easing.

An object's position is updated relatively to mouseposition on mousemove (opposite direction). Works perfectly well, but I failed to set up the code with smooth easing as result. The code works in Actionscript (of course in proper syntax) but it doesn't work in jQuery syntax and code-elements. I use "css()" to position the object, "anima...

javascript: finding the absolute size of an anchored link

Hi guys I need to calculate the position, height and width of every anchored link in my page. I know how to find the x,y coords, but I have a problem with the height and width. The problem appears when the link has children inside (images, divs etc), so heightOffset and widthOffset won't work. Is there a way to do this without going on ...

Repositioning a dijit menu after loading menu items

I've created a dijit popup menu that gets the items in the menu using a JSON AJAX request the first time that it is opened. My problem is that after the menu items have been added, the menu often goes outside the viewport of the browser, since the position of the menu has already been calculated by dojo. The second time that I open the m...

A text at bottom right of the window using Javascript

How I can replace a text at the bottom right of the window (not the page) and that text will follow the corner of the window (in other words, it will stay at the corner of the window). It will be a "share" link, I want it to be seen always. ...

iPhone position of a subview?

I add a view dynamically, but when it appears on the form, it's in the upper left hand corner. Where do I set the X and Y of the new subview? ...

Heeelp! Debugger says "out of scope"!

I just cannot imagine what the hell the problem could be. I made a pretty app, and decided to use only CALayers to "render". When I saw that the changes in the position property gets animated, decided to implement a custom getter-setter "abstract" property called tanCenter to set the position without animating. -(void) setTanCenter: (C...

Jquery Drag and Drop Issues with position, help!

Hi, I am having some issues with drag, drop and positioning in jquery. Here is what I am trying to achieve: You drag a clone of a div to another div which is the "stage" I need to position of the clone and not the original Here is my attempt so far: $(function() { $("#workspacemaster").droppable({ accept: '.draggable', drop: func...

jquery find element's position

<ul> <li>one</li> <li>element</li> <li>text</li> <li>val</li> </ul> how can i get the position in the ul of the clicked li ? ...

How to display the new order according to my saved ui position?

I had stored user id, div id, ui.position.left and position.top in to my database, how can to display the new order which I stored in database? $(function() { $(".column").sortable({ connectWith: '.column', stop : function (event, ui) { alert(ui.item.text); //callback function $.post("Layout",...

jQuery return position of list element with class on table column click

I was wondering how to return the position of a list element with a class of 'currentTab' in the following unordered list: <ul id="coverTabs"> <li class="currentTab"><a href="#">Individual</a></li> <li><a href="#">Couple</a></li> <li><a href="#">Family</a></li> <li><a href="#">Single parent family</a></li> </ul> The ...

reporting services maintain scrollbackposition

I wonder if there is any similar function to maintaine in scroll backposition in reporting services as following in asp.net webforms. I have searched and not found any solution that solved this. maintainscrollbackposition=true ...

How to set the cursor position of a text box on click.

Hi, I'm required to have a textbox pre-filled with some text, and want the cursor to default to the beginning of the textbox when it is focused. private void txtBox_Enter(object sender, EventArgs e) { if (this.txtBox.Text == "SOME PREFILL TEXT") { this.txtBox.Select(0, 0); } } I'm capturing _Enter as above and it...

jQuery position problem with Chrome

When I alert the value .position().left, it returns 0 on Chrome. With other browsers it returns the actual number. Why does this happen? ...

How to use IFolderView?

How to use IFolderView? How Can I know the icon position and order of a certain Folder in Explorer? Many Thanks! ...

jquery: can i animate the position:absolute to position:relative?

i have a bunch of images that are positioned absolutely, i want to be able to click a button and have them all animate to where they would normally be on the page if they had the position: relative. so is it even possible to animate from position:absolute to position:relative in jquery? this is what i have: $(".change_layout").click(f...

How do I detect that Image is outside of (browser)screen and then move it?

I am using this technique to have a popup image of my thumbnails. The only problem is that if the thumbnail is close to one edge of the screen, and the original image is really big, then it gets cut off by the edge of the screen. I know it requires Javascript, but I'm not entirely sure how to detect that the image is outside of the view...