almostbob 866 Retired: passive income ROCKS

Ignore BS kills, BS,
PX Hacks are no way to make the site appear as you wish, they do not work.
current best practice is em & % as layout tools, pixels are device dependent, and change size a 15inch monitor used to be 800px, now a 7inch tablet is 2600px, px are not user friendly
read a 'box model' tutorial and continue what you are trying

almostbob 866 Retired: passive income ROCKS

logged in, using the winhelp hosts file, probably blocking the ad-server, couldnt post for a while, my end was down

almostbob 866 Retired: passive income ROCKS

I just get randomly 45degree parallel lines opaquing the screen, on mouseover of blank areas, that sometimes fades immediately, sometimes persists 20s

almostbob 866 Retired: passive income ROCKS

google webmaster tools
index preferences

almostbob 866 Retired: passive income ROCKS

will make the iframe the height/width of the window

<script type="text/javascript">
function sizer() { 
    var viewportheight;
    if (typeof window.innerWidth != 'undefined') { 
        viewportheight = window.innerHeight }
    elseif (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) { 
        viewportheight = document.documentElement.clientHeight }
    else { 
        viewportheight = document.getElementsByTagName('body')[0].clientHeight }
    document.getElementById('extern').style.height=viewportheight + 'px'; }
document.onresize = sizer(); </script>
<!--[if IE]>
<script type='text/javascript'>window.onresize=sizer();</script>
<![endif]-->
<title>bla</title>
</head>
<body onload='sizer();'>
<iframe id='extern' frameborder='0' width='100%' height='200px' src='HREF'>loading frame</iframe>

The page will still flow, the iframe will still have scroll bars for over size pages, just the iframe itself will be as large as possible within the current document

almostbob 866 Retired: passive income ROCKS

Then DO your coursework. the course is to teach you, Nobody does your homework for you. *expletive deleted* lazy students

almostbob 866 Retired: passive income ROCKS

or do you want the text to float above/over other elements as a layer, z-index:
z-index:0 //default layer higer numbewrs float above lower numbers, range -∞ to +∞

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

I regularly use the portable drive to the tv through its(the tv)| usb port, the tv treats it as a usb stick, but it comes very close to overloading the power supply available to the usb port, would have been better as a powered drive, but then I would need to power it when using the laptop
my laptop is an acer aspre one, 10 inch, with the usb drive connected ~2hours, without around 6 hours, running plugged, no issues,
external screen output, easy,
hth

almostbob 866 Retired: passive income ROCKS

show the errant code

almostbob 866 Retired: passive income ROCKS

a doctype >=html4 to get positioning to operate properly, html5 should work
unsure ab out the manifest link, 1999 seems like the html4 manifest,
anyhoo ,, the height of the content is irrelevant, to position the footer, you can position the footer directly., the order of the markup doesnt matter

footer {background-color:#ddd; margin:0 auto; padding:1em 0 0 0; text-align:center; font-size:0.875em; bottom:0; position:fixed; z-index:10;}

places the footer at the bottom of the page and makes other content slide underneath it, as the footer on this page does
removed 'em' from zero padding measurements, unneccessary, zero is dimensionless

almostbob 866 Retired: passive income ROCKS

because the users of social networking sites are peurile and will click anything, links from those sites are accorded the amount of notice they deserve, an amount rapidly approaching zero
content is king

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

I din't have a magic invisible friend who lives in the sky and grants wishes.
I cannot conceive of a possible reality where a magic invisible friend lives in the sky and grants wishes
I cannot convieive a reality where multiple magic invisible friends live in the sky grant wishes, and tell their corporeal friends to kill each other.
Religion, cult, insanity, are synonymic

almostbob 866 Retired: passive income ROCKS

yes, inadequate hardware

almostbob 866 Retired: passive income ROCKS

If 'something' echos to screen from the code,
and the popup does not popup, are you running, popup blockers.
99% of your potential users are also running some popup blocker, just by default browser install,
show/hide layers containing the information that m_ancpopup.php would display, in the current page may be better, than trying to defeat everyone's security settings
something like

<?php if(mysql_num_rows($result)<>0){
echo "<div id=\"anctrigger\" name=\"anctrigger\"><a href=\"#anctrigger\" onclick=\"document.getelementbyid(\'showme\').display.block);\">Accident &amp; Conviction EXIST!</a></div>
<div id=\'showme\' style=\'display:none;width:670px;height:470px;left:0;top:100px;\'>";

//output of m_ancpopup.php?page=$eid perhaps as include(m_ancpopup.php)

echo "<a href=\"#\" onclick=\"document.getelementbyid(\'showme\').display.none);\"> Close! </a></div>";
} ?>

the alteration in the href and name in anctrigger element should prevent the browser jumping to the top of the page, by keeping focus to the named element onclick href='#' defaults to the top of the age

lousy code, not certain its correct, idea without completion, its not my projuect, just trying to help

almostbob 866 Retired: passive income ROCKS

the google search would be self processing php form
a php page thqat submits to itself, the php and the html contained in one file
add simplypixie's validation to the file and change each input to something like

<input type="text" name="zip" size= "5" value="<?php if(isset($_post['zip'])) echo $_post['zip'];?>"/>

& clean up the code

<td><strong>Zip Code:</td><td></strong> <input type="text" name="zip" size= "5" /></td>
is invalid, and may cause compliant browsers to fail to display
improperly nested td strong

let alone opinion on tables and inline styles,,, the 1990s ended years ago, css style and positioning produces a much smaller(faster) page that displays more reliably

almostbob 866 Retired: passive income ROCKS

OOPS::
ensure that the output of engine.php does not output any unescaped dquotes, which would terminate the variable str and cause errors

almostbob 866 Retired: passive income ROCKS

<?php echo '<script type="text/javascript">var str="';
include("engine.php");
echo '"; var str_esc=escape(str);document.write(str_esc);
</script>'; ?>

almostbob 866 Retired: passive income ROCKS

SELECT * FROM private_messages WHERE to_id LIKE '$ID' AND To_Deleted LIKE '0' ORDER BY id DESC limit 1

almostbob 866 Retired: passive income ROCKS

post code

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

liekey there was a delay in google's system, getting the key from generation to validation servers

almostbob 866 Retired: passive income ROCKS

just confirming that you replaced the words my_key with the actual key given

almostbob 866 Retired: passive income ROCKS

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>dummy</title>
</head>
<body>
fname:<input type='text' id='name11' name='ab' value=''>
<input type='text' id='name12' name='zb' disabled='disabled'><br>
sname<input type='text' id='name2' name='name2' value=''>
<button id='button1' name='chckbutton' onmouseup="document.getElementById('name12').value = document.getElementById('name11').value;"> click </button>
</body>
</html>
sample code

almostbob 866 Retired: passive income ROCKS

pixels are not a layout tool.
pixel size depends on device resolutin
the typical 15" crt 800px wide 53px/inch
typical 'hi-res' crt 96px/inch
this laptop 160px/inch
ipad 264px/inch
12-14px text just got really samll (1mm)
current best practice is em or %, scalar quantities that autoadjust to window size, device resolution, user preference.

body { width:100%; text-align:center;} 
container {width:95%; text-align:left;} 

works in every device

almostbob 866 Retired: passive income ROCKS

photography you dont have to use it, but you can eamine the very well commente script to find out how it can be done
just the first answer in a google search for drop in php album

almostbob 866 Retired: passive income ROCKS

pixels are not a layout tool,
the size of a pixel is dependent on screen resolution, and gets smaller with every new development of monitor.
previously a 15inch monitor was 800px wide, 53px/inch
this laptop has 160px/inch,
Ipad Retina display 9.7-inch (diagonal)(7.7*5.82)2048-by-1536-pixel 264px/inch
the next gen(in 3months??) will doubtless be higher
any page laid out in fixed dimensions will only look 'right' on the screen it was laid out on, even if the user is using the same browser, and will fail on any other resolution or in part-screen windows
Current best practice is em (for typeface) and % (for elements) as layout dimensions. These scalar quantities adjust to window size, screen resolution user preference and basefont settings, on all devices from telephones(200px screen) to this thing plugged into a projector, as it is at the moment (3200px 8 feet wide) playing wolfenstein.
fonts in em, adjust to user preference instead of overriding them, making the site instantly disability friendly
a site css coded to add to 100% will work in all ( fingersX :) ) devices.
together with examining css @media handheld{} to iconify images for smaller devices, and other tweaks
example only

body{background:white;} 
h1{text-align:center;}
input{font-size:2em; color:white;background:green;} 
#leftcol{color:white;background:green;position:absolute;border:0.1em solid gray;top:2%;left:2%;width:10%;height:30%;padding:.1em;padding-top:.2em;}

still won't be perfect but closer

incidentally, white text on dark ground is very user unfriendly, the eye does not function well that way

almostbob 866 Retired: passive income ROCKS

possibility
edit your stylesheets
0px is incorrect and may cause compliant browsers to fail to properly display the element
chrome is compliant, IE is not
0 is scalar and has no units, (0em 0px 0pt 0% 0en 0in 0cm are equally invalid)
top: 0px; should simply be top: 0;
find & replace " 0px;" " 0;"

#container {	margin: 0 0px 0 0px;	
padding: 0px 10px;	height:100%;

corrected #container {margin:0;padding:0 10px;height:100%;

padding: 3px 5px;	
text-decoration: none;	
border-left: 0px dashed #E5E5E5;	
border-right: 0px dashed #E5E5E5;	
color: #fff;	}

just how do you have a colored border 0px wide
corrected padding:3px 5px;text-decoration:none;border-left:0;border-right:0;color: #fff;} somebody made a wordpress theme, does not mean it is good, this one isnt
run the css through the w3c css validator, http://jigsaw.w3.org/css-validator/

Q8iEnG commented: Thanks for showing some help! +3
almostbob 866 Retired: passive income ROCKS

jquery the do more JAVASCRIPT library, with which you wish to accomplish an AJAX function

wouldnt you ask this in the JAVASCRIPT/DHTML/AJAX forum, where you may get answers

almostbob 866 Retired: passive income ROCKS

Veedoo:
yeah, its real messy code,

<?php $username = $_SESSION['username'];
$query = "SELECT * FROM tbldoctor_info";
$result = mysql_query($query) or die(mysql_error());
$record = mysql_num_rows($result);
if($record!=0) { echo '<table cellspacing="2px" cellpadding="2px" align="center"><tr><td width="250px"><h3>Name</h3></td><td width="250px"><h3>Specialty</h3></td></tr>';
while ($row = mysql_fetch_row($result)) { $dname= $row[2].' '.$row[3].' '.$row[1];
echo "<tr><td><a href='ProfileDoctor.php?ID=$row[0]'> $dname </a></td><td> $row[7] </td></tr>"; }
echo '</table>'; } 
else { die("No records to display"); }
mysql_close(); ?>

again assuming there is a unique id row[0]

almostbob 866 Retired: passive income ROCKS

as above,
+ a parameter passed to profiledoctor.php to indicate which row of the indentical table links was clicked ?
given the unknown table structure, there is some unique identifier, I hope echo "<a href='ProfileDoctor.php?ID=unique_identifier'>$dname</a>"; //_there_could_be_100_Dr_John_smith get the styles out of html into css where they belong, makes maintainence simpler later

almostbob 866 Retired: passive income ROCKS

more pebkac errors, time() instead of date()

almostbob 866 Retired: passive income ROCKS

check the script files <script type="text/javascript" src="jui/js/jquery-1.7.1.min.js"></script> <script type="text/javascript" src="jui/js/jquery-ui-1.8.18.custom.min.js"></script

one of them may include a definition var accept="y";
accept is a common variable name
to continue to use the jquery libraries, try changing your accept variable to another variable name
cant be sure
just thought

almostbob 866 Retired: passive income ROCKS

THere is no IF() statement in my code
the single line ternary statement replaces entirely, all of,

If(condition) {action}
else {action}

try

(strtotime($_REQUEST['sel_day']) > date() ? $valid = "yes" : $valid = "no");
echo $valid;

You have validated the submission elsewhere in the code?? 'sel_day' does exist.

almostbob 866 Retired: passive income ROCKS

double post, bummer

almostbob 866 Retired: passive income ROCKS

AlmostBob

almost as much fun as B.O.B.
take the embarrassment
embrace it
make it your own
annoy the hell out of your smart-a*** kids

almostbob 866 Retired: passive income ROCKS

use [code=language]code [/code] tags, helps
the echo statements are wrong, setting a variable does not need to be echoed, echoing an answer does not need a variable name

$date =date("m-d-Y"); 
$selected =$_REQUEST['sel_day'];// Selected date
$today = strtotime($date); $expiration_date = strtotime($selected); 
if ($expiration_date > $today) { 
echo $valid = "yes"; } else { echo $valid = "no"; }

perhaps something like

(strtotime($_REQUEST['sel_day']) > date() ? $valid = "yes" : $valid = "no");

if else ternary operator ( condition ? result if true : result if false );
default: date() = today text strings are messy and unneccessary

almostbob 866 Retired: passive income ROCKS

teedoff: adad is a javascript local variable defined in the script at the top of the op function show_hide(adad) it only exists within the scope of the function, you can code many functions with the same local variable name without error, makes it simpler to reuse functions

DG12

<a href="javascript:show_hide('info');"> </a>  
<div id="Informações" style="display: none;">

the parameter in the function call and the id of the hidden div, really need to match
probably easier to change the hidden div id = "info"

edit; apologies Phillipe, already answered

almostbob 866 Retired: passive income ROCKS

Hold on a second... using this means that the file stays a .php file.

Will people be able to use a .php file that generates xml as a possible feed?

Yes
If the output is rss xml, and the headers are set, extension is not significant
rss can be php
html css js ditto
* can be php

it's how they generate all those fake roadsigns kfc signs etc to order

almostbob 866 Retired: passive income ROCKS

pebkac error: failure to proof read <a href='#' sorry

ideally the link should be, <a name='thisname' href='#thisname' onclick="JAVASCRIPT:window.location.href='list_upload.php?reqid=<?php echo $row['reqid']; ?>';" title="View" >View</a>

  • a link with a href of # is not properly defined and defaults in most browsers to the top of the current page, (its bad html, my bad)
  • a link with a href of #name goes to the location of the element named 'name' on the current page
  • a link with a href of url#name goes to the location of the element named 'name' at the url

in the ideal case above, if javascript fails, the page stays put, and there will be no coded errors to throw browser/OS combinations into a tailspin

almostbob 866 Retired: passive income ROCKS
<a href='*' onclick="JAVASCRIPT:window.location.href='list_upload.php?reqid=<?php echo $row['reqid']; ?>';" title="View" >View</a>
almostbob 866 Retired: passive income ROCKS

Plus ProblembetweentheKeyboardandchair was way too long.

Is subgroup of error ID10T - PEBKAC; problem exists between keyboard and chair

almostbob 866 Retired: passive income ROCKS

let me google that for you
heaps of scripts to do title change,
In your case, add another title declaration to the code of the en.html page, after the included head by the CMS, the last declaration will remain
eg, en.html

<?php include('stuff.inc.php');
include('otherstuff.inc.php'); // where greek title is set in the general scheme of things
include('db_attach.inc.php'); ?>
<script></script>
<title>english title</title>
</head>

code sample only

[lolcat] AN ATTEMPT HEAPS OV SCRIPTS 2 DO TEH TITLE CHANGE, ADD TEH ACSHUN 2 TEH LANGUAGE SELECTOR IN UR CASE, ADD TITLE DECLARASHUN 2 TEH CODE OV TEH EN.HTML PAEG, AFTR TEH INCLUDD HEAD, TEH LAST DECLARASHUN WILL REMAIN [/lolcat]


mmmmm coffee,
had ma cawfee, go crazy? don't mind if I do.

almostbob 866 Retired: passive income ROCKS

either remove the "Valid XHTML 1.1 and CSS 3" or fix the code
its boring
fixed fonts, sizes etc look like crap on any screen other than the one laid out on push content offscreen on part screen windows or small devices
there is a lot to alter
css current best practice is em and %
px are used for images, there are a lot of GOOD wp themes, why choose crap

on my laptop with 168px/inch 11px fonts are 0.06 inch high, I am not going to waste effort zooming your poorly designed site, neither will google
Yahoo is insignificant, has not sufficient users to make it posted results of any value
goto the w3 group and read best practice

these standard test beds may assist you change yoursite.com appropriately

speed http://analyze.websiteoptimization.com/authenticate.php?url=http://www.yoursite.com&/

html http://validator.w3.org/check?uri=http%3A%2F%2Fwww.yoursite.com&charset=%28detect+automatically%29&doctype=Inline&group=0

css2 http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css21&usermedium=all&warning=1&lang=en

css3 http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css3&usermedium=all&warning=1&lang=en

handheld http://demo.opera-mini.net/demo.html?www.yoursite.com

other browsers http://www.browsershots.org

many problems (if present) will show
serious code errors in the w3c validator sites will produce blankscreens in browsershots

Valid code does not ensure the site will work ...
Invalid code does ensure the site will not work ...
.. in all browser OS combinations

not all layouts work in handheld devices
strictly code based, your content more than I care

I hope you didn't pay much to the advertised se0 …

almostbob 866 Retired: passive income ROCKS

try fooling around with, css
some code that chances the class of the body to "noprint" one with a style @media print{.noprint{display:none;}} remembered in a cookie or a value in the user table, easily bypassed but so is everything else,
I dunno, something like
crappydoodle

<?php 
// database connection code etc
// some ajax to confirm active connection so it isnt being run locally
echo '<body class="';
if($setting<>"0") echo 'noprint ';
echo 'bodytext" onload="stuff">';
// some ajax to crate a print button and update $setting in the user table when it is clicked
?>

not complete code just thoughts

almostbob 866 Retired: passive income ROCKS

hosts file

almostbob 866 Retired: passive income ROCKS

<form method="post" action="exists.php"><input type="text" name="dl" value=""><input type="submit"></form> depending on the html version you are writing to, proper form is important
without the quotes $_post may not contain anything

almostbob 866 Retired: passive income ROCKS

RTFgoogleM
SE penalise autolink generators

: Google works hard to improve the user experience by identifying spam links and other practices that negatively impact search results. The best types of links are those that are given based on the quality of your content

Quality guidelines - basic principles
•Make pages primarily for users, not for search engines. Don't deceive your users or present different content to search engines than you display to users, which is commonly referred to as "cloaking."
•Avoid tricks intended to improve search engine rankings. A good rule of thumb is whether you'd feel comfortable explaining what you've done to a website that competes with you. Another useful test is to ask, "Does this help my users? Would I do this if search engines didn't exist?"
•Don't participate in link schemes designed to increase your site's ranking or PageRank. In particular, avoid links to web spammers or "bad neighborhoods" on the web, as your own ranking may be affected adversely by those links.
•Don't use unauthorized computer programs to submit pages, check rankings, etc. Such programs consume computing resources and violate our Terms of Service. Google does not recommend the use of products such as WebPosition Gold™ that send automatic or programmatic queries to Google

almostbob 866 Retired: passive income ROCKS

anything in pixels will fail ...
anything in any fixed size will fail ...
... in some/many/all combinations of device and browser.

current best practice for layout is em and % scalar dimensions that auto adjust to window size device resolution user preference,
added bonus that the site is disability friendly, auto adjusting around user preference, without further code.

a page laid oout (example)

body {width:95%; margin:auto;}
p { width:95%; margin:auto;}
p.this { width:85%; margin:auto;}
p.that { width:75%; margin:auto;}

looks the same at all resolutions, a html scrap

<body>
<div>bla bla bla</div><p>bla bla bla</p>
<p class='this'>bla bla bla</p>
<p class='that'>more  bla bla bla</p>

gives a similar indented paragraph structure in any browser,in partscreen or fullscreen