html

How to access the XML document in an iFrame?

I have an iFrame on my page which is displaying an XML document. <iframe id="iFrame2" name="iFrame2" width="100%" height="100%"> I need to access the XML document in the iFrame from the parent page. How do I do this? When I try: console.log(iFrame2.document); I get the following error: Permission denied for <http://localhost:300...

HTML scroll bar width

I would like to know if there is any scroll bar property in HTML to change the width of the default scroll bar in HTML. The default size of the scroll bar is 13px. is it possible to increase the the pixel value. Can anyone help... ...

How to generate source code name?

<!-- 88 88 88 88 88 88 88 88 88 88 ,adPPYYba, 88,dPPYba, 8b,dPPYba, ,adPPYba, 88 88 "" `Y8 88P' "8a 88P' `"8a a8" "8a 88 88 ,adPPPPP88 88 ...

Making a row editable based on a checkbox in HTML

Hi, I have a table in HTML. The contents of this table are dynamically populated. Every row of the table has text boxes and one checkbox. When the page is loaded, all the text boxes in the rows will be in a read-only state. Now, i want to change the state of the text boxes in a particular row to editable, if the check-box in that row i...

How to change form element values in HTML

Hi Guys, I have this piece of simple code. <html> <head> <script type="text/javascript"> function changeText() { var form = document.forms['detail']; form.desc.value="success"; } </script> </head> <body> <form name="detail"> <input type="text" name="desc" id="desc" > <input type="submit" value="c...

Sending a HTML email with a midi file that needs to play automatic on open

I'm trying to accomplish the following, I'm sending a HTML email using PHP Mailer that reads a html file and embedding a midi file within the HTML file, and it then sends out the email and then the midi file should start playing automatically once the email is opened, is this possible, since it does not seem to work, I'm using Evolution ...

disable back in one page alone :(

How can i disable browser from going back to a particular page? My scenario is Login page -> change password page ->user returns to login page again-> (on browser back should not go back to change password page) but currently it goes to the change password page. I am currently working on a grails application. How can i solve this issue? ...

How to prevent embedding my web page inside an iframe?

Possible Duplicate: How to prevent my site page to be loaded via 3rd party site frame of iFrame How can I prevent others from embedding my web page inside an iframe? ...

how do i specify psedo class attributes inline?

This wiki I'm using (Google Sites) does not support linking of style sheets or even tags in its HTML mode (It sucks, I know). The only way to specify styles is to define them inline. I need to put a menu bar now. I've figured out a pure css menubar, but I'm having trouble defining the hover class inline. Any ideas? ...

Processing html form in background

I have the following code - <form id="smsform" class="appnitro" method="post" action="/form" onSubmit="alert('Your message has been delivered.');"> <input type="hidden" value="<?php echo $message; ?>" name="message" /> and so on... Now what i want is that when the form is submitted then instead of goi...

lightweight html control for desktop apps (C++/Windows)

I am currently using RichText control in my program. It creates several instances of RichText control (hundreds) because it’s a sticky notes program. I wish to replace it with a lightweight HTML control which will have functionality similar to RichText control (text formatting, bullets, links, images etc) Do you know if any free/commer...

HTML,CSS: rounded corners have not transparent background in IE

hi, I have an issue with rounded corners in IE. There are white areas instead of transparent background. See image: http://dl.dropbox.com/u/72686/roundedIE.png I'm using this jQuery plugin to create rounded corners: www.malsup.com/jquery/corner And I'm also using transparency on each block. thanks ...

Display form field based on selection

Hi guys, I need to make a form that can display certain form inputs when another selection is selected, for example if I select gender: male, input form "blue" displays, and when gender:female input form "pink" displays. I am assuming that Javascript/jQuery would be the best bet? This is what I have thus far: function showHideSchoo...

CSS Rollover :hover image not rolling over in IE8

I have quite a lot of problems with IE7, but this time IE8 is doing something strange. The next piece of code does not work: <style> .inschrijven{ display: block; width: 460px; height: 150px; background: url("image.png") no-repeat 0 0;} .inschrijven:hover{background-position: bottom;} .inschrijven span{display: none;} </style> <div ...

Base64 images to gmail

I'm generating some inline images for an email sent from the iPad. Looks great in all desktop email clients, but gmail doesn't seem to like the base64 image and it shows up as text. Anyone have any luck embedding images with base64 and gmail? Or know of a better solution for sending HTML emails with images from the iPad? ...

Checking the form field values before submitting that page.

Hi I have written following function which checks whether start_date field is not empty and displays proper message when submit button is clicked. But then it takes the control to the previous page. So user has to write again all other fields on that form. Is there any way to stay on that page even after prompting the error message, wit...

Is there anyway to use the Imageshack API without PHP?

If I use the ImageShack API just in a form like this: <form method="post" enctype="multipart/form-data" action="http://www.imageshack.us/upload_api.php"&gt; <p><input type="file" name="fileupload"></p> <p><input type="text" name="key" value="Your_Developer_Key"></p> <p><input type="submit" value="Go"></p> </form> the browser gets take...

Page title replaced in IE if fragment identifier set

Hi. In IE, with Flex application embedded, changing page location with JS like that: document.location.href = "#someFragmentIdentifier"; causes change of page title to "#someFragmentIdentifier". I've read that the cause of that was supposed to be integration of Flex application with browser navigation, so I disabled it at the Flex co...

Does HTML understand "if-else"?

Let's say I have Flash-version of and non-Flash version of my website. When a user comes to my website, is there any way to create the following logic: if (user has flash-plugin installed) { load flash website } else { load non-flash website } While we are here. Can I do the same for the bandwidth control? Let's say a Cable customer ...

Spring security in GWT applications - problem securing app host pages and other static files

Spring security works pretty fine for me, but I cannot understand why I can't limit access to HTML host page. The current situation is that my application starts and I have to handle login problem in gwt code by myself. I'd prefer Spring security to handle this, so when user is not logged, and try to load my /Application.html, he/she is...