html

jQuery - hidden input value from select inputs

Hi I have something like this: <select class="bla"> <option value="1">...</option> <option value="2">...</option> </select> <select class="bla"> <option value="1">...</option> <option value="2">...</option> </select> <select class="bla"> <option value="1">...</option> <option value="2">...</option> </select> <input class...

setting background image on link to show up to the right of text link

I am using toggleClass and slideToggle to accomplish the following: when the user selects a link, it will slide down the div, then it will set the link as open, displaying the appropriate background image, this is just a simple, (+) and (-) to open and close the div. What I am having trouble with, is displaying the background-image to ...

use regular expression in php

..(content)............. <A HREF="http://test.com/content" >test link </A> ...(continue content)... I want to delete link with content. And also text between link. ...

javascript not working for newly added innerhtml through jquery

Hi, I have following HTML structure <table> <tr> <div id="getData"> </div> </tr> </table> I am using jquery's html() method to add dynamic contents to div id "getData" as: $('#valueResult').html(data); var data =" <table><tr><td><input type="checkbox" name="test[1]" onclick="doSometing()" /> Test</tr></tr></table> ...

How do i add a HTML Break <br /> in the JSF FacesMessage I create

By Default , every JSF FacesMessage is added in a single row , I wanted to add a HTML in the message itself, so that the error is shown neatly. I tried few ways but was not successful. I am using Facelets, JSF 1.2 without Tomahawk or other libs and XHTML Transitional Doctype ...

internet explorer 7 css problem

Hi I am modifiying a cs-cart theme which uses smarty template engine. I am able to move the shoping cart links to above the top menu and it shows Ok with IE8 firefox etc. Hovewer IE7 make an empty space. How could I make IE7 happy. I added the necessary style-sheets and tpl files. Main css files are style.css and stle.base.css. IE8 ...

Is there a simple way in R to extract only the text elements of an HTML page?

Is there a simple way in R to extract only the text elements of an HTML page? I think this is known as 'screen scraping' but I have no experience of it, I just need a simple way of extracting the text you'd normally see in a browser when visiting a url. ...

jquery HELP with toggle

okay so i have a log in button on the top of my site that when clicked calles some jquery to show/hide a log in box. yet i have a search box next to it and when you click on that not only are not able to type in it but it also toggles the log in box the first code should be the jquery and the secong is the html part that calls it. btw i...

How to extract a page title

Hey, I am trying to extract the page title from an HTML page cat index.html | grep -i "title>"| sed 's/<title>/ /i'| sed 's/<\/title>/ /i' The problem happens when some pages are written in one line! (believe me it happens) How do I solve that? Thanks! ...

Why won't my web page display Google Charts chart?

I create a little web page that will be used for BB's. All works except for when I try to display an image using Google Charts. All works as expected on the emulator but the chart images do not work on the physical device. Below is the URL I am using in my image tag. http://chart.apis.google.com/chart?chs=740x200&amp;chf=bg,s,ffffff|c,s...

Is there a way to add Facebook Like buttons to lots of products?

I know how to add a Facebook like button for a group or page, but is it possible to add a like button to every product in a web store without having to create a group or page for each product? This was originally asked on StackExchange Web Apps Private Beta here. ...

PHP/HTML Show dropdown of country calling codes

I need to show a dropdown menu with the international calling codes for each country. Where can I find such a drop down???? ...

Local image displays in IE but not firefox?

Hey everyone, I have the following line to display an image: $output .= '<div><img src="C:/backup/images/000001_full.jpg"></div>'; ($output is then put into an html file as a local backup). When I view the page with IE, the image is displayed fine, but not with firefox. Any idea why? Thanks, Dave ...

Issues with dynamic google maps integration

I have ran into a very strange issue with Google Maps in Chrome 5.0.375.99: if you dynamically create more than one Maps instance, the second and on have a strange bug where it does not display properly, is only shows in a fraction of the map space. Some Example Pages: one default - When you click addOne, the new object has the problem...

jquery selectors

Hi. I need to select a class in my javascript and change one of its property. but since that class is being used with different divs, I need to change the property of the class I hover upon only and not the other ones. is that possible? the html structure looks like this: <div class="home_linkbox_href"><a href=""><div class="home_link...

a simple css issue about overflow:hidden

Hello, This is my css content :- <style type = "text/css"> li { display:inline; } .carousel { position:absolute; white-space:nowrap; } .sliderGallery { width:800px; overflow:hidden; height:100px; } </style> This is my html content :- <div ...

Which is a good psd to html/css converter service? (fixed price)

I'm looking for quality code, cheap and extra bonus if they make wordpressthemes. ...

3-column Web Parts Page?

Hello all, I am setting up an asp.net web parts portal for some stuff. I have a [hopefully] really easy question. How can I make the page have 3 major columns? Right now I have two columns using <div id="leftpanel" style="float: left"> and <div id="rightpanel" style="float: right">. But I cannot figure out how to get a panel in the cent...

Reasoning for alternate PHP syntax for conditional HTML

So, why does this work: <?php if (condition): ?> <!--html code here--> <?php endif; ?> But not simply this: <?php if (condition) { ?> <!--html code here--> <? } I figured it was just style preference, but I actually can't seem to get it to work the second way. Am I just doing something completely wrong? I can't see the ...

How to produce a 3-column list?

I have to produce a 3-column list of items similar to what can be seen for the different groups (mostly banks and financial institutions) at this page: http://funds.ft.com/FundDirectory.aspx (even though these are horizontally aligned divs) I have all the items I need to add to the 3 columns in a List<Group> stored in my Model.Groups o...