I have this code below and want it to show the progress of a form submission of a file upload. I want it to work on my website visit it through this IP (24.148.156.217). So if you saw the website I want the progress bar to be displayed when the user fills in the information and then hits the submit button. Then the progress bar displays ...
What would be the best way to intercept multiple fields via PHP? Currently I have a login.php file which is pretty simple:
<form method="POST" action="auth.php">
Code:<br />
<input type="text" name="code" />
<input type="submit" id="submit" value="Submit" />
<br />
Pass:<br />
<input type="text" name="pass" />
<input type...
Hello,
I have embedded a flash video on my website. http://zombiestrategies.com/howto
I am having the problem that it seems to rescale fine in Firefox on the Mac, but in Firefox in Windows it just crops the video.
Here it my HTML
<object width="650" height="500">
<param name="movie" value="How To Add A Location">
<embed src="http://...
I have the below code but it is not working. Is this correct?
var diffLvl = document.getELementById('lvlDiff');
var interLvl = document.getElementById('lvlInter');
var simpLvl = document.getElementById('lvlSimple');
if (simpLvl.checked) {
//do stuff
} else if (interLvl.checked){
//do stuff
} else {
//do stuff
}
...
I have the following code:
<table>
<thead>
<tr>
<th>Service</th>
<th>Status</th>
</tr>
</thead>
<?php $result = mysql_query("SELECT Service, Status FROM services WHERE Company='Company 1'");
while ($row = mysql_fetch_array($result)) {
// ^ must be a single '=' !!!!
echo '<tr><td>' . $row["Service"] . '</td...
Hello,
I'm trying to figure out how to copy a users text input in one form field to another. Specifically, when someone fills in their email address in the contact form, it will be duplicated in the mailing list form.
Both these forms are using ajax so there's no concerns about the input text being lost on submit.
This is the code I h...
Why do designers use sIFR if they can use @font-face ?
What is wrong with @font-face ?
@font-face {
font-family: "Hacen Tehran_eot";
src: url('Hacen Tehran.eot');
}
@font-face {
font-family: "Hacen Tehran_ttf";
src: url('Hacen Tehran.ttf');
}
p {
font-family:"Hacen Tehran_eot", "Hacen Tehran_ttf", sans-serif;
...
I want a specific layout for a website. I need the the upper section of the site to take the amount of space it needs (which varies during the page's lifetime as I hide/show various pieces of it). Then I want a lower section to start where the upper section left off and use the rest, showing a scrollbar if necessary.
I got just experi...
I have been working on trying to teach myself programming and have come stuck on a simple problem ,
the line I am working with is
echo "<td>" . $row['website'] . "</td>";
only in the database {mysql} it is in plain text under the column 'website' , I have been trying to work out how to make the row website clickable for the whole ta...
Just out of curiosity, I am trying to see if it is possible to use jQuery to read a HTML file so that I can use it to output some values of some html elements? I am looking for some functionality like what Firebug provides i.e. Firebug lets me use the $() on any webpage so what I am trying to achieve is:
I have a bunch of HTML files
I ...
An Example of the problem
Randomly i have a character on screen. He starts offscreen and smoothly moves onto the screen. However i have the problem with it moving offscreen. Right now i put him in the body using jquery. When it gets to the right side i plan to remove him by checking the width and waiting until he is completely out of sc...
I need to display the following list with each a tag in li taking up the entire width of the ul. the width of the ul is 500px;
<ul>
<li><a href="#">Home</a>a href="#">Home</a></li>
<li><a href="#">About us</a><a href="#">About us</a><a href="#">About us</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">FAQs</a><a href="#">FAQs<...
Hello Everyone,
I have a database with me consisting of certain tables. I have written a query to fetch some fields from a table and stored those fetched values in some variables. Now, I am looking for a way which will allow to assign values fetched from database to the XSL variables. I am trying to generate a HTML page using fetched va...
Hello friends,
i've checked through the posts on several sites including stackoverflow
but was not able to see a similar problem like mine.
I have a page with some div containers, that separate input boxes and
let them look good.
Problem:
Although everything looks good on safari/opera/chrome, the boxes get weird
on firefox.
I'm ...
I'm writing code to deal with errors, and part of this is printing a message to the user (eg "Whoops!")
However, the error code does not know what has gone before, so there is a danger that the error message might be hidden.
For example, what if the error occurs when generating Javascript? Then the HTML output would look like this:
.....
Does Ext-js come with functionality to manipulate the browser window?
Specifically, I want to resize and close the current browser window.
(Browser window, the browser's native window, as opposed to Ext-js' widgets).
It it possible or must I resort to plain old javascript?
...
Hey. Problem with my request is that this website doesn't work with javascript, so i need some kind of embed code, or some alternate to do it. I know it is possible, i just don't know how.
I want it to look like Twitter's Twitter Badge thingie, only without the real scripts.
Can anyone help?
Thanks in advance.
...
Im kinda new to CSS have been using tables for my html for years, Im trying to figure out how I can nest divs or stack them inside the content section of a 3 column layout. with tables I'd just do a new <tr>
but if I float another div into the content line line it will appear parallel or vertically, when I want to appear beneath. is ...
I have this banner rotator function:
var banners = ['../Graphics/adv/1.gif','../Graphics/adv/2.jpg']; //here put location of the files to display
var loadedImgSrc = null;
function loadBanner() {
var liczba = Math.floor(Math.random()*banners.length);
loadedImgSrc = banners[liczba];
var objImage = new Image();
objImage.onLoad=ima...
I have this banner rotator code:
function ban_rot() {
//First preload images
// counter
var i = 0;
// create object
imageObj = new Image();
// set image list
images = new Array();
images[0] = "../Graphics/adv/1.gif"
images[1] = "../Graphics/adv/2.jpg"
// start preloading
for (i = 0; i <= im...