almostbob 866 Retired: passive income ROCKS

selector.class:psuedoclass { property: value }

a { text-decoration: none; border: 1px solid #000000; margin:5px; padding:5px; }
a:hover { background-color: #66cdaa; text-decoration: none; } 
a:focus { background-color: #66cdaa; text-decoration: none; } 
a:active { background-color: #66cdaa; text-decoration: none; } 
a.red { text-decoration: none; color:#ff0000; }
a.red:hover { background-color: #00ffff; text-decoration: none; } 
a.red:focus { background-color: #00ffff; text-decoration: none; } 
a.red:active { background-color: #00ffff; text-decoration: none; } 
a.blue { text-decoration: none; color:#0000ff; }
a.blue:hover { background-color: #ffff00; text-decoration: none; } 
a.blue:focus { background-color: #ffff00;  text-decoration: none; } 
a.blue:active { background-color: #ffff00;  text-decoration: none; } 
a.green { text-decoration: none; color:#00ff00; }
a.green:hover { background-color: #ff00ff; text-decoration: none; } 
a.green:focus { background-color: #ff00ff; text-decoration: none; } 
a.green:active { background-color: #ff00ff; text-decoration: none; }
a.yellow { text-decoration: none; color:#ffff00; }
a.yellow:hover { background-color: #0000ff; text-decoration: none; } 
a.yellow:focus { background-color: #0000ff; text-decoration: none; } 
a.yellow:active { background-color: #0000ff; text-decoration: none; }
<a href='#'>plain</a>
<a class='red' href='#'>red</a>
<a class='green' href='#'>green</a>
<a class='blue' href='#'>blue</a>
<a class='yellow' href='#'>yellow</a>

Trivial example, but yes it is easy to do

almostbob 866 Retired: passive income ROCKS

In the <head>in <script></script>
or in an xtern file for re-use

NewImg = new Array (
"images/1.gif",
"images/2.gif",
"images/3.gif"
); 
/* as many or few images and the path to them */

var ImgNum = 0;
var ImgLength = NewImg.length - 1;
var delay = 3000; /* Time delay between Slides in milliseconds */
var lock = false;
var run;

function chgImg(direction) {
 if (document.images) {
  ImgNum = ImgNum + direction;
  if (ImgNum > ImgLength) {  ImgNum = 0; }
  if (ImgNum < 0) { ImgNum = ImgLength; }
 document.slideshow.src = NewImg[ImgNum]; 
 }
}

function auto() {
 if (lock == true) { 
  lock = false;
  window.clearInterval(run);
 }
 else if (lock == false) {
  lock = true;
  run = setInterval("chgImg(1)", delay);
 }
}

in the body where you want the slideshow to show

<div><img src="images/1.gif" name="slideshow"><br>
<a href="javascript:chgImg(-1)">Previous</a> &nbsp;|&nbsp; 
<a href="javascript:auto()">Auto/Stop</a> &nbsp;|&nbsp; 
<a href="javascript:chgImg(1)">Next</a></div>

This is not the only javascript slideshow, this is the one I thought of today 11pm, I am certain its not original, i have typed it so many times, that I remember it,
there are thousands of better freeware ones in Javascript repositories

almostbob 866 Retired: passive income ROCKS

No one anti spyware is sufficient
No one anti virus is sufficient
the time lag between new malware being released, and the required fix being created is different between vendors, having a resident AV, and using several non-resident on demand scanners,
& multiple versions of anti malware,
and practise safe hex.
Click on no unsolicited links, assume everything is bogus & malicious, and you should only get pleasant surprises
an often missed tool is the Hosts file http://www.mvps.org/winhelp2002/hosts.htm

almostbob 866 Retired: passive income ROCKS

Frames are dead and buried
have been superseded for most uses by shtml includes, (shtml php asp)
as an include your menu would be in the page, and not need any sizing

almostbob 866 Retired: passive income ROCKS
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="en" lng="en">
<head>
<title> Background  Colors </title>
</head>
<body>

<?php

$zero = '<style type="text/css">
body {
background-color: #808080;
} </style>';


$purple = '<style type="text/css">
body {
background-color: #800080;
} </style>';

$blue = '<style type="text/css">
body {
background-color: #0000ff;
} </style>';

$green = '<style type="text/css">
body {
background-color: #008000;
} </style>';

$yellow = '<style type="text/css">
body {
background-color: #ffff00;
} </style>';

$orange = '<style type="text/css">
body {
background-color: #ef9c00;
} </style>';

$red = '<style type="text/css">
body {
background-color: #ff0000;
} </style>';

$black = '<style type="text/css">
body {
background-color: #000000;
} </style>';50

$white = '<style type="text/css">
body {
background-color: #ffffff;
} </style>';

$purple_text = '<style type="text/css">
p {
color: #800080;
} </style>';

$blue_text = '<style type="text/css">
p {
color: #0000ff;
} </style>';

$green_text = '<style type="text/css">
p {
color: #008000;
} </style>';

$yellow_text = '<style type="text/css">
p {
color: #ffff00;
} </style>';

$orange_text = '<style type="text/css">
p {
color: #ef9c00;
} </style>';

$red_text = '<style type="text/css">
p {
color: #ff0000;
} </style>';

$black_text = '<style type="text/css">
p {
color: #000000;
} </style>';

$white_text = '<style type="text/css">
p {
color: #ffffff;
} </style>';

$brown = '<style type="text/css">
#text {
border-width: 5px;
border-style: dashed;
border-color: #660000;
width: 370px;
} </style>';

$pink = '<style type="text/css">
#text {
border-width: 5px;
border-style: dashed;
border-color: #ff00cc;
width: 370px;
} </style>';

$color = $_POST['color'];

$click = $_POST['click'];

$textcolor = $_POST['textcolor']

if ( $color == 0 ) { echo " {$zero} <p> you are vewing the default page or …
almostbob 866 Retired: passive income ROCKS

jpg is a lossy compression format,
the errors introduced are part of the jpg specification for high compression. As Ezzeral said use a non loss form

almostbob 866 Retired: passive income ROCKS

Try

table{ border: 1px solid #ffcc00 collapse;
border-spacing: 4px;
overflow-x: scroll;
margin:auto;
}
tr{ border: solid 1px white; }
td{ border-width: 1px;
margin: 10px;
padding: 4px;
border-spacing:4px;
}

?

http://www.w3.org/TR/css3-box/#overflow1

almostbob 866 Retired: passive income ROCKS

Have no idea what it was, but cool,
what was the solution?

almostbob 866 Retired: passive income ROCKS
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" value="FORID:10" /><input type="hidden" name="ie" value="ISO-8859-1" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></&#115 ;&#99 ;&#114 ;&#105 ;&#112 ;&#116 ;>'; /* hex has been exploded, spaces added, Daniweb does not allow the hex to sit as typed but echoes the character, bad for this, good to reduce code injections */
function set() { document.getElementById('Search_Content').innerHTML = search; }

the hex is 'script' which when written out by javascript should work

samarudge commented: Thanx for the help +1
almostbob 866 Retired: passive income ROCKS

Utter BS
a html table does not magically become an excell file by giving it a header.
excell file format is comprised largely of characters outside any of the printable charactersets which have to be hex encoded.
If a .csv format of the data that a spreadsheet will read is not sufficient then

http://www.sitepoint.com/article/pear-spreadsheet_excel_writer/

http://www.phpclasses.org/browse/package/1919.html

http://www.appservnetwork.com/modules.php?name=News&file=article&sid=8

http://www.opensubscriber.com/message/php-general@lists.php.net/8566005.html

almostbob 866 Retired: passive income ROCKS

For debug,
comment out the onload
write the slideshow code directly in the table cell,
and see if the slideshow starts
the slideshow script may have to be invoked, started in some way.
so the javascript may need to be

<script type="text/javascript">
function startSlide() {
el=document.getElementById('productsBigCell');
el.innerHTML='<script>var slide1foldername="";</script><script src="slideOther.js" type="text/javascript"></script>';
slideshowstart;}/* where slideshowstart is the start command in slideOther.js */
</script>

unsure
my slideshow script's last line is start;
what does slideOther.js look like

almostbob 866 Retired: passive income ROCKS

Try, unure but::

<script type="text/javascript">
function startSlide() {
el=document.getElementById('productsBigCell');
el.innerHTML='<script type="text/javascript">var slide1foldername="'/* often required, to be not Blank even the current folder is .(dot) check doc for slideOther */'";</script><script src="slideOther.js" type="text/javascript"></script>';
}
</script> /* /closure omitted */
almostbob 866 Retired: passive income ROCKS
Somewhat off topic

off track, my 1 css file contains 4 state definitions for a heap of tags, its HUGE for css
trying to get my FIRST page to load fast, subsequent ones load the cached css and js, zoom, discovered apache mod_deflate mod_gzip, marvelous invention

DANGER attempted humor If (apache config) {enable mod_deflate | mod_gzip, for all text files} else { gzip with asp or php } remarkable load time difference,

almostbob 866 Retired: passive income ROCKS

If at first you dont succeed, rant

5 hours to copy -HOW MUCH- disk
5 hours for 5MB is terrible
5 hours for 5TB is fantastic

When all else fails, rtfm

almostbob 866 Retired: passive income ROCKS

put the menu,
which is a known size,
in an iframe top of the content pages,
not the content in an iframe at the bottom of the menu.
the content page will then size as neccessary

almostbob 866 Retired: passive income ROCKS

Suggest reading the W3c guidlines.

On any screen but yours, those carefully crafted layouts look like crap.
Only relative sizes set for anything other than images and borders

Users set the text size on their screens to suit their vision, monitor size, screen resolution.

Some mindless developer decides that 12 px is body size, when your default on your pc is 24, just click away and bad mouth the site to everyone who asks.

almostbob 866 Retired: passive income ROCKS

maker her a google calendar, and link it from the page ??

almostbob 866 Retired: passive income ROCKS

what can I say, I like turquoise
mouseovers
most elements have four css states
many have more

@media print { 
.dontprint { display:none; } 
p { padding: 1px; font-size: 100%; list-style-type: square; }
}
@media screen ( 
.dontshow { display:none; }
p { padding: 1px; font-size: 100%; line-height:125%; list-style-type: square; }
p:first-line { font-weight:bold; }
p:first-letter { font-size:200%; float:left; } 
}

Drop Caps bold first line paragraphs on screen, plain text on paper
class dontshow/print dont display on screen/paper change layouts to suit media
onscreen forms have a captcha field to verify, printed versions have a signature line

what you can do is limited by what you can imagine

almostbob 866 Retired: passive income ROCKS
button { color:#ff0000; background-color: #e4e0d8; } 
button:hover { color:#000000; background-color: #66cdaa; } 
button:active { color:#ff00ff; background-color: #66cdaa;  }
button:focus { background-color: #66cdaa; }
/* or */
input[type=button] { color:#ff0000; background-color: #e4e0d8; }
input[type=button]:hover { color:#000000; background-color: #66cdaa; }
input[type=button]:active { color:#ff00ff; background-color: #66cdaa;  }
input[type=button]:focus { background-color: #66cdaa; }</style>

buttons are accessed as are any other elements, it isnt obvious that the button caption is just text
and can be css-ed as a span <button><span style='whatever' or class='whatever'>button text</span></button>

almostbob 866 Retired: passive income ROCKS

yet another drop in media player

<?php ob_start("ob_gzhandler"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/TR/REC-html40">
<head>
<style>
.logo { background: transparent; color: #000000; text-align: right; top: auto; left: auto; bottom: 1px; right: 1px; position: fixed; }
</style>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<script type="text/javascript">
<!--//
function shrink(){
 document.getElementById("MediaPlayer1").style.width=384;
 document.getElementById("MediaPlayer1").style.height=300;
}
function enLarge(){
 document.getElementById("MediaPlayer1").style.width=480;
 document.getElementById("MediaPlayer1").style.height=402;
}
 //-->
</script>
<title>video</title>
</head><body><a name='top'></a>
<p class='logo'>
<button onclick="enLarge()">large</button>
<button onclick="shrink()">small</button>
<A HREF="http://www.microsoft.com/windows/windowsmedia/player/download/"><IMG ALT="Get Windows Media Player" SRC="http://www.microsoft.com/windows/windowsmedia/images/logos/getwm/mp11_88x31_static.gif" WIDTH="88" HEIGHT="31" BORDER="0"></A><br>
<OBJECT ID="MediaPlayer1" width=384 height=300 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
<PARAM NAME="fileName" VALUE="">
<PARAM NAME="showControls" VALUE="true">
<PARAM NAME="PlayCount" VALUE="0">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" SRC="" name="MediaPlayer1" width=360 height=260 AutoStart=true></EMBED></object></p>
<div style='float:left; text-align:left;'>
<?php $p = split('/', $_SERVER['SCRIPT_FILENAME']);
$script_name = $p[count($p)-1];
$path = str_replace($script_name, '', $_SERVER['SCRIPT_FILENAME']);
$dir_handle = @opendir($path) or die("Unable to open $path");
Function get_Extension($m_FileName){
$path_parts = pathinfo($m_FileName);
if ($path_parts["extension"]) {
 $m_Extension = strtolower($path_parts["extension"]);
 return(strtoupper($m_Extension));
 }
else { return "unknown file"; }
 }
 function check_image($filename){
 $temp=strtoupper(get_Extension($filename));
 if(($temp=="WMV")||($temp=="ASF"))
 return (true);
 else
 return (false);
 }
 Function get_Files($path) {
 if ($handle = opendir($path)) {	
  while (false !== ($file = readdir($handle))) { 
  if(!is_dir($file) && substr($file,O,1) != ".") { 
$m_Files[]=$file; }
}
 closedir($handle); 
}
 if(sizeof($m_Files)>1)
 asort($m_Files);
 return $m_Files;
 }
 $files=get_Files($path); 
 $filter_files=array_filter($files,"check_image");
 $maxnr=sizeof($filter_files)-1;
 sort($filter_files);
for ($i=0;$i<sizeof($filter_files);$i++){
echo "<a onclick=\"MediaPlayer1.SRC='$filter_files[$i]';MediaPlayer1.fileName='$filter_files[$i]';\">";
echo substr($filter_files[$i], 0, strlen($filter_files[$i])-4);
echo "</a><br>";
 }
closedir($dir_handle); ?>
</table></body></html>
<?php ob_flush(); ?>
almostbob 866 Retired: passive income ROCKS

Mod_deflate and mod_gzip already work on all served files if enabled.
Compiled in (99% of installed apache servers probably) & enabled in apache config they will compress all applicable filetypes
php to enable gzip is only neccessary if the host does not provide access to apache configuration, to enable the compression

http://www.websiteoptimization.com/services/analyze/
the url in the op is using mod_deflate enabled in apache

almostbob 866 Retired: passive income ROCKS
<?php if(!$file) return false; /* properly verify filename as well this is just a demo script as is this is a huger security hole */
header("Content-disposition: attachment; filename=$file");
header('Content-type: application/pdf;'); /* application/octet_stream etc or pull the content type from your database as a variable or a list etc */
readfile("$file");
?>

the code above is an example of a force download script described by Death
savefile.php
usage

<a href='filesave.php?file=thisfile.ext'>download thisfile.ext</a>
almostbob 866 Retired: passive income ROCKS

Its best in apache config
but if your host does not allow access
it can be done in php

<?php header ('content-type: text/css'); /* text/javascript text/javascript etc */
/* file data */
<?php ob_flush(); ?>

can be any file type
this is part of style.css.php

<?php header ('content-type: text/css');
ob_start("ob_gzhandler"); ?>
.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: 1em; font-weight:bold; margin: 5px 0; padding: 0; letter-spacing: 1px; }
.rss-items { }
.rss-item { font-family: verdana, arial, sans-serif; font-size: .95em; font-weight : bold; margin: 8px 0; }
.rss-item a:link, .rss-item a:visited, .rss-item a:active { text-decoration : none; border-bottom: 1px solid #edefed; color: #88b; }
@media all { .dontall {display:none; } }
@media print { .dontprint { display:none; } }
@media screen { .dontshow { display:none; } .doshow { display:inline; } }
@media aural { .dontspeak { display:none; } }
table { padding: 1px; }
table.sortable th { background-color: #dedede; }
table.sortable tr.odd td { background-color: #ededed; }
table.sortable tr.even td { background-color: #dedede; }
table.sortable tr.sortbottom td { background-color: #dfdfdf; font-weight: bold; }
<?php ob_flush(); ?>

nearly 85% reduction in text files size

almostbob 866 Retired: passive income ROCKS

Don't set any fixed sizes. Use percentages of screen width instead.

(except images) fixed images only because bitmaps dont scale well, and allow the text to flow around them.
The page does not have to look the same, on every browser, every OS every screen resolution,
the page just has to look good, on every browser, every OS every screen resolution,
as you design your layout, you can use, Browsershots.org to see the layout in 100+ combinations of hardware/software

almostbob 866 Retired: passive income ROCKS
<select onchange='document.smallimage.src= this.value;document.header.background.src=this.value'>
<option selected='selected' value='blank.jpg'>Choose</option>
<option value='1.jpg'>one</option>
<option value='2.jpg'>two</option>
<option value='3.jpg'>three</option>
<option value='4.jpg'>four</option>
<option value='5.jpg'>five</option>
<option value='6.jpg'>six</option>
</select><br>
<img name='smallimage' id='smallimage' width='320' height='240' src='blank.jpg'>
arvindikchari commented: concise answer +1
almostbob 866 Retired: passive income ROCKS

speed tweak take the dot(.) out of your css body definition,
<body class='body'> is just
<body>

almostbob 866 Retired: passive income ROCKS

This is a little outside the scope of the question, but it follows on,
I think,
from a prior post, about updating installed versions of scripts with the latest versions, you could do something similar to ensure the script running, is licensed & check for updates at the same time.
http://www.daniweb.com/forums/post785006-2.html
(PS Obfuscate that part of the script that checks the server_loc)

almostbob 866 Retired: passive income ROCKS

Still serverside, in asp php

in order to show them a page accordingly.

is better and costs the user less resources
javascript if you just want to document.write something trivial to the page, based on machine model.
but javascript

in order to show them a page accordingly.

is poor practice,
a non-javascript microbrowser stalls,
and if it runs- still requires a page just to redirect,
microbrowsers are slow, and the user pays ber KB.

In php or asp the request header used in the javascript is available
echo $_server[] array, (equivalent ASP (10c + what_I_know_of_ASP = 10c))

and choose the element content to redirect on
I search for substring(s) in $_SERVER['HTTP_USER_AGENT']; because that substring identifies Browser I need to redirect, to less image intense pages,

Fingers X, If it works, use it

almostbob 866 Retired: passive income ROCKS

php can access files anywhere you tell it to
if you put the protected files outside the web root php will be able to server them, but direct access will not be available
your cms should not be outputting viable url format for these files
you can set up your web server to only display"mysite.com/lesson5"for lesson 5 instead of "mysite.com/folder/subfolder/lesson5.swf"with mod_rewrite, assuming apache

almostbob 866 Retired: passive income ROCKS

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 pages then reloading
browsers send their user_agent in http request, this works in php, Caveat that many browsers spoof their headers and pretend to be something else

<?php $mobile = "http://mobi.mysite.com/";
if(preg_match('/Windows CE/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/Blackberry/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/PalmOS/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/PalmSource/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/SymbianOS/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/Opera Mini/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/Nokia/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/Samsung/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/vodaphone/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/Jphone/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/AvantGo/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/DoCoMo/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/DDIPOCKET/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
// redirect to pda page else continue
if ($frame) { header("location: http://www.mysite.com$frame");}
ob_start("ob_gzhandler"); ?>
<!-- assorted html -->
<?php ob_flush(); ?>

or a switch / case combination

A proportion of pocket browsers dont do javascript.
A tutorial in Javascript is here http://www.web-wise-wizard.com/javascript-tutorials/javascript-jscript-get-user-information.html
the examples are pretty trivial, but I guess make a foundation for your own code

almostbob 866 Retired: passive income ROCKS

I think too many designers wnat to show what they can do, instead of just doing what they should do.
google vs yahoo search

almostbob 866 Retired: passive income ROCKS

Think I messed up the code

<input type='submit' value='submit' onclick='return confirm("Are You Sure");'>
<!-- or -->
<form action='formhandler.ext' method='post' onsubmit='return confirm("Are You Sure");'>

neither set looks right,
but one works,

almostbob 866 Retired: passive income ROCKS
<input type='submit' value='submit' onclick='return(confirm("Are You Sure"));'>
<!-- or -->
<form action='formhandler.ext' method='post' onsubmit='return(confirm("Are You Sure"));'>
almostbob 866 Retired: passive income ROCKS
$genre_id = $_GET['id'];   
  $items = ITEMS_PER_PAGE; 
  if(isset($_GET['page']))
 {
    $offset = $_GET['page']; 
    $offset *= $items; 
    $query = 'select * from artist where genre_id = '.mysql_real_escape_string($genre_id)." limit $offset,$items"; 
 }
 else  
 {
    $query = 'select * from artist where genre_id = '.mysql_real_escape_string($genre_id); 
 } 
 $allArtists = mysql_query($query);

tags, syntax highlighting

select * doesnt allow "us" to see the column names, Is there a column "name" $items = // are you sure about this definition it doesnt look right $items = $_GET['ITEMS_PER_PAGE']; // looks more usual to me what is the exact error message and where did you put the order by clause in this code[code=php] tags, syntax highlighting

select * doesnt allow "us" to see the column names, Is there a column "name"
$items = // are you sure about this definition it doesnt look right
$items = $_GET; // looks more usual to me
what is the exact error message
and where did you put the order by clause in this code

almostbob 866 Retired: passive income ROCKS

no
frames dont work in screen readers.
frames arent indexed well by search engines

framesets - like a timewarp back to 1990
the same effects of
constant menu & layout can be better accomplished with php asp shtml includes, and css styles
serverside slideshow scripts work better than html framesets, and only load required images
Your mission, should you choose to accept it,, is to design a page for someone because they have no idea what they are doing, Produce a page that looks feels and functions, using current best practice.
They dont want to know how it works, and wont care as long as it does work

almostbob 866 Retired: passive income ROCKS

I'm not seeing the adds,
but I blocked the domain in the hosts file, the script doenst load

almostbob 866 Retired: passive income ROCKS

page 4 of the joomla online referst to the database,
and table creation within the database.
If you have begun manually you need the appropriate part of the joomla manual install.

Joomla did not install properly. install includes creating tables in the database.
Perhaps rerun the install scripts

almostbob 866 Retired: passive income ROCKS

once you create a dbase
then you have the ability to cxreate a number of tables inside the database, in my head the database is an empty filing cabinet, plenty of potential but not much use yet, my host pack has 1 database, but it has installed in it 6 different products, 6 sets of tables.
Install packs for joomla-esque products (joomla-ish(?) hard to determine what is a reasonable adjective) usually include php scripts or sql instructions to create the tables and defaults in the database once the database exists.
sometimes the scripts are buried right at the end of the install instructions instead of at the start Joomla help has http://help.joomla.org/content/view/1947/302/1/0/
a reasonalble online helpset, decent screenshots of database, and manual instructions as wellbeginner, is a good place to start :)

almostbob 866 Retired: passive income ROCKS

If you gets quotes from your original script, there quotes stored in your database
if the filename was stored as "filename" you would get this problem from the code scrap I posted
If there is,
(apart from a database design that may or may not cause problems when you try to manipulate the data later)
then all you have to do
is put in the space echo "<img src=".$row['photosrc']." alt=".$row['altText']."/>"; and add in the width height
head slap moment
escape single quotes inside single quotes
escape dquotes inside dquotes

echo '<img src="'.$row['photosrc'].'" alt="'.$row['altText'].'" width="'.$row['photowidth'].'" height="'.$row['photoheight'].'" />';

If anything can go wrong it will

almostbob 866 Retired: passive income ROCKS

I cant see anything,i tried enabling Contextual ads,etc and nothing like that!

Hmmmmmm

If you are running spybot or another adblocker, this domain is blocked

almostbob 866 Retired: passive income ROCKS

actually your output is <img src=../images/meeting.jpgalt=Meeting of CDM coordinators/> html requires quotes
php requires quotes
together requires 2 sets quotes (&escapes)
put space in the code where you want space to be, space inside literal text is output, echo "<img src=\"".$row['photosrc']."\" alt=\"".$row['altText']."\"/>"; outputs <img src="myjpg.jpg" alt="myJpeg" />

php will parse $variables inside dquotes, but is slower.
If you use dquotes when you arent making use of $variables it is slower as php will search each literal string for $variables echo '<img src=\"'.$row['photosrc'].'\" alt=\"'.$row['altText'].'\" />'; image dimensions should(can) be got from the image on upload(serving) and stored in the database(output directly) for w3c compliant html (UR using self closing image tags />) getimagesize() on upload is probably best as its only done once

echo '<img src=\"'.$row['photosrc'].'\" alt=\"'.$row['altText'].'\" width=\"'.$row['photowidth'].'\" height=\"'.$row['photoheight'].'\" />';
almostbob 866 Retired: passive income ROCKS

Yes there is
the specifics depend on the video card, and should be detailed in the helpscreens for the video card drivers
If there isnt a menu choice for the video helpscreens, look for a folder in program files with the name of the card maker, or check the card maker's web site for the online manual for the card
it is a matter of selecting the input in the video card's native player, and selecting view or save (well it is in mine) (ratheon)

almostbob 866 Retired: passive income ROCKS

Its an opt in ad server, opted in by website owners, not by users, extremely offensive

<script type="text/javascript">
doclix_pid = 16233;
</script> <script type="text/javascript" src="http://ads.doclix.com/adserver/serve/js/doclix_synd.js" charset="utf-8"></script>

127.0.0.1 ads.doclix.com

in your hosts file will remove this annoying piece of *expletive deleted*
update request made, MSMVP Hosts file

almostbob 866 Retired: passive income ROCKS

If you dont set colum widths or table width at all, each column will be as wide as the largest data it contains, and the table will be as wide as the sum of the columns, creating scroll bars

almostbob 866 Retired: passive income ROCKS

Tables are perfect for tabular data
You can create a javascript to sort a table and view the info any way you like
tables for layout just for spacing, not so good

almostbob 866 Retired: passive income ROCKS

I think only IE
it is a MS language
javascript is better supported

almostbob 866 Retired: passive income ROCKS

favorites,
opens as an overlay,
has nothing to do with display of the underlay window & closes when you select something and the underlying window displays as expected.
The frameset code looks ok
To make the favorites/history/search window 'behave' 'pin it'
there is an icon in the t/r corner of the favorites window, on mouseover it says "pin the favorites center" (something like that) clicking it will stick the favorites in place and the underlying window will adjust, but the favorites window will remain on screen until closed

almostbob 866 Retired: passive income ROCKS
<!-- google_ad_section_start --> After Dani's earlier post I thought it may have been a problem in my work PC only, but I just tried on my home (32-bit) PC which runs XP SP3 with Firefox 1.90. It is also occurring for me in IE 6.0. <!-- google_ad_section_end -->

the site has google ads, google ad headers have made it into the post bodies, templating problem?
Turning off the ads in control panel does not turn off these annoying scripts

almostbob 866 Retired: passive income ROCKS

likewise sql now()
is equivalent to php time()

almostbob 866 Retired: passive income ROCKS

If you have word, the office program frontpage does that (EEWW)
but wysiwyg editors tend to produce very bloated code
or you could google for wysiwyg html editor for other types