Can I reload iframe (say __tree_iframe) from another child iframe (__content_iframe)?
Difficulty: IE6/7.
UPDATE
Obviosly I should use window.opener and find iframe using it iframes property. Apparently, IE doesn't support window.opener. Any ideas about another way?
...
I'm working on a rich text editor like web application, basically a XML editor written in javascript.
My javascript code needs to wrap a selection of nodes from the contentEditable div container.
I'm using the methods described at MDC. But since I need to synchronize the div containers content to my XML DOM I would like to avoid partial...
I am looking for a drag and drop components implementation for a website similar to http://www.netvibes.com. So the positions of the components should be saved in database. If any one can help me with any javascript or rails tutorial implementation or guidance for this, that will help a lot.
...
If we look at the latest jQuery source at http://code.jquery.com/jquery-latest.js we see the following:
var jQuery = function( selector, context ) {
// The jQuery object is actually just the init constructor 'enhanced'
return new jQuery.fn.init( selector, context );
}
My understanding of the new keyword in Javascript is essent...
I have a layout as follows:
<div style="width: 300">
<div style="width: 300">Some Content</div>
</div
I want to be able to mousedown in the content DIV and be able to move it left to right, or scroll it in other words :)
What would be the best way of being this?
I would prefer it in JavaScript mainly :)
...
I don't have an experience with any debugger in any language, but I recently found some videos showing Firebug.
I'm now playing with Firebug with a script I included an error with.
What I understand now is:
I can set a breakpoint, which is shown as a red circle.
Firebug stops at the breakpoint and gives me 4 options (Continue, Step I...
Hi, i have some containers that contain some divs like:
<div id="container1">
<div id="task1" onMouseOver="DragDrop("+1+");"> </div>
<div id="task2" onMouseOver="DragDrop("+2+");"> </div>
<div id="task3" onMouseOver="DragDrop("+3+");"> </div>
<div id="task4" onMouseOver="DragDrop("+4+");"> </div>
</di...
I have a website that works fine in Firefox and IE but never finishes loading in Safari 4.0.4.
The live website loads a menu then loads a Google map. Using Safari, the Google map never loads.
I have a test website on the same server that uses the exact same code for loading a Google map and Safari can load the map (this is the one tha...
Hi there,
I keep having an error when running my web application. The error does not cause a compilation error when on live server at least a javascript error and nothing else. But the real problem is when "debug" ... javascript error stops the compilation and I have to "Continue" three times before proceeding normally my debug. But thi...
i have a one html page in which i am storing few user selected values now and want to use these values on another html page.
i am using jquery in my module and i have already tried window.name and window.localStorage but they don't persist values between two pages.
so please help me to solve this problem.
...
I just built my first mootools accordion, but it is adding a lot of inline styles which is just ruining my UI. I can set up a inline style with !important keyword but it will just make my css maintenance a nightmare. any ideas how to get rid of the inline styles
It is just this
<script language="javascript">
window.addEvent('domread...
Hi,
I have a problem with IE8 and the opening of a new window with javascript and submitting parameters with special characters.
<a href="javascript:oWin('/html/de/4664286/printregistrationcontent.html?12-security question=Wie heißt Ihr Lieblingsrestaurant','PRINT',800,600);" class="print">Seite drucken</a>
The Problem is th...
I have the following JS code that checks a password strength and also creates a random password as well. What I want to do is edit the code so that instead of putting the generated password inside the password field it will put it inside a span tag with say an id of randompassword. In addition that I would like it so that by default ther...
i have a simple bit of jQuery which displays the row below the current one if selected.
What I want if for all the <td> elements but one to fire this method.
Works on whole <tr> row
$(document).ready(function(){
$("#report > tbody > tr.odd").click(function(){
$(this).next("#report tr").fadeToggle(600);
...
I'm looking for a JavaScript library that will allow me to query complex JSON objects using a LINQ-like syntax. A quick search found a couple of promising options that look they might offer what I need:
LINQ to JavaScript and jLinq
Does any one have any experience
using them?
What are some pros and cons?
Is the performance comparable...
I'm trying to write a simple JavaScript based modal dialog. The JavaScript function takes the content, puts it in a new iframe and adds the iframe to the page. Works great so far, the only problem is that the content of the dialog (e.g. a table) gets wrapped, although plenty of space is available on the page.
I'd like the content of the...
I gave up on trying to center an image vertically and horizontally. I seen solutions that require you to know the size of the image. I do know background-image will center it properly. However i cannot right click the image and hit save as. Is there a trick i can use to allow this?
...
Hi all,
I have a complex page that has several user controls like galleries, maps, ads etc.
I've tried optimising them by ensuring full separation of html/css/js, placing js at the bottom of the page and trying to ensure I have well written code in all 3 but alas I still have a slow page. It's not really noticeable to a modern browser ...
I've seen the following (bizarre) Javascript rounding function in some legacy code. After googling for it I can see that it crops up in a number of places online. However I can't work out why the hard-coded values 8191 and 10485 are present.
Does anyone know if there's any sensible reason why these values are included? If not, hopefu...
Hello Everyone,
I have a view that uses a javascript callback to reload a partial view. For whatever reason the contents of the partial class do not refresh even though i can step through the entire process and see the page being recalled and populated. Any reason why the page would not display?
Code is as follows:
<div id="big_image...