html

hiding text and changing images with css

Hello, I am trying to generate a html page with css that works as an image preview kind of thing. An example of this is here: http://www.nomorepasting.com/getpaste.php?pasteid=22463 however this approach has several drawbacks. One of which is the text must always be smaller than the images. I tried using a different attempt here: htt...

RegExp problem

Hi. I have a problem creating regular expression for the following task: Suppose we have HTML-like text of the kind: <x>...<y>a</y>...<y>b</y>...</x> I want to get a collection of values inside "y" tags located inside given "x" tag, so the result of the above example would be a collection of two elements ["a","b"]. additionaly we k...

GET vs POST in HTML forms

Possible Duplicate: When do you use POST and when do you use GET? When should an HTML form tag use a GET method and when should it use a POST method? ...

Accessing a HTTPS website using a Flex/AIR HTML component?

Is it possible to access remote pages through https when using the HTML component inside a Flex AIR application? I'm looking to build a credit card payment integration into an AIR application and the easy way would be to send the user to a payment service within a browser embedded into the application. ...

Simple HTML layout engine to convert HTML to an image

I need a tool to automatically convert simple HTML into an image. I will be controlling the HTML input which will consist of simple text formatting tags and possibly image links--I don't need to be able to render arbitrary HTML. Is there a simple way to do this? I've looked at the HTML layout engines like Gecko and Webkit, but frankly ...

How can I determine the element type of a matched element in jQuery?

I'm matching ASP.Net generated elements by ID name, but I have some elements which may render as text boxes or labels depending on the page context. I need to figure out whether the match is to a textbox or label in order to know whether to get the contents by val() or by html(). $("[id$=" + endOfIdToMatch + "]").each(function () { ...

Keep Track of php code

Hello , I have many requires and includes and i was wondering if there's something that can help me look at the whole of php code when a webpage is loaded. the reason i'm asking is that after fiddling with some code i cannot put any php code anymore as it will not be "sensed" by the compiler. like if i put anything inside the php tags ...

Who's altering my DOM?

What might be changing the DOM of a web page after the browser receives the response? I'm seeing this behavior in the value of a hidden input element that holds a single-use form token. When I 'view source' in a browser, I see the correct value, as written out by the server. When I submit the form, view the current state of the DOM, or...

What markup language for richly formated content?

When you are developing a web-based application and you want to allow richly formatted text from the user you have to make a choice about how to allow that input. Many different markup languages have been created because it is arguably more difficult to sanitize HTML. What are the advantages and disadvantages of the various different m...

Does getElementById work on elements created by javascript?

I've created two functions to load expanded views of a month in the archive section of my blog when it's link is clicked: // Load open view of a month in the Archive section function loadMonth(date) { // Remove other open month removeMonth(); // Hide opening month's link // Define variable to hold month anchor tag var m...

Center one of two sibling divs

In the following, I'd like to alter the CSS such that the right-sibling is truly centered in the container div. (Edit: without using absolute positioning). <html> <head> <style type='text/css'> #container { width: 500px; } #left-sibling { float: left; } #right-sibling { text-a...

HTML table to overlap parent div dynamically

How can i make the inner table to overlap the parent div with 5 px while resizing? my current solution: <div id="crop"> <table style="width:105%; height:105%;"> //table cells </table> </div> problem is that it gets smaller when resizing... how can I make it constantly overlap with 5px; ...

html getting garbled from php

Hello, I have a mysql database which as one of the fields contains a html description. This description is not in my control, and is obtained and inserted automatically. An example of one of these descriptions is here: http://www.nomorepasting.com/getpaste.php?pasteid=22492 The data is originally exported from an access database, and ...

Set HTML element's style property in javascript

I have a bunch of old classic ASP pages, many of which show database data in tables. None of the pages have any sorting functionality built in: you are at the mercy of whatever ORDER BY clause the original developer saw fit to use. I'm working on a quick fix to tack on sorting via client-side javascript. I have a script already writte...

print or echo a javascript variable, not to the document, but to be the value, or part of the value, to a DOM element, specifically a form action

I have a form action that needs to have its value set from a variable. I need to set the variable once and it will be reflected many times throughout the DOM. So: variable = "somthing.html"; ... ...

Can I specify a delay before the browser raises "rollover" event?

I am working on an ASP.NET web application that is required to bring up a popup on a roolover. I am using the "OnMouseOver" event and it works as expected. The problem is that the event is on a "hair trigger"; even a casual passage of the mouse over the control brings up the popup (which then must be manually dismissed). I want to add...

Auto populate combobox

IN my case i want to implement multi select auto complete combobox using html,javascript. Is there any body who knows how to implement it. Which will be similar to text field shown in stackoverflow while adding multipal tags to any question. ...

How to create a javascript floating div signup form

Hi, I'm building a site which will have a 'Login/Register' link on every page. Whenever someone clicks this link, I want a javascript/div based signup form to float ontop of the content with a link to 'close' it if they want. I also want the capability of the div showing up near the position of their mouse, i.e so if they click the lin...

Sandcastle -> Output to HTML -> Import to MOSS utility

I am about to write an import to MOSS utility from Sandcastle HTML output. Before I do this I would just like to ask if anyone knows of a tool that can already accomplish this? Oh and if the question gets closed for not being programming related, please just leave a comment. ...

Can not round trip html format to clipboard.

I want to write Html format, but I can not even get a simple MSDN example of it to work. http://msdn.microsoft.com/en-us/library/tbfb3z56.aspx Does this console app, a clipboard round tripper, work for anyone? using System; using System.Windows; //Need to add a PresentationCore or System.Windows.Forms reference class Program { [...