html

Please Recommend a HTML Prototype Builder

I know some tools that can create wireframe for web site, but their output format is not HTML. I like HTML prototype since it can be interactive (via Javascript or VBScript) and I can share it on my web site too. Any suggestions? ...

Is there an easy way to populate an HTML table with SQL in ASP.NET 2.0?

I have 3 similar SQL queries that each will bring back 1 record with 5 fields. I want to display each of these 3 records vertically in an HTML table. Obviously I don't need sorting or paging so I don't want to waste overhead on a gridView. <table> <tr><td>Last</td><td>Col1</td><td>Col2</td><td>Col3</td></tr> <tr><t...

How to make jQuery Mega Menu drop up?

I'm looking at the code from this: http://www.javascriptkit.com/script/script2/jkmegamenu.shtml I would like to modify the code to make the menu drop up instead of drop down. Can anyone help me with this? Thanks! ...

need a jquery time entry widget for an HTML form

Hi - I'm looking for a nice HTML form widget that makes it easy to enter a start time and an end time. Any recommendations? Thanks, Graham ...

CSS break-word problem with div inside td in IE7

Hello, I'm trying to use the CSS word-wrap property with break-word value. I want to use this inside a td, and apparently need to use a additional div tag for this to work. fine. I tried to build a simplified use-case: HTML: <table class="sectors"> <tr> <td><div>HURTEAUX / Jean-Baptiste mr)</div></td> <td><div>CHEUNJGgdfgdf...

Best way to convert HTML to plaintext using Python

I'm working on a project that involves converting a large amount of HTML content to plain/text. I have a custom-written module that does the job OK, but I'm wondering if there's some standard tools to help get the job done. ...

Updating a div section on a content page from an event handler within app_code

My current problem, as stated in the title, is that I am trying to create a series of buttons from a custom class within app_code and place them on a master page. The whole reason for this is I do not want to have to copy and paste event handlers on the content pages. However, upon the click of these buttons I need for a method on the...

Having an uneditable, but selectable textbox

Hi, I'm making a web app. In it there are times when a form may be "read only". To simulate this with HTML, I have it so that all the (dynamically created) text boxes that contain content are disabled. This works fine enough, but if there is very much text and not all of it is visible at once(especially in multi-line boxes) then there is...

Auto applying 'height' data to submenu's with jQuery

I have a fairly simple menu structure, one level deep, made using UL/LI's as below... Menu Item 1 Menu Item 2 Menu Item 3 Sub Item 1 Sub Item 2 Sub Item 3 Menu Item 4 The menus are displayed in a vertical fashion with a roll-out on hover, in exactly the same basic format as the vertical suckerfish demos shown h...

iframe background color

How can I change iframe background color on design time? By design time I mean the following: My class extends CompositeControl where i implement design-time support. this is part of CreateChildControls(): editor = new HtmlGenericControl("iframe"); editor.ID = "editorID"; editor.Style["background-color"] = "Red"; editor.Style["c...

JavaScript: How to detect if an HTML checkbox was selected?

How do I: detect if an HTML checkbox has be clicked/selected? retrieve which checkbox(es) have been selected? Example code: <FORM ACTION="..."> <INPUT TYPE=CHECKBOX VALUE="1">1 bedroom<BR> <INPUT TYPE=CHECKBOX VALUE="2">2 bedrooms<BR> <INPUT TYPE=CHECKBOX VALUE="3">3 bedrooms<BR> <INPUT TYPE=CHECKBOX VALUE="4+">4+ bedrooms<P> </FORM...

Response.Redirect to same page without Page Refresh

I need to do a response.redirect to the same page. How can I do this without the page "refreshing" or "flashing"? I can't use updatepanels because, this is a search website and I want the user to be able to use the browser's back button. I have some search filters on the page, and each time a filter is clicked, I do a resposne.redirec...

How do I merge aspx pages MVC?

I want to merge a sidemenu.aspx on another (Home.aspx, Phone.aspx, Car.aspx... etc) page. How do I do that? ...

possible to target iframe in another html file?

Hi. Is something like this possible: <form method="post" action="myphp.php" name="myname" target="another_html/iframe_name">??? I want the php file to display its results in an iframe inside another html file... Thanks ...

Site nav when javascript is disabled

We have a nav that expands on rollover (based on this code: http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm). First, should we have a no-javascript version of the nav? If yes, what is the best way to do so? ...

How do I redirect to a website using MVC?

I am having a hard time figuring out how to redirect to an outside source. in my code, I have <%= Html.ActionLink("New Name Search", "Index") %> which will allow me to navigate within the code. how do I redirect to ...google for example? ...

Flash content replacing with javascript document.getElemendByID("id").innerHTML

I have a webpage, on which I am using Ajax to replace different divs of my page against some click events.. All works fine for regular HTML... but when I want to add a SWF object tag through function document.getElementByID("div-id").innerHTML = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000> .... All flash movie code ......

how come my IE conditional statements do not work inside style tags?

I'm trying to use the IE specific conditional statements to alter class settings based on browser type. I was under the impression they could do this but I can't seem to get it working. Below is a simple example, if the browser is IE the text should be blue, otherwise text should remain red. "The browser is IE" statement in the body w...

CSS: horizontal alignment issue

Hi all, on my web site http://tinyurl.com/yz67d7 Located at the top right corner I have a radio form field for bathrooms (1+, 2+, 3+, 4+). In Firefox/Chrome - these all are horizontally aligned on a single line. However, with IE6+, the bedrooms are split over 2 lines. Any ideas why this is happening. Seems like a CSS issue. ...

How to use HTML Image Button and PHP?

Okay, so here's the scenario. I have a simple HTML page: <html> <head> </head> <body> <form action="submit.php" method="get"> <input type="image" src="btn_getStarted.png" name="getStarted" value="btnBasic1" alt="Submit" /> </form> </body> </html> Along with the submit.php page: <?php if(isset($_GET['getStarted'])) { ...