html

Save or output WebBrowser object context to .pdf file in VB.NET

I am loading an html page into a WebBrowser object in a VB.NET Windows Forms application. The user may make changes to textboxes, dropdowns, etc. on the HTML page displayed in the browser. I want the ability to save the current context to a .pdf file on the local HD. I am able to print using WebBrowser.Print(), which shows the current...

how to update the unchecked checkbox from checked checkbox into mysql using php

how to update the unchecked checkbox from checked checkbox into mysql using php ...

Move an item up/down a select

Hi, I'm wondering if it's possible to change the order of things in a select control without having to totally rebuild it? Is there a javascript function where I can change the "index" of a specific option in the select? Thanks ...

make flash movie float to the right and have an html side menu on the left

hey, i have a website built mostly in flash. the flash movie is on an html page. i want the flash movie to be in the same line with a side menu (list of links to other pages on my site). this is my website: http://www.arielajewellery.com/gallery.html i tried this html code: .center{float: center;} .left{float: left;} .clear{clear: both...

From where can i get Light Window 2.0 or similar?

Hi, After seeing tons of web site using modal window with a nice expansion animation i wanted to use it also. I googled it and found that many people recommend to use Light Window 2.0 For example http://www.ajaxdaddy.com/lightwindow.html but all sites linked to http://stickmanlabs.com/ are broken and i can't get Light window 2.0 Is an...

Display list of values separated by commas without trailing comma

I have an ASP.Net-MVC app using LinqToSql. I have a subcontracts table, a service_lines table and a mapping/link table Service_lineToSubcontracts which contains the subcontract_id and service_line_id. On the subcontract view, I'd like to list the corresponding service lines. This works, but has a trailing comma. <% foreach (var sls i...

Hide HTML element by id

Hopefully there's a quick and dirty way to remove the "Ask Question" (or hide it) from a page where I can only add CSS and Javascript: <div class="nav" style="float: right;"> <ul> <li style="margin-right: 0px;" > <a id="nav-ask" href="/questions/ask">Ask Question</a> </li> </ul> </div> ...

How to activate thickbox from a query string on the end of a url

Hey All, I'm new to programming, and this website. I have what is hopefully a quick question about using thickbox, and jquery to display an overlayed video on a website. My problem is that I want to have the overlay displayed when someone clicks a link from an email. So the link would be something like: mywebsite.com/landingpage.html#p...

Python String with HTML /

I'm trying a simple program to send some html down a socket to a client. 2 things are goofing me up. The code: c.send( str.encode("<HTML><BODY>Test Page<///BODY><///HTML>") ) My python client receives: b'<HTML><BODY>Test Page<///BODY><///HTML>' According to Beginning Python which says it covers Python 3 (I'm using 3.1.1 on Window...

Change a Checkbox for a Radio Button using jQuery

Hi, is this possible, if so how? Thanks ...

Home/Landing screen design for a website in asp.net

Hi, I have an web based application. The content for the Home page has been currently mentioned in the HTML code for the Home page using , and tags. To change the content anytime in future, it needs to be changed in the HTML code. :( Is there a way that we can pick up the content from some external place and get it reflected through ...

Disregarding speed and compatibility, why not use only classes and never use IDs in HTML/CSS ?

I use only classes and never use IDs. Many people like to use IDs for different reasons. I've seen many questions regarding IDs vs classes on stackoverflow, but no one addressed pure code organization point of view disregarding compatibility and runtime performance. From code organization point of view, I think that using IDs is bad ju...

non-ugly resizing of buttons in MSIE

I attempted to re-size two buttons in MSIE, so they would be extra-large but I get ugly aliasing. {%html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"%} {%head%} {%title%}ugly button{%/title%} {%style%} button { height:100px; margin:2em; width:450px; } {...

Detect checkbox has been click with JQuery?

What wrong with the my code. When I click on the checkbox, nothing happen $(document).ready(function(){ $('input:checkbox[name=drawingNo]').click(function(){alert('I am here');}); }); ... <body> <form> <input type="checkbox" name="drawingNo" value="1"> 1 <br> <input type="checkbox" name="drawingNo"...

Skinnable audio player (or something similar to Windows Vista audio control in task bar) - for the web.

Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website? A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set ...

Is it really a big improvement for a webpage to minimize HTML, PHP or CSS files or it doesn't make any big difference?

I saw this HTML minifier in Ajaxian and it made me wonder if its really a big improvement for webpage to minimize HTML, PHP or CSS files or it doesn't make any big difference? (assuming that they are 100 lines long in average) ...

Find value of selected item in Drop down menu.

I have a drop down menu in an ASPX page along the lines of: <form> <select name="cars"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="fiat" selected="selected">Fiat</option> <option value="audi">Audi</option> </select> </form> That is dynamically generated from another controller (value...

display:none and scrolling text

There is a conflict between display:none and scrolling text. What can I use instead of using display:none? <div id="side_forums_pane" class="side_pane" style=" height:350px;width:260px"> <div class="jscroller2_up jscroller2_speed-19 jscroller2_mousemove" style="height:250px;width:260px;"> </div> </div> ...

can i make javascript persist after a refresh?

In my form i need to select an item (which is a div with text or an image) and i do set the id of a hidden input via jquery live click event. In the case the user has logged out or session has expired he must go back and refresh the page (after logging in). After a refresh firefox keeps all input data (textarea, text, select, etc). BUT...

How to get the html-source of a page from a html link in android?

I'm working on an application that needs to get the source of a web page from a link, and then parse the html from that page. Could you give me some examples, or starting points where to look to start writing such an app? ...