Forum: JavaScript / DHTML / AJAX Nov 5th, 2009 |
| Replies: 13 Views: 1,208 <html><head></head><body>This is a popup window,<br>
which may not open on any random system thanks to popup blockers<br>
on the chance that it does open, I want to close it 5 seconds later... |
Forum: JavaScript / DHTML / AJAX Oct 8th, 2009 |
| Replies: 6 Views: 457 dont use javascript
use css
the focus or active attributes
<style type='text/css'>
#link1 { background-image: url(Pic11.jpg); }
#link1:active { background-image: url(Pic12.jpg); }
#link1:focus... |
Forum: JavaScript / DHTML / AJAX Oct 4th, 2009 |
| Replies: 16 Views: 825 the explanation of the desired function of the script is correct.
but
the script will not work as expected
rollover images are not preloaded
the first time any affected image is rolled over the... |
Forum: JavaScript / DHTML / AJAX Sep 30th, 2009 |
| Replies: 10 Views: 1,062 <script type="text/javascript">
<!--//
function setplay(thisfile,ww,hh) {
document.getElementById("MediaPlayer1").src=thisfile;
document.getElementById("MediaPlayer1").style.width=ww;... |
Forum: JavaScript / DHTML / AJAX Sep 21st, 2009 |
| Replies: 10 Views: 577 <img src="images/bg.jpg" name="mainimage" width="419" height="282">
Should be <img src="images/bg.jpg" id="mainimage" width="419" height="282"> and as previously written by mathewmaxwell
function... |
Forum: JavaScript / DHTML / AJAX Sep 20th, 2009 |
| Replies: 2 Views: 308 The alert box stops subsequent processing
comment out the alert box as it is in the prior script and it will work
or place the alert box after the function and it will work |
Forum: JavaScript / DHTML / AJAX Sep 1st, 2009 |
| Replies: 6 Views: 871 ** the above is not be valid code in all circumstance **
it validates if <label> is inside one <td> but does not if <label> spans more than one <td> or <tr>
apologies |
Forum: JavaScript / DHTML / AJAX Sep 1st, 2009 |
| Replies: 6 Views: 871 html <label> tag
anything within the label is clickable for the checkbox
<label for='check1'>Entire Row<!-- any kind of code --> <input type='checkbox' id='check1' value='yes'> Yes <!-- any kind... |
Forum: JavaScript / DHTML / AJAX Aug 23rd, 2009 |
| Replies: 3 Views: 453 http://devphp.sourceforge.net/
using the portable version on a thumbdrive in customer offices
the full version on my pc |
Forum: JavaScript / DHTML / AJAX Jun 15th, 2009 |
| Replies: 3 Views: 783 It is better to validate the form on submission, as well
character strings can equal representations of the character you dont want, "
<script type='text/javascript'>
function isAlphabet(elem,... |
Forum: JavaScript / DHTML / AJAX Jun 3rd, 2009 |
| Replies: 7 Views: 723 when you get the database contents assuming the row is array $row
$row['textarea'] is assumed to have a value inserted into the html textareaif you create a javascript variable of $row['textarea']... |
Forum: JavaScript / DHTML / AJAX Jun 3rd, 2009 |
| Replies: 9 Views: 1,081 I am lousy at javascript, but here is the google search
http://www.google.com/search?hl=en&q=javascript+populate+menu+on+menu+select&meta=
and the site I got mine from ... |
Forum: JavaScript / DHTML / AJAX May 19th, 2009 |
| Replies: 4 Views: 732 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type='text/css'>
<!--
.top { background-color: #000070; color:... |
Forum: JavaScript / DHTML / AJAX May 19th, 2009 |
| Replies: 4 Views: 732 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type='text/css'>
<!--
.top { background-color: #000070; color:... |
Forum: JavaScript / DHTML / AJAX May 5th, 2009 |
| Replies: 3 Views: 807 shtml php asp would be so much easier to code than trying to 'dynamic' the iframe.
just one line of code in each page file, and change the extensions to
.shtml<!--#include virtual="/mainmenu.html"... |
Forum: JavaScript / DHTML / AJAX Mar 26th, 2009 |
| Replies: 4 Views: 974 search = '<form action="http://www.ututorial.net/search" id="cse-search-box"><div><input type="hidden" name="cx" value="partner-pub-3996237323979957:tenb6ft9bbh" /><input type="hidden" name="cof"... |
Forum: JavaScript / DHTML / AJAX Mar 17th, 2009 |
| Replies: 6 Views: 921 I don't see much point in doing redirects after the wrong page is loaded to the minibrowser, If you do it on the server before the page is loaded the minibrowsers wont waste time loading a heap of... |
Forum: JavaScript / DHTML / AJAX Mar 9th, 2009 |
| Replies: 7 Views: 1,877 The code below is a popup layer, for mozilla/firefox dom and IE dom, so you will see each action declared twice for the different DOM.
Its a script included in the pages for certain properties, I... |
Forum: JavaScript / DHTML / AJAX Mar 8th, 2009 |
| Replies: 4 Views: 1,135 put the <noscript> in the <head>
put a html redirect in the noscript
<head>
<noscript>
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/noscriptpage.html">
</noscript>
<!--... |
Forum: JavaScript / DHTML / AJAX Mar 8th, 2009 |
| Replies: 4 Views: 1,135 <noscript>This page requires javascript</noscript>
anything between noscript tags is ignored if javascript is active, and the tags are ignored and the contents parsed if javascript is inactive
Any... |
Forum: JavaScript / DHTML / AJAX Mar 2nd, 2009 |
| Replies: 7 Views: 1,877 dont use a popup
popups are routinely blocked for security
every day a larger proportion of browsers have popup blockers enabled.
because popups are annoying
sites that use popups get worse... |
Forum: JavaScript / DHTML / AJAX Mar 2nd, 2009 |
| Replies: 2 Views: 613 It does not work in IE7 either
there are several hundred nul characters scattered at random through the source
redo with a text only editor, or change the editor used config to save html as plain... |
Forum: JavaScript / DHTML / AJAX Feb 18th, 2009 |
| Replies: 4 Views: 1,182 |
Forum: JavaScript / DHTML / AJAX Feb 16th, 2009 |
| Replies: 6 Views: 1,682 function go(page) {
If !(page = "") {
document.go.view.value = page;
document.go.action = document.go.action+"&page="+page;
document.go.submit();
}
}
my javascript is rusty, but this... |
Forum: JavaScript / DHTML / AJAX Jan 18th, 2009 |
| Replies: 5 Views: 1,099 And
validate the form on submit,
and if any field fails validation
you send the form back for correction/resubmit |