parent

display jquery prettyPhoto lightbox in parent from iframe

Hi, I know this issue has been discussed before but I can't seem to get it to work. I have a master html page with an iframe on that page. I am using jquery prettyphoto and I was wondering how I can get the light box to display in the parent window when I click on the link in the iframe? Please my code below: Master Page <!DOCTYPE ht...

XPath element which contains an attribute and whose parent's parent contains another attribute

Hey everyone, This is my first post here and since I've seen many great answers I thought I'd give it a try. I'm trying to use XPath to obtain a specific element in an HTML document. Here is an example based off of the Google web page: <html> <head> <title>XPath Test</title> </head> <body> <form name='f'> <table> ...

jQuery effect on iframe parent document

Just wondering if anyone else has experienced this or knows why I am getting an error. I'm using javascript from within an iframe to call a parent dom element then use jQuery UI's effect core to shake it. Here is an example: $(document).ready(function(){ if ($("form").length>0) { $("form").submit(function(){ ...

CSS: How does Width work as a percentage?

Hi all, I'm having what I think is a weird problem. I have one div, inside a parent div, and I'm giving the child div a width of 100%, but it's not growing to the size of the parent div. The parent div does not have a set width of any kind. So my question: does width in percentage only work when a parent element has a set width, or sho...

Python subprocess get child's output

Possible Duplicates: How to get output from subprocess.Popen() Retrieving the output of subprocess.call() Here is my question. I have an executable called device_console. The device_console provides a command line interface to a device. In device_console, four commands can be run: status, list, clear and exit. Each command p...

App Engine - Chain of entities generates exceptionally long entity keys

I am writing an application which allows users to send messages between them. I am using transactions to ensure that there is only a single "top" message between any two users, and this "top" message has a link to the "next" message, and so on.. forming a sort of of linked list of messages. The messages reference each other through refer...

Close parent div

Hi, I have a set of div's with some child elements.Inside parent div I have a hyperlink. If I click the hyperlink, then i want to close the parent div of the currently clicked link, not other div's. Ex: <div class="1"><a href="#" class="closeThis">close</a></div> <div class="2"><a href="#" class="closeThis">close</a></div> <div class...

Set text of a control of a child-window in WPF

How can i set a text of a textblock of a child window. childWindowname.textblockName.Text = "" doesn't have any effect. ...

modal popup extender as progress bar

Hi, I have a modal popup extender in which i have a progress bar. When i click a button ...this popup should be displayed to the user. I have done this though button.attributes.add().[ this is without postback] But ...popup extender can blur the base page only after the postback. Issue is currently i am able to see the progress bar......

Changing parent element using CSS

When I have <ul class="menu"> <li><a href="bla">link</a></li> </ul> how do I make the LI-tag change a property (e.g. list-style-image) when is hovered (a:hover)? ...

Qt4 parent pointer usage

I'm having some problem with understanding usage of parent pointer in QT4. class firstClass : public QWidget { Q_OBJECT public: firstClass(QWidget *parent = 0); ~firstClass(); void doSomething(); private: secondClass * myClass; }; class secondClass : public QWidget { Q_OBJECT public: secondClass(QWidget...

calculating column totals in multiple tables using

I'm a relative newb with jQuery but I've managed in the past to cobble together a few simple scripts. I've got a new challenge and I know I'm 'in the zone but I need some help. I have an html page, with numerous tables in this format: <table class="tableClass" id="tableID"> <col class="date" /> <col class="reference" /> <col clas...

UITableView / UINavigationBar Passes .tag from Child to Parent?

I am setting a tag for my navigationBar using: self.navigationController.navigationBar.tag = 1; When you select a cell and the child UITableView loads, I set: self.navigationController.navigationBar.tag = 2; But when I hit the 'back' button and the Parent UITableView appears again, the .tag is still set to 2. I have tried setting ...

How do I determine the authentication method of an iFrame parent in ASP .Net?

I have a website which hosts some sub virtual directory content within an iFrame. I have setup shared forms based authentication between the parent site and the virtual directory such that when either expires the user is redirected back to a specific login page on the parent site. This works great, however, I need to be able to determin...

<title> and window.parent

Hello, my site is a design on index.php and then a frame on it.. Now, i want to do so the titles changes When you browse to eg. Videos.php. So how should i do this with window.parent and title? The title needs to be changed on index.php. So cant it be done like on videos.php: <script> window.parent.changeTitle("Videos - Mysit...

PHP tree implementation: Defining parent reference on recursion loop

Back to my JaxpTree object. The tree is supposed to convert a MySQL related-table pair into a nested tree that follows such relationship: /** * Generates a JaxpTree structure. Parameters are used by the recursive * function. Normally, they shouldn't be specified. * * @param int $parent_id * @param s...

How do I set the working directory of the parent process?

Programming environment assumed: Linux, GCC As the title reveals it, we are writing a Unix-style shell utility U that is supposed to be invoked (in most cases) from bash. How exactly could U change the working directory of bash (or parent in general)? P.S. the shell utility chdir succeeds in doing exactly the same, thus there must be ...

C sprintf causing a segmentation fault.

Hello, I am trying to pass in arguments to the a parent file that is supposed to create a child process for each pair of arguments. The child processes will add up each pair and return their sum to the parent process. If there is an odd number of arguments passed in, I add a 0 to the end of the argv array to make it even. This keeps hap...

How to extract leaf nodes and path of parent elements from an XSD

I'm trying to transform an XML Schema document and extract a list of all leaf element names and the path of their parent elements, i.e. the names of each element that ref's the current element, and the element that ref's that one, on up to only element that's not referred to by another ref attribute. I'm not getting anywhere, so I don't ...

Jquery: How to get to a particular child of a parent?

Hi, To give a simplified example, I've got the following block repeated on the page lots of times (it's dynamically generated): <div class="box"> <div class="something1"></div> <div class="something2"> <a class="mylink">My link</a> </div> </div> When clicked, I can get to the parent of the link with: $(".mylink").clic...