I have a strange problem with the jQuery accordion plugin and IE7 (and maybe earlier, haven't tested there). I'm using a customized jQuery UI theme built with ThemeRoller. I've tweaked it some to adjust colors, margins, and borders. The accordion is located inside a DIV which is, in turn, nested inside my main content. Simplified mar...
I have an XML file:
<root>
<foo>
<!--Content Here-->
</foo>
</root>
Now I want generate an HTML file from it. The HTML has two vertical frames. The left one displays the treeview of the XML file. And I want the right one display content of the tree view: when I click on the "foo" node, the content will be displayed on the righ...
I have a swing client that renders HTML through the use of the JEditorPane and HTMLDocument classes.
The problem I have is that I want to be able to define an area of the document as a container for some text that will be retrieved at a later date, and then use document.setInnerHTML(element, data); to swap out the place-holder content...
I have this radio tag:
<input name="phoneRadio" class="phoneRadio" id="rbDefaultPhone"
type="radio" checked="<%# GetIsChecked(Eval("IsDefault")) %>"/>
in a repeater and GetIsChecked is a c# function which return bool value, my problem that its not affecting the checked value of the radio button the right way,
Any one know how t...
I have a bookmarklet for resetting my router. I just need to visit and let the page finish loading, then my router starts resetting.
javascript:(function(){w=window.open("http://192.168.0.1/goform/formReboot","","width=1,height=1");self.focus();window.onload=w.close();})();
But it opens in a popup window.
My new idea is to dynamicall...
I have a scrolled div and I want to have a link when I click on it it will force this div to scroll to view an element inside.
I wrote its javascript like this:
document.getElementById(chr).scrollIntoView(true);
but this scrolls all the page while scrolling the div itsself.
How to fix that?
I want to say it like that
MyContainerDiv...
I have a site that has a main page and subpages for the articles comments.
What I want it is for the titles of the pages of the comments to be the same as the article's page title.
So I have this on the page file, the base for all the comments pages:
class Page {
private $title;
private $scripts;
private $css;
functi...
In HTML, is there a way to make a webpage expand to the user's monitor? Like say I have a 15inch, but someone else has a 24 inch. The webpage would be small on their screen, but would fit on min. How would I make the page expand to 100%, or maybe 95%?
...
Can anyone tell me why this isn't working?
function changeBG(element_id){
document.getElementById(element_id).className= "arrowActive";
setTimeout("document.getElementById("+element_id+").className= 'arrow'", 300);
}
In firebug I get an error saying that the element_id passed to setTimeout() is not defined.
...
I have a blog, www.realcanadianenglish.blogspot.com. I use Firefox to write it. Sometimes I check the blog using Internet Explorer. With the later it shows a gap between the picture and the text sometimes. Can I change the HTML code to fix this? Why is there a difference between the two: Explorer and Firefox?
...
It doesn't seem like there is an obvious to implement databinding using jQuery or any other javascript framwork. I'm wondering if anyone has implemented databinding using jQuery in the same vein as WPF databinding, or even your standard databinding scenario (fill a table with the results of this resource).
...
I have table with pageId, parentPageId, title columns.
Is there a way to return unordered nested list using asp.net, cte, stored procedure, UDF... anything?
Table looks like this:
PageID ParentId Title
1 null Home
2 null Products
3 null Services
4 2 Category 1
5 ...
In IE8, the Microsoft introduced a new mode called compatibility mode which would render the page like IE7.
You can see this button next to address bar in stackoverflow.com. But when you access google.com / live.com, you would not see the compatibility mode button. How do we make sure the pages don't show this button the user?
...
I'm wondering if anyone has ever come across a plug-in for mootools that will show a hidden div (with embedded video in it) as a light box, upon a click on a link.
What I wanted is somehow like how apple trailers site show the embedded quicktime player.
...
Hi Friends
I want javascript for Image captcha in html code.
Whcih generates images dynamically and match the given character with image characters.
Before entering into the new page it should have to check whether both are same or not
I want to create it in my own, How i can achieve it?
Thanks in Advance,
Praveen J
...
I was going through a site I have just completed, and fixing up some accessibility issues.
I had a form:
<input type="hidden" name="redirect" value="thank-you.php" />
<p>Enter your Email Address to receive our Weekly Newsletter</p>
<input name="email" type="text" id="formifemail" size="21" />
<input type="image" src="images/n...
I have a html file which has a huge table with 4 columns and multiple rows. I want to display it in an asp 2.0/3.5 page, such that it's first 2 columns appear in one area and other two appear in another area adjacent to it. Some thing like splitting the table in two and displaying. Is there any way i can achieve it?
...
What's the recommended way to structure html that includes navigation so it's still SEO'able and accessible.
For example, should the structure be more like that of a document:
Skip to content (link, hidden by CSS)
Navigation
Content
Other content (right hand panes etc)
or:
Skip to navigation (link, hidden by CSS)
Content
Navigatio...
I have the following form(echoed through php), which when a radio button is selected, I want that value to be passed to a javascript function, which I can then deal with.
<form id=\"form1\" name=\"form1\" method=\"\" action=\"JavaScript:alterRecord()\">
<input name=\"radiobutton\" type=\"radio\" value=\"test1\" />Test 2<p>
<input name=\...
I'm creating comment fields which are based on user input into textarea. But when I use <pre> tags I can't tell it to wrap properly inside the comments view.
I'm not stuck on using <pre> tags if there is a better way of doing it. Only reason I chose to use it was to keep linebreaks and whitespaces added by user.
I noticed there is a pr...