|
|
stackoverflow.com
- 2013-03-22 22:30:30
- Similar
- Report/Block
I'm using the Bootstrap framework, and I have a parent div containing an image with a position of relative, and a child div containing an image with a position of absolute. I'm using left and top with percentages to push the child div to the bottom right corner of the parent div. In Chrome and Safari everything works as expected with the...
|
|
|
stackoverflow.com
- 2013-02-08 13:47:39
- Similar
- Report/Block
Consider a simple example with html and CSS .parent{ position:relative; background:red; width:200px; height:40px; .child{ position:absolute; top:40px; left:30px; width:70px; height:70px; background:blue; to place a DIV with absolute position just beneath its parent (with relative position). In this example, I equaled the absolu...
|
|
|
stackoverflow.com
- 2013-02-27 11:58:44
- Similar
- Report/Block
I thought a general rule is that, whenever a div foo has position: relative , then if none of the parent and ancestor has any non-static position (so need to have one of relative, absolute, or fixed ), then, the div foo now will be position relative to the overall document. But in the following page: http://jsfiddle.net/4RcEn/6/ some...
|
|
|
|
stackoverflow.com
- 2013-04-05 13:24:30
- Similar
- Report/Block
I'm trying to position a span so that it will be above it's sibling and "hang over" or be positioned on top of it's parent. The parent is relatively positioned. Please view my fiddle to get the whole picture What it currently looks like... This is what I want it to look like... The span (tooltip): .grid-window span.validation-message:aft...
|
|
|
stackoverflow.com
- 2013-03-11 12:32:55
- Similar
- Report/Block
I have a plugin in which I provide a simple div container and the plugin creates all kinds of dom elemnents inside the container through javascript. The basic structure that the plugin creates is something like this: Wrapper Div (Position:Relative) - Left Container (Position: Absolute) - Left Top sub-container (Position: Absolute) - R...
|
|
|
stackoverflow.com
- 2012-06-16 13:51:50
- Similar
- Report/Block
I want to pass a variable defined in an include file, identity.php , to the parent file, which I'll call parent.php . When I include identity.php via it's relative path, the variable is available to the parent.php file. When I include identity.php via it's absolute path (to the application root), it doesn't work. Why is this? File: iden...
|
|
|
stackoverflow.com
- 2013-05-04 14:32:21
- Similar
- Report/Block
Here is my HTML code. I've tried entering a z index but it didn't work. The menu is in the right place but it doesn't slide open like it is supposed, and the items are overlapping. Help or suggestions would be greatly appreciated thanks :) Here is the CSS for the dropdown menu .click-nav {margin:0px auto; width:123px; position:relative;}...
|
|
|
|
stackoverflow.com
- 2012-07-01 18:26:39
- Similar
- Report/Block
I've found the issue with using primitive type as an object @Id for JPA in conjunction with Spring Data JPA. I have parent/child relationship with Cascade.ALL on the parent side, and child has PK which at the same time is also parent's FK. class Parent { @Id private long id; @OneToOne(mappedBy = "parent", cascade = ALL) private Child...
|
|
|
stackoverflow.com
- 2012-06-28 09:41:27
- Similar
- Report/Block
OK. I have a fixed position header that contains a nav with three absolute positioned li a elements displayed inline. The tags are meant to fire the following script and scroll to the appropriate anchor: <script> function goToByScroll(id){ $('body, html').animate({scrollTop: $(id).position().top},'slow'); $mainNavLiA.click(funct...
|
|
|
stackoverflow.com
- 2012-05-08 23:01:09
- Similar
- Report/Block
I have a textbox container div (.tb) with position relative, containing the input and placeholder div, these both have position: absolute. The problem is that the input text is centered (vertically), the placeholder text isn't centered (vertically). So I need the placeholder text to be vertically centered, just like the input. HTML: <d...
|
|
|
stackoverflow.com
- 2010-07-08 15:53:34
- Similar
- Report/Block
I have a basic one to many relation parent / child like in the chapter 21 of Hibernate references book. The cascade is only from child to parent (persist cascade only because I don't want to delete the parent if I delete a child). When I add a child to the parent and I save the child, I have a TransientObjectException... @Entity public cl...
|
|
|
stackoverflow.com
- 2012-07-24 17:58:23
- Similar
- Report/Block
I'm used to work with jQuery. In my current project however I use zepto.js. Zepto doesn't provide a position() method like jquery does. Zepto only comes with offset() Any idea how I can retrieve a offset of a container relative to a parent with pure js or with Zepto? Thank you in advance.
|
|
|
|
stackoverflow.com
- 2013-03-20 12:48:35
- Similar
- Report/Block
Im trying to do a mobile first responsive layout. So on my HTML I have First - Middle Content Then - Left Content Then - Right Content and below all the content, I have a Seperate Section of information that goes full width from left to right. Im using position:absolute for Middle Left and Right divs to position them. My Problem is, b...
|
|
|
stackoverflow.com
- 2012-03-19 20:06:03
- Similar
- Report/Block
looking for some guidance on how best to approach this problem. I've got a requirement to create a data grid that shows some parent rows and on each parent row we have a expand / collapse button. When clicked this button will cause some related child rows to be displayed under the parent row. I've implemented this by using a rowdetailstem...
|
|
|
stackoverflow.com
- 2011-09-29 15:06:40
- Similar
- Report/Block
In Symfony2 (2.0.3) I have a BetaBundle that is set as the parent of a AlphaBundle. Is it possible to override some routes while still keeping the parent originals routing definition ? I have tried importing the parent routing.yml inside the child routing.yml file but it naturally result in a circular reference exception. Is there any st...
|
|
|
stackoverflow.com
- 2012-04-10 23:54:04
- Similar
- Report/Block
Input: a list of an unknown number of span elements, contained within a parent span. e.g. <span id="parent"> <span id="child-1">1</span> <span id="child-2">2</span> <span id="child-3">3</span> <span id="child-4">4</span> <span id="child-5">5</span> <span id="child-6">...
|
|
|
stackoverflow.com
- 2012-03-20 19:41:58
- Similar
- Report/Block
why does chrome display an extra 10 pixels, on the child menus? do they render the position differently, in regards to the parent menu? here is the css: #nav ul li ul{ display: none; width: 250px; opacity: .7; z-index: 999; #nav ul li:hover ul{ display: block; background-color: #444444; padding: 0; margin: 0; position: absolute; top: 20px...
|
|
|
stackoverflow.com
- 2012-04-28 15:08:50
- Similar
- Report/Block
I am not able to reload all frames correctly in parent window from child window. The problem is occurring in safari and chrome. on using window.opener.location.reload(true) from child window, all frames in parent windows are getting reloaded in one frame in parent window.It is causing an ugly appearance to parent window. It seems the chil...
|
|
|
|
stackoverflow.com
- 2012-03-24 03:07:49
- Similar
- Report/Block
I have multiple level parent-child tables(GrandParent, Parent and Child, all many to one relation, one parent has multiple children, all children have one parent). Each has auto identity keys. Using C# and stored procedure, how to insert to them with foreign key constrains? For example, the data to be inserted include multiple grand paren...
|
|
|
getk2.org
- 2013-05-15 06:26:15
- Similar
- Report/Block
hi there.. its posibble to get view like this (with module or component) in k2? parent category 1 -child category 1.1 -item 1.1.1 -item 1.1.2 -item 1.1.3 -child category 1.2 -item 1.2.1 -item 1.2.2 -item 1.2.3 ............ ............ ............ parent category 2 -child category 2.1 -item 2.1.1 -item 2.1.2 -item 2.1.3 -child categor...
|
|
|
stackoverflow.com
- 2013-03-04 10:11:34
- Similar
- Report/Block
The following happens on Mobile Safari iOS 6.1.2 Steps to reproduce Create a position: fixed element with an element inside it. Actual result Input - not focused The position of the fixed elements is correct when input is not focused. Input - focused When the input is focused, the browser enters a special mode in which it does not updat...
|
|
|
|
stackoverflow.com
- 2012-05-10 09:16:01
- Similar
- Report/Block
I am attempting to create a NamedQuery for the Parent object that retrieves all available Parent -objects from the DB, and conditionally fetches some of the Child -objects in the same query. E.g. the query should retrieve all parent-objects and fetch the children which have year=2012 for each parent object. The rest of the child object...
|
|
|
stackoverflow.com
- 2013-03-21 14:49:26
- Similar
- Report/Block
I have two monitors. When my application runs, the parent is displayed on the first monitor. When I move the parent window to the second monitor and click a button (diaplay a xaml window for loading), this child window stays on the first monitor. Is there a way to make the child window stay with the parent window no matter where the paren...
|
|
|
stackoverflow.com
- 2012-06-22 11:10:18
- Similar
- Report/Block
I have have a 2 div element. One is child and one is parent like : <div id="p"> <div id="c"> </div> </div> parent div has 2 event attached click dblclick and child div has 1 event attached click . Now my problem is when i clicked on the child div the parent div click event also executed. I tried e.stopPropag...
|
|
|
|
stackoverflow.com
- 2012-05-12 20:21:19
- Similar
- Report/Block
Given two entities: Parent, Child. Table per type inheritance what does it do when: 1) You add an entity called Child, with all of its values left blank, but its Parent properties filled out. Will it add the child entity or just the Parent? 2) If the entity Parent with ID == id, exists, but it has no Child, will a query against the reposi...
|
|
|
stackoverflow.com
- 2012-03-29 01:26:34
- Similar
- Report/Block
I'm struggling to determine where in my CSS the padding/margins should go to keep seperation between parent and child containers. For example, if you have have a parent div with two nested children and you need to have even 10px spacing between the children and also have the children be spaced 10 px from the parent; then would you add pad...
|
|
|
stackoverflow.com
- 2013-04-11 12:22:49
- Similar
- Report/Block
I am trying to genreate Parent -child and their child and so on I have an Array which having sub items means child items. $navarray= Array [0] => Array [id] => 3 [name] => add [controller] => ClassYearsSubjectsController [action] => getsubjects [parent] => 0 [sub] => Array [1] => Array [id] => 1 [name] => occupations [controlle...
|
|
|
|
stackoverflow.com
- 2012-03-02 17:08:53
- Similar
- Report/Block
I searched archive but didn't find good answer to this: It should be pretty straightforward, I navigate from a parent TableView to a child TableView that implements only the selection option for a cell in parent View. in childTableView, I would like to pass back the value chosen by user in child view(selection one of the cell in this view...
|
|
|
stackoverflow.com
- 2011-10-07 04:01:10
- Similar
- Report/Block
I have an parent child Telerik MVC grid. In the child grid I have a ComboBox. In the OnChange event of that comboBox, I need to lookup the value of something and populate another column in this edited row. If I already have child rows in this child grid, the following code will work to get the dataItem object of the parent row. However, i...
|
|
|
stackoverflow.com
- 2013-03-22 11:46:41
- Similar
- Report/Block
I have an ObservableCollection in my parent ViewModel which I want to display in the parent View. So I've defined a child View and a child ViewModel handling button clicks. How do I get each item from the ObservableCollection into the according child ViewModel without loosing my already setup RelayCommands for button click handling? In my...
|
|
|
|
stackoverflow.com
- 2012-04-04 06:33:49
- Similar
- Report/Block
I have a parent-child view model object structure set up and need to update an observable on the parent from the child. I've basically come up with two patterns for doing so: 1] Pass a reference of the parent property to the child and update the property from within the child: var ParentViewModel = function(){ var self = this; thi...
|
|
|
stackoverflow.com
- 2010-03-26 08:24:36
- Similar
- Report/Block
I'm quite new to hibernate and have stumbled on this problem, which I can't find solution for. When persisting parent object (with one-to-many relationship with child), the foreign-key to this parent is not stored in child's table. My classes: Parent.java @javax.persistence.Table(name = "PARENT") @Entity public class PARENT { private I...
|
|
|
stackoverflow.com
- 2009-05-30 04:52:56
- Similar
- Report/Block
In Django, when you have a parent class and multiple child classes that inherit from it you would normally access a child through parentclass.childclass1_set or parentclass.childclass2_set, but what if I don't know the name of the specific child class I want? Is there a way to get the related objects in the parent-> child direction withou...
|
|
|
|
stackoverflow.com
- 2013-03-21 00:56:14
- Similar
- Report/Block
I wrote an html page, with some css in a separate file and it worked fine. Then i realized that i should add a doctype declaration to my html. I did that and my page was completely messed up! I tried all types of declarations but all ended up the same!!! This is my html (currently only working with Chrome, and without doctype): Luca Rood...
|
|
|
stackoverflow.com
- 2012-07-23 06:44:47
- Similar
- Report/Block
I'm using TreeView control. Binding values from database with check box. Nearly three children are there for parent node like Parent1 child1 child2 child3 Parent2 child1 child2 child3 I can able to bind data which is from 3 tables all are working well. I want a facility when a parent node checks all its corresponding child automatic...
|
|
|
stackoverflow.com
- 2012-08-20 18:43:29
- Similar
- Report/Block
Hi I have a problem with Jsoup. I scrape a page and get a lot of urls. Some of those are relative urls like: "../index.php", "../admin", "../details.php". I use attr("abs:href") to get the absolute url, but this links are rendered like www.domain.com/../admin.php I would like to know if this is a bug. Is there a way to get the real absolu...
|
|
|
|
stackoverflow.com
- 2012-07-11 02:48:56
- Similar
- Report/Block
I have a nested form (very similar to the one shown in RailsCasts) that I use an update_attributes, which updates the parent object as well as updating and creating new child objects. I want to be able to differentiate between when a child object is created and when a child object is updated and when the parent object is updated. Is there...
|
|
|
stackoverflow.com
- 2013-03-05 12:32:43
- Similar
- Report/Block
I cant get this regexp to work, maybe it's not possible.. Need help:) Basically I'm trying to regexp multiple child elements from a parent entity in one go. For the sake of brevity I'll use a dropdown HTML element as an example. This will be actually used for log parsing, but I'm not yet certain exactly what format it'll be, and the drop...
|
|
|
stackoverflow.com
- 2013-04-10 02:55:54
- Similar
- Report/Block
I have a slider with a few slides; every slide has a different height. It works this way: 1st slide 2nd slide etc. slides have position: absolute (It has to be this way). So the problem is: how to dynamically change height of holder to see whole content of every slide? Now I have: but it only uses the height of the first slide, so the o...
|
|
|
|
cyberforum.ru
- 2013-03-24 01:29:56
- Similar
- Report/Block
Код: #include "stdafx.h" #include #include class PARENT public: void method1(){this->method2();}; void method2(){_tprintf(_TEXT("PARENT::method 2\n"));}; class CHILD:public PARENT public: //void method1(){method2();}; void method2(){_tprintf(_TEXT("CHILD::method2 \n"));}; int _tmain(int argc, _TCHAR* argv[]) CHILD child; child.CHILD::...
|