html

HtmlAgilityPack create node from text

Let's assume I have this <div> <p>Bla bla bla specialword bla bla bla</p> <p>Bla bla bla bla bla specialword</p> </div> I want to replace the word specialword from my html with a node, for example <b>specialword</b>. This is easy using string replacement, but I want to use the Html Agility Pack features. Thanks. ...

send the form value into the form action parameter

hi all, Can i send a input value into form action ?Let say, on the form the phone number taken.Now can i send the phone number as form action parameter "number"? Is their any way to send it? <form method="post" action="abc.php?number=ph_number" enctype="multipart/form-data"> <input type="text" name="ph_number" value=""/> ...

Editing HTML5 with Vim

Possible Duplicate: How to update Vim to color-code new html elements Default Vim HTML syntax/indent files do not know anything about new HTML5 tags. What is the best way to add support for HTML5 to Vim? ...

Display process log on a web page

I've got a web page that allows to start a certain process and then redirects to another page that displays log file of that process. Since execution takes up to 10 minutes, I want log page to autoupdate itself or load data from the file periodically. Right now I added <meta http-equiv="refresh" content="5;url=log.php#bottom" /> to ...

how does the browser font size decide the way our application is rendered

We have a standard j2ee application written using jboss richfaces 3.3.x. we have several style classes to decide the size of the font family and size. Some of the end users who use our application have their own font settings (in Mozilla under Tools-->Options-->Content-->Default Options-->Advanced. It has the checkbox "Allow pages to ch...

Having the Login & Register form in 1 page

1st question is isit ok to have more than 1 form per page? i read dunno where that 1 page shld have only 1 form, true? assuming you do login and register form in 1 page, i think there are 2 approaches 2 separate forms -> isit ok for form input[name] to be reused? eg. both login and register will have username & passwords field 1 form...

Is it possible to mimic sliding doors technique in CSS to have buttons without images

We use the sliding doors technique in CSS with sliced background images as mentioned here to create buttons which are oval shaped and have the color change and press down effect. Would it be possible to do something simmilar just with CSS but without using any background images. ...

Javascript/JQuery GetDay()

Hi guys, I have the following code: http://jsfiddle.net/SPWWx/ I'm completely new to javascript, this is my first time using it. The values of the HTML selects MUST be 01,02 etc, that's why I had to use a big long if else statement. The values have to be submitted to an application on a server, which is extremely fussy about what way i...

same page links in iphone mobile safari

Hi everyone Mine is something of a newbie question which I'm hoping someone can shed some light on. I have a table of contents on my page, with titles which link to sections further down the page. the targets are created like this; <a name='appendix'>Appendix</a> and the links are created like this; <a href='#appendix'>Jump to Appendi...

Getting javascript variable value with HTML Agility pack

Is it possible to get a javascript variable value with html agility pack? <script type="text/javascript"> var title = "Site title"; var articlesummary = "article summary."; </script> Is there any way that html agility pack would allow me to get the value of the variable title for example? ...

Slow site... but just in Chrome/Safari

I'm trying to find a bug in a web application, which is causing Chrome and Safari to take up to 15 seconds to load the page (Firefox and IE, there are no problems). I've tried using Chrome's developer tools to find out what is causing the slowdown, but am unable to understand what elements/script is slowing down the page. This is a joom...

jQuery moving a div across the screen, bit by bit

So I have this code: $(document).ready(function() { $(document).keypress(function(e) { switch(e.which) { // user presses the "a" case 97: $('#character').css('left','+=40'); } } } The problem is that I can onl...

How do I create a new webpage from a user submitted database entry?

Hello, I'm creating a dictionary database using php and MySQL. The user can search for a name, if it's there it brings up a list of matching links (eg: http://mydictionary/name.php) and then the user can click on said link and they are transported to a webpage that get's its information from the database. If there is no entry for the na...

I need a select box with checkboxes for each item. Any recommendations on a jquery-ui plugin?

I need a html 'control' similar to "CheckedListBox" from WinForms: <select> <optgroup> <option>Item 1</option></optgroup></select> where each item (and group) has a check box which can be individually checked/unchecked with callbacks. Has anyone found a jquery-ui or other option for accomplishing this? Thanks! ...

Outlook 2003 stripping out text decoration - HTML Email

I having some issues with a client of mine. I've built (not designed) an email template for them to use with Create/Send. I've used the design testing service from Create/Send and all is looking as intended. However, when the client views the email in Outlook 2003 the text formatting is missing (see screen grabs). There is very little C...

Can't get vertical align to work with img tag inside of a list

Pretty basic question - I can't seem to vertically align an icon inside of a list. My css looks likes this: #top_content img { float: left; } #top_content ul { float: right; } #top_content li img { vertical-align: sub; } #top_content li { list-style-type: none; display: inline; } #top_content li a { text-decoration: none; color: ...

How to change the background image of a textarea

How can I change my textarea background image when I select a value from the select menu? <html> <head> <title> Your Title </title> <script> function kool() { `enter code here`abc.style.background="img1.bmp" } </script> </head> <body> <textarea name="abc"> 1) Make paper airplanes out of the exam. Aim them at the instructor's left no...

passing flash parameters

i have a flash button and i want to pass the button link (after click) as parameter. what is the best way to do it? ...

Jquery direct users to a specific anchor tag

I am sure I could search for this if I knew the words to describe what I am looking for. I have a link that when pressed directs the user to another anchor tag using href="#anchorTagName"... however the link also has an onclick function which makes the div visible that anchorTagName is contained within. As a result the user is never dir...

What is IE 7 doing to my unordered lists?

It seems IE 7 is not rendering the lists inline. Any help? http://riemserdental.com/test2 ...