We've all seen the popular lightbox effects on the web (e.g. JQuery Lightbox and Shadowbox). Yesterday I got into a discussion with a client who is completely enamored with lightboxes and wants to use them every time a form is submitted including:
Login forms - click the login button and the lightbox appears with the user name and pass...
wahta i m asking is...
i have some value in p tag
eg. Hello
now i want that is there any way to get the value inside in a php variable( eg. $getIT)( session variable or normal varaibale or global variable)
so that when i do echo $getIT then it print Hello;
...
I have a Flash movie that is embedded in an HTML page that has a DIV in a layer over the top of the movie. The Flash movie scrolls based on the mouse position over the movie. The client wants the scrolling to stop when the mouse is over the DIV. I've tried using the mouseLeave event, but that is not triggered by the DIV.
Is there a wa...
I'd like to use a <tfoot> tag in a table to be semantically correct, but it keeps showing up at the the top of my table. Is there a way to tell it to display at the bottom?
...
Hello all,
I'm attempting to submit a form I've created out of an html string, like this:
var upload_form = "`<form action=\"uploadSong.php\" method=\"POST\" class=\"upload_form\" enctype = \"multipart/form-data\" target=\"upload_form\">`";
upload_form += "<input type=\"hidden\" name=\"showId\" value=\"" + showId ...
Is there a way to mask the URL extensions for pages on my website with PHP?
Example: http://home/subfolder instead of http://home.subfolder.php
...
The form and PHP code included here has been used to successfully upload a file name to the database and the file itself to a folder on the server. I need to edit the form and the code to allow for simultaneous upload of two files instead of just one. The filenames will go to the database while the files themselves will go to a folder ...
i am creating a web page for iphone, i need the page to display efficiently in the iphone as well as on pc's. I'm coding in xhtml and uses support of JavaScript and css. The problem is that, i'm getting the correct view in the pc's but too small in the phone.how to adjust the size of the page. I am checking the user agent and loading a s...
i use this as a background bar ... repeated of course
http://www.freeimagehosting.net/uploads/3c2f75b680.gif
and i want to replace that with simple CSS Gradient color without image ...so i searched all over the internet and i found this:
filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#ffffff' ,startColorstr='#000000' ...
I'm creating a website for mobile users as well as for pc users. I want this website to be viewed properly on both these end users. I'm now basically looking into the part of mobile users. When i load the page on my mobile, it seems to be a way too bit smaller. I need to reduce the whole body size of the page or its resolution to fit the...
I am looking for a way to replace keywords within a html string with a variable. At the moment i am using the following example.
returnString = Replace(message, "[CustomerName]", customerName, CompareMethod.Text)
The above will work fine if the html block is spread fully across the keyword.
eg.
<b>[CustomerName]</b>
However if the...
i have the following div in my website:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
.popup
{
float: left;
position: fix...
I'm using this currently:
$(document).ready(function () {
$('ul#nav > li').hover(function () {
$('ul:first', this).show();
},
function () {
$('ul:first', this).hide();
});
$('ul#nav li li').hover(function () {
$('ul:first', this).each(function () {
$(this).css('top', $(this).parent...
I have an Excel spreadsheet that is used to collect data from a user, and is used to populate our database. I need to produce an asp.net page that can be used to collect this data instead.
I'm having some difficulty coming up with the best way to get this data, the current spreadsheet is used to allow the user to define a number of pack...
I'm having a big of a styling problem with some table rows. As per this screenshot:
The blue and red circles are cells in a table row (whose height is 50px). Both are styled with "vertical-align:top" . The phone number data (in the red circle) is actually a pipe-delimited string where I've substituted HTML breaks for the pipes.
In...
How do I create a text box that displays hint on the right when in focus?
Example : http://www.airbnb.com/rooms/new
(click on the address text box)
...
The following is a reference HTML document that illustrates my issue:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Box model test</title>
<style type="text/css">
...
Hi,
I am building a query in a textarea with different conditions selected from the html controls. Also users are open to do modification to it.
Client side:
For the below list of condition:
a(1, 3) > 20
b(4, 5) < 90
c(3, 0) = 80
I form a query:
a(1, 3) > 20 and b(4, 5) < 90 or c(3, 0) = 80
On the server side this has to be parse...
Hi guys, I want to make 3 divs in one line. Left, middle, right.
Left and middle must have fixed size (300 px for example) and middle have to resize dynamically (in percents). Here is my css:
#content
{
width: 100%;
height: 435px;
}
#content_left
{
float: left;
width: 300px;
height: 345px;
border: 1px solid red...
On InternetExplorer, a contentEditable DIV creates a new paragraph (<p></p>) each time you press Enter whereas Firefox creates a <br/> tag.
Is it possible to force IE to insert a <br/> instead of a new paragraph ?
...