html

Highlight a section of an image in JavaScript

Hi Guys, I run a small webpage that allows users to click on various links using image maps. I'd like to highlight the section that a user clicks on to give some feedback to the user (they may be clicking on several different parts rapidly). Is there a way I can invert (or otherwise highlight) a small section of an image JavaScript?...

php lib for parsing html to DOM hierarchy tree

I need some php library to parse html content to DOM tree Like this: html |--head | |---title--title_content | |---meta--meta_content |--body | |---div | | |--div--div_content .. etc and also repare or clean the invalid html. ITS not only for HTML BUT event for any XML style mark-up language. basically a parent-...

JQuery URL Selector to Replace standard XHTML Form Dropdown

I'm certain this is a simple solution, but had no luck pinning down the right approach (just getting started with jQuery). So, here's the question: I have this HTML form: <form id="callSelect" class="full" method="post" action=""> <select name="Single"> <option value="/var-a/">Var A</option> <option value="/var-b/">Var B</opt...

CSS Sprite now showing once uploadedhtr

http://www.keironlowe.host56.com/Website%20Testing/index.html At the bottom below the paragraph of text I have two images with hover effects one says Contact us and another says Jobs Available! These are there when I test the site on my local machine, but when I upload them to a server there not there when I load the page, the anchors ...

can you have images or any custom HTML displayed in jquery grid (jqgrid) cells?

i dont see anything in the documentation but i am trying to convert over code that is rendered in an html table over to jquery grid but the one missing piece is that many of the columns have images in them or other specialized html that i would like to show in the grid ...

Datalist displayed like a table

How can i achieve this layout (now its done with tables) and still have semantic markup, i guess the best suited tag for this would be dl. Every cell must have the height of their row. EDIT: the left column contains the description and the right the data. So i don't think this is well suited for tables. It would be if i would move the d...

JavaScript, DOM blur/focus, dropdowns

I am building a rich text/wysiwyg editor component in HTML and JavaScript. I have an unordered list of toolbar items which contains an image input element for a colour picker. The colour picker is an overlay which is displayed on the click event of the input element. The problem: I want the colour picker overlay to hide when focus is l...

How can I add spaces between two <input> lines using CSS?

I want to control the layout with CSS. How can I regulate the spaces between <input> elements(I hope they are on two lines) using CSS? <form name="publish" id="publish" action="publishprocess.php" method="post" > Title:<input type="text" id="title" name="title" size="60" maxlength="110" value="<?php echo $title ?>" <br/><div>Co...

Add HTML markup to $wpdb results in Wordpress

I'm pulling some data with the WPDB class in Wordpress, however - the data is being retrieved as raw data, without any markup. How can I automatically add this markup? ...

keeping track of multiple related input boxes using spring mvc

we have a list of domain objects needing to be edited on an html page. For example, the command & domain objects: class MyCommand { List<Person> persons; } class Person { String fname; String lname; } Then, the HTML I expect to have the Spring MVC tag libraries generate is like this: <form> <input name="persons[0].fn...

Norton 360 is thwarting my javascript -- what should I do?

Hi, One of my clients has Norton 360 installed on his computer, and it's interfering with the javascript in my web pages. Not all JS, just some. Simple things like <a href="page.html" onclick="somefunc(); return false;"> don't work. Also using jQuery to attach on onclick event to an a tag doesn't work either: // doesn't work $(d...

css style Centering in safari

i'm using css style like this text-align:center; its working in IE and doesn't work with Safari.. any suggestions. thanks, ...

Are mailto links even relevant in an age of increased webmail?

As the question states: Mailto is useful enough for people who use a desktop email client. That number is, I'm thinking, going down all the time outside of corporate intranets. Thus making mailto links an annoyance for these people, as they have to close whatever the default mail client is on their system and copy-paste the link. Now, I...

Including an external webpage using PHP

How can I use PHP to include an external webpage? (sort of like the wordpress theme preview.) I want (X)HTML STRICT compliant code - no iFrame and preferably no javascript. The idea is that I am making a sandbox for clients to view webpages in my controlled environment. The other thing is that the webpages being included should not be...

7 Divs, how to make they stay where the picture say?

Blue is where the image of the corners will go Green is a repeating image on the x axis on the top, all part of the same template! And orange is a simgle image repeating on the y axis For clarification here is what I've tried so far, i'm angry about this because when I use relative position it breaks because of an with background t...

How to create a template that will show only in IE6 using javascript?

Well the question is self explanatory! but the thing is I have no experience with javascript at all, but it seems to me that it's simple to do just that! oh and the changes will be only into the css side nothilg will change into the html, by the way this is a CMS template (joomla) so the index is dot-php wich should make it easy... I th...

How to optimize multiple repetitive images in HTML table

I am generating a large HTML table, and I use images for many of the cells. For example, one column might either have a thumbs up image or a thumbs down image. If I have 300 rows and 200 of them are thumbs up, they all have <a href="link"><img src="http://myserver.com/thumbsup.png"&gt;&lt;/a&gt; so it seems like I am going to the ...

are there any good web third party tools to do excel like pivot tables

i am using asp.net mvc so the solution can be either server side or client side (jquery, etc). i can't seem to find any good tools that can mimic excel pivot tables (allow user to get the pivot table experience that they get with excel pivot tables) on the web with good performance. ...

Replacing frames with code that uses scrollable div; div doesn't maintain position

I've got an ASP page that I've converted from frames to scrollable divs, but when I post back to the page I lose the position in the scrollable div. The users want me to return back to frames if I can't solve the problem with DIVS.Any ideas? I'm using classic asp. ...

Create li tag without and word in tag(empty)?

Hi all; I have this code : <li class="eight" ><a href="#" >music</a></li> but i want that have the same code without any word inside (empty) my mean is remove music word but still have the same width of li tag,is it possible?,or better say that how can i put space character in li tag? thanks ...