position

inline image flyout using jQuery UI

I am experimenting with an idea. I have a block of HTML text, including inline images. Some of the images will have (what I think are called) flyouts. That is, hover over the image to bring up a control panel to its left. In the future the control panel will toggle display mode, change image size, etc. For now, I just want it to appear. ...

Vim start with cursor where last went off

Is it possible to have Vim always start at whatever line i was in last time i was working in that given file? And if so, how do i do that? ...

Two divs positions

Hello, I'm using google maps for the page. I have to set up the layer with map with 100% height in 100% width minus 200 px for the toolbar to the left: <div id="toolbar" style="float: left;width: 20%">left</div> <div id="map" style="float: left;width: 80%;height: 100%;"></div> This code works, but the toolbar resizes. And I need only...

Set position of image in a window using pygtk.

Hello! Is it possible to set the position of an image using pygtk? import pygtk import gtk class Example: self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) self.image = gtk.Image() self.image.set_from_file("example.png") # Position goes here (it should, shouldn't it?) self.window.add(self.image) self.image.show() ...

Layout should stay at a specific position after content change

Hi, I have a layout which contains a TextView. The content of the TextView might change on runtime. (discussed on a different issue here: http://stackoverflow.com/questions/3683727/layout-with-dynamic-position ) I can position the layout by drag&drop. If the size of the layout doesn't change, the position stays, but as soon as the size ...

Position:fixed to work on IE 6/7/8 and mozilla

hello all, I want to make a div's position fixed on the bottom right of a page..( a chat box) ..how do i do that through a css file which will work on all IE6/7/8 and mozilla ....for now i have #chatBox{ position: fixed; bottom: 0%; right: 1%;} This doesn't work on IE..and my constraint is that I am just allowed to edit this CSS fil...

MongoDB: What’s the most efficient way to store a chromosome/position

I want to store some genomic positions (chromosome,position) using MongoDB. something like: { chrom:"chr2", position:100, name:"rs25" } I want to be able to quickly find all the records in a given segment (chrom , [posStart - posEnd]). What would be the best key/_id to be used ? a chrom , position object ? db.snps.save({_id:{chrom...

Get real position of objects in Javascript with Chrome

Hi all, I've been coding a bit of Javascript to place a ducky randomly on this page. I wanted to make it hide on the side of objects (like the posts), but I ended up having to hardcode quite a bit of it, since I couldn't get a way to properly retrieve the real position of relative objects with Chrome. I read quite a few things about it...

Is there a way to manipulate the mouse position with jQuery or javascript

Hi. I have a slideshow that opens when a thumbnail is clicked. Now I would like to know if there is a way to re-position the mouse with jQuery over the control elements of the slideshow? ...

How to make keyboard appear at top of screen

When the user touches a UITextField a keyboard normally slides up from the bottom of the screen. Is there a way to make the keyboard appear at the top of the screen instead of the bottom? ...

In actionscript 3 flash cs5, how do I define a symbol's position.

I wan to know how to move a movie clip to a certain x, y. How would I do that? Because I know this is wrong: paddle.x = 253; Thanks. ...

Drupal Location CCK map does not center at location point.

I have applied and configured CCK Location module to show node location on map (GMap, GMap location modules). However there is small issue that map does not show location at the centre (address marker is off the screen and user must scroll through the map to find it ;-). It looks like map is centred one map screen off to the left (to t...

Find the closest tile along a path

I have a tile based game and I need to find the closest tile within a 32px radius. So say a user is at 400, 200 and the user clicks at 500, 400. I need to create a path or line from the player to the mouse position on click and the closest tile that is underneath the path within 32px (or 2 tiles) must be chosen. The map is tiled at 16px....

how to get the 'droppable' s offset().left and offset().top without using jquery, use raw javascript .

for some reason , i can't use jquery . this is my code: <!DOCTYPE html> <html> <head> </head> <body > <style type="text/css"> #draggable { position: absolute; width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px; border: 1px so...

jQuery animating back to original position

Hi, I've got a site i'm working on that has a few absolutelty positioned divs that I need to resize on clicking, these will then fill the container that the divs are in. The question is how do I get them on toggle to go back to the original position (top, left) which is different for each. $(".work-item .toggle").toggle(function() { ...

something look very strange in IE6 when support fixed position

Hi everyone! To support fixed position in this website: I have to set html overflow-y = hidden and change overflow-y of body = auto. Yeah, in normal case it works well. But when I resize window, turn on developer toolbar, minimize, maximize window,..... many times, I got something like this(see image: http://ca7.upanh.com/14.244.184707...

[WPF] Retrieve the End position of the Caret in the TextBox to put the Caret in the next TextBox

How do I find the end position of the Caret in a WPF textbox so I can`t move right anymore with the caret? ...

Control cursor with c++ and x11

What x11 header file and function would I use to change the position of the cursor on the display? I have heard there is a straight forward function on Vc++ but I wish to be able to use this on linux. ...

How would you position these images?

http://elektrikhost.com/ You see the penguins thats over the header on the columns? I'm trying to get them to be over the header and list. I'm wondering what would you do? use position absolute, or relative? I'm stuck. HTML: <section class="starter"> <img src="../images/plan-icon.png" width="62" height="73" alt="Plan Icon"> <h2>St...

Keep header in fixed position? How

Hi for this site http://dev.missionmedia.net/justkidsmaryland/#justkidsreport When I add fixed: position to #header it pushes the header graphic to the left. Any suggestions on how to make the full header and it's #head property to remain fixed? thanks jonah ...