almostbob 866 Retired: passive income ROCKS
<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
<script type='text/javascript'>
<!--
settimeout('self.close()',5000);
--></script></body></html>

also

<body onload="javascript:settimeout('self.close()',5000);">
almostbob 866 Retired: passive income ROCKS

thisimg is 80*80
thatimg is 640*500
theotherimg is 1024*768
yourimg is 216*136

You gave no details I made them up

<img src='thisimg.jpg' width='80' height='80' alt='click for credits' onclick='document.getElementbyID("credits").innerhtml="File Name - thisimg.jpg<br>File Size - 80px*80px 15KB";setTimeout("document.getElementByID(\"credits\").innerhtml=\"\"",3000);'>

Edit::left out closing quote

almostbob 866 Retired: passive income ROCKS

html tags should really be lower case, values quoted, corrected

<html>
<head>
<title>Simpler Adder</title>
<script type='text/javascript'> // corrected
<!--
function CalculateSum(Atext, Btext, Ctext, Dtext, form)
{
var A = parseFloat(Atext);
var B = parseFloat(Btext);
var C = parseFloat(Ctext);
var D = parseFloat(Dtext);               // Error Ctext declared
form.Answer.value = (A * B / C * D);
}
function ClearForm(form)
{
form.input_A.value = "";
form.input_B.value = "";
form.input_C.value = "";
form.input_D.value = "";
form.Answer.value = "";
}
--></script></head>
<body>
<p><font size="+2">Simple Adder</font></p>
<form name="Calculator" method="post">
<p>Enter the number of SCR trucks you operate: <input type='text' name="input_A" size='10'></p>
<p>Enter the average miles for a single truck, traveled in one year: <input type='text' name="input_B" size='10' value='100000'></p>
<p>Enter the average fuel mileage of your trucks (measured as MPG): <input type='text' name="input_C" size='10' value='6'></p>
<p>Default dosage rate is 2% DEF per every gallon of diesel fuel based on engine manufactures: <input type='text' name="input_D" size='10' value='.02'></p>
<p><input type="button" value="Average yearly gallons of DEF you may consume" name="AddButton" onClick="CalculateSum(this.form.input_A.value, this.form.input_B.value, this.form.input_C.value, this.form.input_D.value, this.form)"></p>
<p><input type='button' value="Clear Fields" name="ClearButton" onClick="ClearForm(this.form)"></p>
<p>Answer = <input type='text' name="Answer" size='12' readonly></p>
</form>
</body>
</html>
almostbob 866 Retired: passive income ROCKS
<img src='thisimg.jpg' width='80' height='80' alt='click for credits' onclick='document.getElementbyID("credits").innerhtml="File Name - thisimg.jpg<br>File Size - 80px*80px 15KB";setTimeout("document.getElementByID(\"credits\").innerhtml=\"\"",3000);>

if populating images on the page from a database the scripting language can fill the blanks from the imagedetails stored

almostbob 866 Retired: passive income ROCKS
<button type='submit' name='thisorthat' value='whatever you want'>displayed label</button>
almostbob 866 Retired: passive income ROCKS
almostbob 866 Retired: passive income ROCKS

make yourself a page
a really enormous wad of text
images are insignificant as jpg and png are already optimized and nobody should be bmp-ing
make 2
one with gzip enabled, one without
compare load times
run both through http://www.websiteoptimization.com/services/analyze/ to see the difference
I find a huge speed differential in favoour of

<?php ob_start("ob_gzhandler"); 
ob_flush(); ?>

css and javascripts respond well to gzip,
example: in the include file creates your <head>
change references to 'style.css' to 'style.css.php'

<?php header ('content-type:text/css'); 
ob_start("ob_gzhandler"); ?>/*<style>*/
.rss-box { margin:1em 3%; padding:4px 8px; background-color:#ededed; border:2px dashed #7485CA; }
.rss-title, rss-title a { font-family:"American Typewriter", "Trebuchet MS", Trebuchet, Lucida, sans-serif; font-size:100%; font-weight:bold; margin:5px 0; padding:0; letter-spacing:1px; }
/* bla bla bla */
<?php ob_flush(); ?>

likewise script.js can be script.js.php with content-type:text/javascript and gzip enabled

almostbob 866 Retired: passive income ROCKS

Dont do it, even if you find out how,
its a waste that users will not wait for
click away, next google search response

almostbob 866 Retired: passive income ROCKS

The adsense reporting, includes google's monitoring javascripts so may give you a better sense of what pages are getting hit, So you can optimize your site content

BUT
Google adwords adsense, analytics servers are listed in the Spybot 'Immunize' database,
and the MSMVP Hosts file, as malware,
revenues and the reports will not be accurate,
any user with a competent antimalware program will not load those external javascripts, see the ads, or be recorded on the tracker.

almostbob 866 Retired: passive income ROCKS
<%@ Page Language = "VB" aspcompat=true Explicit="True"%> 
<%Dim src As String = " bet "%>

you knew to quote values up there , , , but, ,

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body >
<form name='loc' action='testsac.aspx' method='get'>
<table class='s0' width='100%' cellpadding='1px' cellspacing='1em' align='center' border='1px'>
<tr class='s0' align='center'>
<td>
Search For:
<input class='s0' size='50' name='src'  value='<% =src %>'>
<input class='s0' type='submit' value='Search'>
<td></td>
</tr>
</table>
</form>
</body>
</html>

Values are quoted in html,
measurements other than zero have a dimension
/> is Xhtml and may cause errors in html

for code problems where the solution doesnt jump out and bite you, plug the code into http://validator.w3.org/ and let it find the problems

almostbob 866 Retired: passive income ROCKS

standard tips and tweaks
http://websiteoptimization.com/services/analyze/
http://validator.w3.org/
http://jigsaw.w3.org/css-validator/
http://demo.opera-mini.net/demo.htm?www.yoursite.com
http://www.browsershots.org
code, css, mobile browsers, other browsers, optimize hints

of course thats once you get the code written

W3C guidelines for layout give hints for accessible sites, accessible is also readable for average joe
pixels are for images, not anything else recommended dimensions are in ems and %s
set margins of the body, and the page will adjust to most screen resolutions
most :profitable:popular:accessed:used:remembered web site Google, 1 entry form in the middle of a blank screen
Old Yahoo search chockablock screen, (who uses Yahoo)
New Yahoo search, 1 entry form in the middle of a blank screen
New Bing search, 1 entry form in the middle of a blank screenk.i.s.s. small is beautiful
css is faster than tables

almostbob 866 Retired: passive income ROCKS

Bytehost only support Cron in premium accounts
You could schedule a php task from your local pc at the time appropriate
there are a bunch of possibilities http://www.google.com/search?hl=en&safe=off&q=alternative+to+cron&start=10&sa=N

almostbob 866 Retired: passive income ROCKS

then you will get a close confirmation dialog, closing the initial window will kill your browser history.

most forms can be self processing, then this problem does not exist
action = self (in whatever language the form is written in)
and value of fields is $_post value if $post is set allowing each field to be sequentially corrected and reposted
submission is not made to the database untill the form validates

<?php /* validate form  if ok submit & redirect to next page, echo the form if failure */ 
echo "<form method='post' action='".$_SERVER['PHP_SELF']."'>";
. "Name <input type='text' name='name' value='".$_POST['name']."'><br>";
."Address <input type='text' name='address' value='".$_POST['address']."'><br>";
."<input type='submit' value='Go Nuts'></form>"; ?>

the code sample is BS just to demonstrate inline possibilities

If the form in the popup window validates and submits, then in that form you can redirect the initial window, using the opener property in the popup, each window remembers its parent and its opener

onvalidate

opener.location.href='nextpage.html';self.close();
almostbob 866 Retired: passive income ROCKS

target='_blank' creates a new unnamed window
target='Ralph' creates a new named window, Ralph, Ralph (mywindow, detail, example etc) can be accessed by javascript
the window can be closed <a href='#' onclick='Javascript:Ralph.close();' > Close popup </a> for most people this will not be neccessary or effective as their popup blocker will not allow javascript to open a new window

Layers, css layers can contain whatever you display in the new window without being blocked

almostbob 866 Retired: passive income ROCKS

^ smart **
< tennis basket golf (balls)
<< why is he doing this at 2 in the morning
V has chocolate

almostbob 866 Retired: passive income ROCKS

clone
cope
lone
loupe
once
open
pence
pole
ponce
pone
pounce

opacity

almostbob 866 Retired: passive income ROCKS

limit =1 ? if you only want one pic
or if pictures in albums are number, select only number 1 in each album
hard to code without knowing the data structure

almostbob 866 Retired: passive income ROCKS

the doctype declaration is the first line of the html file
it tells the browser what html is following
html 1
to html 4
or xhtml 1 strict or not(forgot the correct term there)
merely adding a doctype is insufficient, the doctype has to match the code
the code given is NOT xhtml, adding an xhtml doctype will cause further problems

validating the html is ensuring the code used matches the doctype, is syntactically correct, the W3C has an online validator at http://validator.w3.org/
the code given is closest to html 4.01
there are a bunch of tutorials on W3c.org

almostbob 866 Retired: passive income ROCKS
almostbob 866 Retired: passive income ROCKS

the current W3C reccommendations are device resolution independent, Ems %age dimensions adjust to all screen sizes and user preferences
Web editors that can layout in % are freely available
Web editors that cant, can be converted
example if you design for 800*600
width=80px becomes width=10%

almostbob 866 Retired: passive income ROCKS

links wont display till google next crawls the page the links are on, (till then the SE does not know they exist, Yahoo's bot has ocrawled the page) and determines that your site is worth displaying.
its always quicker if your site is submitted,
the sitemap shows all your pages
there is something for the bots to determine relevance on, even if as yet there are no pages displayed
else they find the links, mark the new site(yours) to crawl, determine relevance, determine whether to display links,
a few pages at a time bots do not index all pages of a new site right now
billions of sites, less bots,
takes time,
its imperfect, but what you gonna do block SE bots?
google suggest submitting your site to speed up the process

almostbob 866 Retired: passive income ROCKS

coffee and fig newtons

almostbob 866 Retired: passive income ROCKS

so am I :)
guess the answer was not appropriate to the skillset :(
the other thread was pretty simple to follow, and gave code samples tho

almostbob 866 Retired: passive income ROCKS

external css files do not have <style></style>
they need only contain definitions, do not require comments whitespace or formatting

.thumbnail{ position: relative; z-index: 0; }
.thumbnail:hover{ background-color: transparent; z-index: 50; }
.thumbnail span{ position: absolute; background-color: lightyellow; padding: 5px; left: -1000px; border: 1px dashed gray; visibility: hidden; color: black; text-decoration: none; }
.thumbnail span img{ border-width: 0; padding: 2px; }
.thumbnail:hover span{ visibility: visible; top: 0; left: 60px; }

likewise html does not require comments whitespace and formatting, it makes it very much easier to debug in development
very much larger to download in use, 25% of the html file in the op is whitespace.
Not going to say anything about tables, {tables bad, css good}

this part of the css .thumbnail:hover span{ /*CSS for enlarged image on hover*/ visibility: visible; top: 0;left: 60px; /*position where enlarged image should offset horizontally */} sets the position to 0 60
this .thumbnail:hover span{ visibility: visible; } may be what you need, (unchecked)

almostbob 866 Retired: passive income ROCKS

'view source' and everyone has your password even if you fix the input box as type="password" elsewhere on this site,
I know not where i was browsing
there was another discussion thread that hashed the password, and sent the hashed value as password, and compared the hash of the entered password to the hash value, its harder to cheat

almostbob 866 Retired: passive income ROCKS

any time consuming bandwidth eating enhancement you make, will make no difference to the user,
If the enhancement delays the loading of the page they will leave
user click away may seriously annoy the client who is paying for this development
Check with the client whether they want a inaccessible site
before you code, much flash is not disability friendly, client location may limit what can be done, or force parallel coding
it has to be simple to maintain as well

If you pitch it at them right, and the idea is different enough, and effective, you'll get the go ahead, and there won't be questions later about how much extra were these features we didnt ask for.
the sort of script you need is likely already available to plugin from http://www.flashcomponents.net I have used this one. there is no noticeable page delay over the static jpg image that used to be there.

There are a bunch of user contributed actionscripts, on forums like this, but I cant at the moment think of what the google search would be

almostbob 866 Retired: passive income ROCKS

google will find your site,
eventually
If you don't want to wait for eventually,
for there to be links to your site from indexed sites,
submit your site

google suggest submitting your site to google,
Google 101
in the google webmaster tools
nuff said

almostbob 866 Retired: passive income ROCKS

depending on the language used as the front end to the mysql back end,
php $date=strtotime('string');
asp $date=DateTime.Parse('string');
in sql getdate($date)

don't use those codes look em up, I havent, so there will be errors

sql date format sux, is explained here http://www.tizag.com/sqlTutorial/sqldate.php
hugely sux
personal viewa unix timestamp is easier apologies
other people with less rigid literal minds have little trouble with setting up the processing to run queries on sql date types

peter_budo commented: Well said +11
almostbob 866 Retired: passive income ROCKS

does src="file:///c:\users\sonnydajalexa\desktop\test\smiley.jpg" work

almostbob 866 Retired: passive income ROCKS

perl is a server language, a very dynamic language actually
I don't know exactly how, but there is a perl analog to that php script
there are more google results than I can look at
http://www.google.com/search?hl=en&safe=off&q=secure+perl+file+download+script&meta=
perl is usually running as mod_perl on apache, mod_rewrite should be available to change the displayed url

almostbob 866 Retired: passive income ROCKS

mode_rewrite on your apache server will display the url however you see fit

or this server side, in this case php, the url is always http://www.site.com/download.php?file

where the file is accessed

<a href='download.php?file=thisfile.pdf'>download Thisfile.pdf</a>
<?php /*download.php*/
If (!$file) { die ('no file, incorrect filename'); }
if(!$_SERVER['HTTP_REFERER']=='note1') {die ('direct linking not permitted'); } //note1: single refering file- or find in array of files permitted to access the download folder 
$path='note2'; //note2: full path outside the root to downloadable files this is hidden from the user
header("Content-disposition: attachment; filename=$file");
header('Content-type: application/pdf;');
readfile("$path$file"); 
?>

ths file is a force download script, change 'content-disposition' to suit

almostbob 866 Retired: passive income ROCKS

Dumb as a stump, , but 3/3

almostbob 866 Retired: passive income ROCKS

THe algorithm is the biggest secret they have
lots can tell you the results
few know how it is achieved,
the few all work for search engine companies -- with a non disclosure clause
for the simple stuff, use a search engine

almostbob 866 Retired: passive income ROCKS

OPP and NSW Police
I live in both countries, they can be described equally
The best Police Force money can buy

lllllIllIlllI commented: Another NSW person happy with policing :) +0
almostbob 866 Retired: passive income ROCKS

I dont have an answer, but I'm fascinated by the question
I remade my tables hard
I did a lot of find and replace

<!--almost-->
<table> <div class='outer'>
</table> </div>
<tr> <div class='row'>
</tr> </div>
<td> <span class='cell'>
</td> </span>

<style type='text/css'>
.outer { width:95%; border:1px solid #000000; }
.row { border_bottom:1px solid #000000; }
.cell { width 18%; }
</style>

there were five columns in the table

almostbob 866 Retired: passive income ROCKS

I read somewhereworkers like basketball
lwr management, football
upr management, tennis
rich *****s golf==> the richer you get, the smaller the balls

almostbob 866 Retired: passive income ROCKS

DOH! Okay, let's both just walk away from that one and pretend like it never happened.

I ran it through a syntax checking editor
Syntactically the first one is correct code
each line was right in itself
It took asking my 18 year old for a hint,
he just said
"whats the query?"
and left :(

almostbob 866 Retired: passive income ROCKS

CanadaFred
I'm on page one for all of my search terms
beat three larger competitors
got 9017 referrals from google last month September,
4152 from Bing, dont track yahoo, its insignificant
Have sales bookings to 2012, have 336% increase in sales this year during a recession
by SEOing per google webmaster guide
Google 101 seems to work

jbennet has a row of little green SQs, a row if little yellow stars, next to the name, those are "I got it right" kudos, solved threads, reputation, gratitude, signs of skill.
He's a mod, you dont get to mod easily, Gurus make mod's coffee

hanging by my fingertips I reached 1 star,

you got none..

almostbob 866 Retired: passive income ROCKS
<?php
/* connect select db etc */
$flat=("SELECT C.Latitude, C.Longitude FROM Cities C JOIN Countries Co ON Co.CountryId = C.CountryId JOIN Regions R ON R.RegionId = C.RegionId WHERE C.City = '$city' and Co.Country = '$country' and R.Region='$state'");
while ($fr = mysql_fetch_array(mysql_query($flat))) {
$lat = $fr['Latitude'];
$long = $fr['Longitude']; } 
/* echo $lat $long; */
?>

I dunno but there has to be a query in there doesnt there?

almostbob 866 Retired: passive income ROCKS

follow the instructions
each google page links to others an explanatory list and then detailed instrcuctions on how google indexes and see the siteYes Fred, you get paid for SEO
and you don't want anyone to know they can optimize their site themselves,
that ethical question,
where does self interest intersect with public discussion.

almostbob 866 Retired: passive income ROCKS

follow the instructions Google 101
google seem to know a little about how google index web sites
Pretty much nothing anyone else says about google really matters much

almostbob 866 Retired: passive income ROCKS

bringing it to current best practice would help
fixed width central column looks ridiculous on a widescreen monitor, creates horizontal scroll bars opn a small monitor or small browser window
font becomes vanishingly small on a hires monitor, fails on a handheld/blackberry/iphone
potential customer CEO has either the latest desktop wizz, or handheld toy,
paid developer's sites need to be code compliant,
potential customers know just enough to use validators, not enough to determine whether the errors are serious http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mlwehelp.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 Xhtml and html do not mix well

the stand out part of your page in a keyword search, is the advertisement for PSpad editor

almostbob 866 Retired: passive income ROCKS

http://panmental.de/public/programming_projects/Slideshow%20script%20in%20PHP/ developers page
http://sourceforge.net/projects/phpshow/ sourceforge page
small overhead, no java no javascript no flash
one file, configurable, documented internally

rename phpshow.php to index.php, & its automatic
*edit* requires php support

almostbob 866 Retired: passive income ROCKS

use a different gallery
there are thousands, many that do not require thumbs to display thumbs

almostbob 866 Retired: passive income ROCKS

If you set that link to your site, and it displayed yes

mobile visible does not mean mobile compliant does not mean mobile optimized
the site may look "intersting (translation bad)" on a mobile iiifff
it has a fixed body width that is wider than the mobile screen
it has a fixed font size that cannot be altered to suit the screen resolution
w3c accessibility http://www.w3.org/TR/WCAG10/ and
w3c mobile layout, http://www.w3.org/TR/mobile-bp/
overlap so building an accessible site works (mostly) on a mobile
WorPress is mostly accessible, so is mostly mobileable

The Constraints
The main limitation of a handheld device is the small screen, which may also lack a mechanism for horizontal scrolling. Input is often with a stylus, not a mouse. Downloading to the device is likely to be both expensive and slow, the processors are slow, and the memory is limited. A lot of users may therefore choose to turn off in-line image loading.

Now, what do these limitations imply for the designer?

Design one column layouts and avoid floats.
Optimize your HTML by using efficient, semantic markup and CSS.
Minimize the use of decorative images, avoid relying on images or plug-ins for navigation.
Write good alternative text for images.
Avoid dynamic effects that specifically require a mouse or keyboard for navigating.
http://www.alistapart.com/articles/pocket/

set taborder on navigation controls
ems % sizes, no fixed fonts, no fixed anything,
large …

almostbob 866 Retired: passive income ROCKS

its not a new type of scripting
its a script using php, the brand name of an image script
with it you upload images and display and manipulate them
details http://www.4homepages.de/ , english text at the bottom of the deutsch text
there are dozens of similar scripts free for download at script repository sites like hotscripts download.cnet

almostbob 866 Retired: passive income ROCKS

Troy's prior answer, absolutely correct

short expl.
width:100 would work as width:100% defaults as pixels if no unit is set
and without it, makes no difference the body is already set to 100% and attributes are inherited
float:left; is non-functional for a div that occupies the full width
<strong> is a html enhancement that does nothing in css

almostbob 866 Retired: passive income ROCKS

they already look poor

almostbob 866 Retired: passive income ROCKS

" Two Americans sitting in bar first man said to other " I have lot of family problems.
Second man said : " I will tel you mine .i married a widow with a daughter.My father married that daughter.
So my father become my son in law , my daughter become my mother, my wife become my grandma.
More problems occurred when i had a son .My son is my mother's brother and my uncle.When my father had a son he is my brother that is my brother is my grandson becoz my father married my daughter ! . Ultimately i have become my own grandfather and grandson !! .....
"
Now tell me your problem " ......heheehe.....

http://www.youtube.com/watch?v=W7x1ETPkZsk I'm my own grandpaw

almostbob 866 Retired: passive income ROCKS

At the moment I'd go with iv,
climb up the host and beat them about the head till they explain what they did in the server change and fix it.

not particularly useful,

hoped the questions may prompt an AHA moment, but nothing is ringing bells, standing out