I am trying to delete part of a string that does not match my pattern. For example, in
<SYNC Start=364><P Class=KRCC>
<Font Color=lightpink>abcd
I would like to delete
<P Class=KRCC><Font Color=lightpink>
How do I do that?
...
Hi,
I have an input box
<input type="text" name="search" id="search" />
<img src="icon.png" alt="" id="doSearch" />
I use Jquery and I have onclick event for "doSearch". So when I enter some words like "ab" .. and click on "icon" It sends an ajax request to php file and gets results back appended to dom.
$('#doSearch').click(funct...
I have links on the side of my page such as "home", "news", "contacts", ... and an iframe in the middle of the page, I would like the iframe to go to diffrent urls according to the link selected.
Could I do this by only using html and/or how?
...
I'm using SimpleXML and xpath to read elements from an external UTF-8 XHTML document. I then iteratively echo the output of SimpleXML's asXML() function executed upon each element returned from an xpath selector. But the XML carriage return entity is annoyingly inserted after every line of my code. There aren't any extra characters in th...
One of the arguments I've heard about blueprint css is that it lets you think of your layout in terms of a grid rather than in terms of floats. This seems like a big advantage to me because I always get confused about where my floats are going to end up - sometimes a float will unexpectedly drop down below some other floats and I have a ...
I've seen this in the footer of various websites, most of them non-technical websites. Some websites go even further and include a W3C badge stating the fact. I don't see how this can be of any help to the targeted audience.
...
I'm trying to add an icon which sits on top of the border, splitting it in half. Here is what I want the final result to be:
The full source is hosted here:
On to what I have so far:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
bo...
Hey,
I'm writing a VB application that interacts with the HTML DOM.
If I go to this page:
https://edit.yahoo.com/registration
And then try to change the "I prefer content from" SELECT box in the top right to "Yahoo! Asia" from the default option selected, I can do so using this command:
Document.Forms.regFormBody.preferredcontent.se...
This video explains the problem best: http://www.screencast-o-matic.com/watch/cQ1Oc9f1L
Basically the directory is located here: http://www.ipalaces.org/uploaderprogress/grrrrrr.html
Is the problem piece using YUI.js as the uploading script. The YUI updates the table's row with new information on every event. So I have it update it wi...
What I basically want to do is take some HTML and display it in a way that when you mouse over any element, the application can parse the HTML I'm pointing to. I want to do this with C#/.NET Framework.
Using IE is fine in my project and I'll want to basically edit the HTML so that when i hover over a table for instance, the table's bor...
I have quite big document in html format that generated from Microsoft Word. It is soooo messy and full of bloated things (like unknow tag, unknow namespace etc and other bloated things)
is there any way to convert it into plain html sytax ?
thanks !
...
I am creating a registration form which contains two submit buttons.
I need to know which button is clicked in the form in my servlet code?
...
For the issue pls see the screenshot here.
The above code has been generated by the html.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
...
Hi guys,
Can someone give an example of an html page that uses xquery, do you need something else in order to run xquery.
I tried to run some xquery code from w3schools but it is not evaluating in the html page.
<html>
<ul>
{
for $x in doc("books.xml")/bookstore/book/title
order by $x
return <li>{$x}</li>
}
<...
I'm working on a very small site, with almost zero budget as a favor for a friend. She wants to put a short audio and video clip on the site (both clips are under two minutes). The audio is currently a 1.6 MB AAC (.m4a) and the video is a 30 MB H.264 (.mov).
What's the current best practice that's going to be the easiest for me, while s...
Is there a way to play a video fullscreen using the html5 video tag.
And if this is not possible does anybody know if there is a reason for this decision.
...
CSS:
.events_holder {
width:100%;
background-color: #d9ceae;
}
.events_holder .event_holder {
width:100%;
float: left;
min-height: 20px;
}
.events_holder .event_holder .event_data {
border: thin gray dotted;
font-size: 80%;
float:left;
min-height:20px;
}
.events_hold...
like in http://www.online-photoshoptutorials.com/2008/08/folding-corners.html
...
I have click-able images in my html page that call a javascript function... however nobody is clicking on them as they do not look click-able... how can I make them click-able without using an <a href=""></a> tag around it?
Here is an example of my code...
<div id="bvu11" style="margin: 0px 5px; float: left;">
<span id="bviu11">
...
In the following code, I want a tool-tip to come up when the user hovers the span, how do I do that? I don't want to use any links.
<span> text </a>
...