Hi!, i have a web page using a css style file who have this property:
body {
background: #7a9c12 url(images/main_background.jpg) top center no-repeat;
color: #bbb;
font: 12px/14px helvetica, arial,Sans-serif;
}
As you can see this code only puts a background image on the top center on the div body. But, i need a background...
Testing part of a form. So, right now I just want to alert what the user selects:
JS:
function getData(title)
{
alert(title);
}
HTML generated by PHP:
<select name="currentList" onChange="getData(this);">
<option value="hat">Hat</option>
<option value="shirt">Shirt</option>
<option value="pants">Pants</option>
</...
I have a mysql databased with many tables and fields. I would like to quickly generate a set of prototype forms based on the mysql database (or create table statements). Anyone have any suggestions? html form code would be great. Full PHP validation and insert updates would be even better. Also Zend framework code would be ideal.
I was...
I'm just curious as to why this works:
$config = array('wrap' => 0,'show-body-only' => TRUE,);
$str = '<p>Hello World!';
$tidy = tidy_parse_string($str, $config);
tidy_clean_repair($tidy);
echo (htmlentities($tidy)); //outputs <p>Hello World!</p>
while this doesn't:
$config = array('wrap' => 0,'show-body-only' => TRUE,);
$str = '...
i'm trying to dynamically set a metatag to the head of my document. This is a mobile device specific metatag that I need to add through code. I found this solution here:
http://stackoverflow.com/questions/2831529/having-trouble-using-jquery-to-set-meta-tag-values
but it doesnt seem to work, what am I doing wrong?
function setOrCreateM...
So I want users to be able to see my background on my website. Currently my websites width is 925px and when you view the website in a mobile browser (e.g. iPhone, Opera Mini) it is zoomed in on the text and the user can't see the background.
I've tried using the meta viewport tag unsuccessfully. How do I get my website to be zoomed out...
Hello All,
Symbol for Indian currency was approved by the Union Cabinet on 15 July 2010. below is method to makes the rupee symbol available to everybody on the web.
WebRupee is a web api for the symbol of Indian currency.
WebRupee API provides a simple, cross browser method for using the Rupee symbol on your webpage, blog or...
Here is my site, first of all:
www.kaiserroof.com/test/index2.html
So here is my problem. You'll notice that underneath the divider bar in the middle of the page, there are three columns, one with a form, one with text, one with links. Now, resize the window to slightly smaller, and the right div will drop down to the next line. Is ...
I want to get the value to of drop down list, to send back to server to match something.
Update:
Sorry, i has to be clear on my question. I am using javascript to get values in client side and sending those back to server with DWR & processing them with JAVA code.
<select><option selected="selected" value="1">EEE</option><option value...
Are there any tools other than Firebug that can help me figure out why my HTML is layed out the way it is? If you list any tools, please add what they can do which Firebug can't.
...
I had set up Galleria Plugin successfully. But the problem is that the thumbnails for each picture is not generating. My Code is below
<div id="galleria">
<img title="Image title" src="images/1.jpg">
<img title="Image title" src="images/2.jpg">
<img title="Image title" src="images/3.jpg">
<img title="Imag...
This problem has been bugging me for awhile. For some reason, after the page is finished or near-finished loading, the page jumps down, about half-way.
What I want to happen, and what I expect, is that pages remain at the top post-load.
Is there something I've done that could cause this?
For me it happens in Firefox 3.*
Example 1
Ex...
Hi All,
Input : Korean or japanese language
Browser : IE
<textarea name="arg02" id="w400px" cols=28 rows=4
onKeyDown="textCounter(this.form.arg02_ScanEmailBody,this.form.remLen,500);"
onKeyUp="textCounter(this.form.arg02_ScanEmailBody,this.form.remLen,500);">
valuefrom DB
</textarea>
My limitation is to be allowed only 500 in ...
Hello. I have some zend form. It is my code:
private function _createForm($action) {
$form = new Zend_Form();
$form->setName($action . '_form');
$form->setMethod('post');
// Main tab
$title = $form->createElement('text', 'title');
$title->setLabel('Title')
->setAttrib('maxlength',50)->setAttrib('id',...
dear i have 2 text and 2 checkbox:
<input type="checkbox" id="class1">
<input type="checkbox" id="class2">
<div id="hidden">
<input type="text" id="valclass1">
<input type="text" id="valclass2">
</div>
i want if i checked at "class1" then click show button "valclass1" can show. but if not checked, it hidden.how do i do that?
...
Hi,
I am trying to figure out the best way to acompish "unobtrusive" forms for a user (within a web app).
The purpose: keep user on the site by not asking to fill unnecessary form in. Ask for the details as only when such are needed.
The requrements are:
User should provide additional details only when it is required (email to recei...
i have set up jquery galleria successfully. But what i want is to set up the first image loaded on the galleria dynamically. i.e., consider there is five links as one,two,three,four,five. when the user clicks the link three, the galleria will appear and display the gallery with THIRD image atfirst
plz help.
...
Possible Duplicate:
HTML title image
I needs to site URL with Favicon, please guide me how to add it. Like if you see gmail
thanx
...
I'm having trouble with a layout I'm trying to achieve. I have three divs on a page all with attribute float: left. Third div is dynamically filled, and shown or hidden, using jquery with content depending on what is hovered over in the second div. Third div has two child divs, of which the second div can potentially have many, many span...
Dear All!
There is an anchor in one of my websites.
http://www.autostitkok.hu/tozsde3.html#jelentkezes
Firefox 3.6.8 doesn't "stop" at the anchor if I use an anchored link, but rolls down to the bottom of the page.
If I click into the address bar of the browser, and hit enter, the browser jumps to the right place, but obviously this ...