http://help.godaddy.com/article/788
godaddy : 5-7 days for domain name registraion transfer of nameserver update
http://help.godaddy.com/article/788
godaddy : 5-7 days for domain name registraion transfer of nameserver update
Likewise, fire the developer
trying to hide that they havent kept up with current best practice
goto google webmaster guidelines and read the instructions
Nothing anybody else has to say about search engines matters, does it
note what Google says about link exchange services
once you are registered as webmaster and google verify (also yahoo,msn,ask) you can see multiple reports of what the bots see of your site to further optimise your target audience.
My site (started very small business, staff of 2) gets page one in both cities we work in in our trade, get a lot of return visits and customers, have gone from 46% of the business we can handle(struggling) for two to 92% of what five can handle in three years, have bought more sites and staff is 5 1/2, we do no other advertising
rank higher than the biggest player in our target market, by following the guidelines.
works in yahoo MSN AskJeeves searches as well, the algorithms are similar
I just had to decrease the number of px from rigth div and it's work great!
I appreciate it!
Thanks for all!
the problem will recur likely for every screen/window combination other than the pc you just fixed it on
for
machine independence
resolution independence
browser independence
write compliant code, em %,
[/rant]
Don't use fixed sizes for anything except articles that are fixed sizes, images, video
all other elements should be scaled in relative sizes, ems or %, then the page size will adjust to monitor resolution and window size preserving layout without error overflow or browser compatibility issues
examplestwo divs with widths of 550px and 440px look ok fullscreen on your pc, but either sit one below the other or create scroll bars on any other window.
two divs with width of 55% and 45%, always sit adjacent to each other regardless of screen/window combination in every browser
at 640-480 12px is huge
at 800-600 12px is small
at 1024-768 12px is tiny
at 2160-1600 12px is invisibleat all resolutions 1em is the same size
base fonts chosen by the user for the user's convenience.
If they cant see your site, they wont be back
Its a 'milkbox menu' under mootools plugin
the effects are in css in milkbox.css
Links,
your content has to be good enough that other sites post links to it
the more sites that link to you, the more often search spiders will find reference to your site and the higher it will rank in the algorithms
there are link services that post thousands of links to your site to trick search engines, DONT, it just get you de-listed.
Create a sitemap and submit it to Search enginesRead the instructions by Google, in the prior link,
Nothing any one else has to say really matters, does it
A very interesting side career,
some of the things hidden in obfuscated code when the author just got fired would . . . . . . . . .
glad it helped
Google webmaster tools
has a very good section on how to get indexed, and get good rankings
do not use a link exchange, they are negative in effect
proper site design, keywords, content, incoming links from indexed sites do work
made the first page for our region, and field, and get many customers off google
you have set the z-index of body elements the table(very iniefficient as you are also using css positioning) used for layout to 100
if the z-index of the advertising script is lower it will be behind
but
the code is a mess,
fails w3c validation a place to start when looking for problems
too hard to wade through till the problems are fixed utf16 and utf8 are not compatible
clean it up and the issue may be easier to find
#footer { position:absolute; margin-bottom: 0; }
zero works without em,px,%,pt
do not set font size in px
on Your screeen it looks great,
on any screen res other than yours it looks like ** expletive deleted**
as well its not being compliant with w3c standardsthe text may be rendered invisibly small or annoyingly largescreen fonts are measured correctly in ems and %, both relative sizes in comparison to the basefont set by the user on the user's system.
anyhow
p.style1{ font-family: Tahoma,Geneva,Kalimati,sans-serif; font-size:100%; text-align:justify; }
p.style1:first-line { /* nothing here dont need it in this case*/}
p.style1:first-letter { padding-left:1em; font-size:200%; float:left; }
pseudo elements in the css standard.
this version tested in IE, float left probably drops the cap too far in mozilla browsers
but this is intended to point you to the solution,
good luck and experiment with this w3c tutorial
spent a lot of time repairing obfuscated and over-escaped codes where the original writer left the company, and they have no copy of the source
http://centricle.com/tools/html-entities/ copy the escape coded texted in the box and click the decode button
<p><span class="caps">APRIL</span></p>
<p><span class="caps">SAT</span> 18<br>
<span class="caps">OPEN TUTORIAL </span>(10.00- 4.00)<br>
This day will include a session on Reflective Practice, Alternative Formats and Physical Skills. It is open to all SWs although the majority of participants are likely to be <span <p><span class="caps">APRIL</span></p>
<p><span class="caps">SAT</span> 18<br>
<span class="caps">OPEN TUTORIAL </span>(10.00- 4.00)<br>
This day will include a session on Reflective Practice, Alternative Formats and Physical Skills. It is open to all SWs although the majority of participants are likely to be <span
A site that does anything other than close when I click close, will never get another visit.
That is a typical ploy of mal-sites
I do not want you to prevent me from navigating my browser.
I meant, what coppercup wrote
keep your html only pages as .html and the php pages as .php
server delays between ,
html d/l directly
or
html parsed through php looking for <?php ?> before being d/l
become significant
adding unnecessary directives to the server, slows it,
server is fast, its not infinite.
same query answered here
http://www.daniweb.com/forums/thread191546.html
I used to think, now I just copy n paste
use <a href='saveimage.php?file=path/to/hires/image.jpg'>Corvette sunset</a>
and the saveimage script described
If you add this line to your .htaccess file:
AddType application/x-httpd-php .html
.html pages will be able to execute .php commands. :)
and every html file will be parsed as php adding a large unneccessary overhead to the server
They list both in the $9.96/month category, and have a fairly helpful helpdesk,
even though I'm not a subscriber to their service there was immediate email reply.
help desk rep said " have the Customer contact us and switch to a *nix hosting package"
hope it works, the *nix packs have a larger bundle of includes
<div id="footer">
<p><a href="link.html">Link</a>
<a href="link.html">Link</a></p>
</div>
<!-- or -->
<a href="link.html">Link</a> <a href="link.html">Link</a></p>
both give Link Link
everything inside <a></a> is link,
if you want spaces that arent underlined and clickable add them outside the <a></a> tags,
= html 'hardspace' non-break space
or you can add margins & padding to your links in css
I like resurrected topics.
sometimes 'best practice' changes and being told a better way to do something than the way I have been doing it is useful.
I dont really notice signature urls.
I only play with my sig
in personalising a mailing, or web page,
& because php can build the page
its easy enough
if !isset($name) {$name='guest';}
echo "hello $name, How are you?";//dquotes
echo 'hello '.$name.', How are you?';//squotes
/* or */
// logic to get the row from the table
echo 'hello '.$myrow['name'].', How are you?';
google webmaster tools https://www.google.com/webmasters/tools/dashboard
get webmaster account
verify site ownership
then you can set the chosen domain name to index the site under
rewrite your code,
2000 accesses news article? what are you thinking.
google provide good code guides FAQ and live Q&A
sql query associated with the url
something like
select * from database where userid = $_get['userid'];
the exact syntax for the sql version on your host, probably mssql if an asp.net page is available online, as is the correct syntax to connect to the database & to embed the sql query in the asp page
don't know enough(any) asp to sample code it
<?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/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<script language='javascript' type='text/javascript' src='/propertysel.js.php'></script>
<Title>Add/Remove Resident - </Title>
<?php define("_BB_DIR", "./bb/");
define("COUNTER", _BB_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
include ("./menu.php"); ?>
<p>Add/Remove Resident<br>
<FORM name="globe" METHOD="POST" ACTION="http://www.mysite.com/cgi-bin/bnbform.cgi">
<INPUT TYPE="HIDDEN" NAME="outputfile" VALUE="mailapps"><INPUT TYPE="HIDDEN" NAME="countfile" VALUE="countmailapps">
<INPUT TYPE="hidden" NAME="submit_to" VALUE="enquiries@mysite.com">
<!--
bla bla
-->
to confirm this application</p>
</body></html><?php ob_flush(); ?>
addendum (reference to script.js.phpphp version javascript file
<?php ob_start("ob_gzhandler");
header ('content-type: text/javascript'); ?>
php version css file
<?php ob_start("ob_gzhandler");
header ('content-type: text/css'); ?>
too is gzipped)
havent yet learned to enable gzip in apache
i use
<?php ob_start("ob_gzhandler"); ?>
to buffer and gzip the output for faster transmission
your welcome
its easier to tweak design than tweak display
example
column widths of 10% 60% 30%
work in all browsers at all screen res, at all window sizes
column widths of 100px 600px 300px look the same but
at screen sizes less than 1024,
or with a window open to half screen,
create horizontal scroll bars and dont fit to window
wrong css in iefix.css
@charset "utf-8";
/* CSS Document */
body{
overflow: hidden; /*I did this to get rid of the bottom scroll bar in IE*/
}
got rid of all scroll bars in IE
reset the width of the divs to % instead of fixed pixels then the site wont have horizontal scrollbars and the iefix.css file can be removed
twoum + twoum
Runs away, giggling
google, utube clone script
upload and serve scripts are always separate
often in the same package, but separate
google webmaster tools
google webmaster help
read the hints, from the people blamed for search engines
You need a sitemap submitted to google,
or inbound links from other sites
to speed up the googlebots index your site.
MidiMagic is correct, once you get googled, yahooed, and asked
re-indexing is quite quick
re: inbound links,
link exchange services have a negative effect, dondoit
another **expletive deleted ** sound bite
translated,
how to annoy your visitors
let it be for the school work,
dont do it on anything that you go live with
Midimagic is right, if the site is indexed at all
the googlebots pick up changes rapidly
my advice is if the site is completely new, and has no or limited external links
<a href="" onclick='document.getElementByID("iframeID").src="href";'>demo</a>
<iframe frameborder='0' src='blank.html' id='iframeID'>iframe</iframe>
<?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>
<meta http-equiv="content-type" content="text/html;charset=utf-8"><meta name="distribution" content="global">
<meta http-equiv="content-Script-Type" content="text/javascript"><meta name="author" content="Rob Dockrey 2004">
<style type='text/css'>
<!--
.logo {
background-color: #eeeeee;
color: #000000;
text-align: right;
font-family: verdana, geneva, arial, serif;
font-size: 8pt;
top: expression(document.body.scrollTop +
document.body.clientHeight -
offsetHeight );
left: expression(document.body.scrollLeft +
document.body.clientWidth -
offsetWidth - 1 );
position: absolute;
}
-->
</style>
<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 - Entertainment - Dockrey Apartments</title>
</head><body><a name='top'></a>
<p class='logo'>
<button onclick="enLarge()">large</button>
<button onclick="shrink()">small</button>
<a class='button' href='..'>Main Menu</a>
<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>
<p>Videos<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 "unbekannt"; }
}
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 class='button' …
yes
get a google account
verify
(follow the instructions on google webmaster tools to get your site indexed) re links design
submit your sitemap online sitemap generator
do not join a link exchange, many are a negative effect on your page ranking
family.mysite.com
www.mysite.com
rent2own.mysite.com
in the google index
incidentally the script that says " we reccomend using firefox "
is wrong, this is not an IE browser at all, and not IE6,
Opera
you alienate many more of your visitors than you will get converts to another browser.
not a commercially viable idea.
an old, form of html gives font sizes as <small><large> etc
directly below the //change font size you will see the code includes <small>some text </small> to set font size.
The script is old, and though it works it doesnt take advantage of recent developments.
the line
var cdate="<small><font color='000000' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn
+"</b></font></small>"
is the one that contains the strings for what is displayed
-copy it -comment it
and you can mess with the copy as much as you need to get the display as you wish
//commented out
//var cdate="<small><font color='000000' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn +"</b></font></small>"
var cdate="<small><font color='000000' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</b></font></small>"
and still retain a backup of all the fields
<form action="" method='post' onsubmit='return confirm("Sure?")'>
<input type='text' name='fred' value="<?php if($_POST['fred']) { echo $_POST['fred'];} ?>">
<input type='submit' value='submit'>
</form>
another method
if($sqlStr != $sqlStr1){ echo $sqlStr; }
else{ echo "$sqlStr <br> $sqlStr1 <br> No changes were made! <br>"; }
kis
<!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: #ffffff; text-align: right; }
.bottom { background-color: #efefef; padding: 15px; text-aliign:right;}
-->
</style>
<script language="javascript" type="text/javascript">
<!--
(document.getElementById) ? dom = true : dom = false;
function hideIt(textID) {
if (dom) {document.getElementById(textID).style.visibility='hidden';}
if (document.layers) {document.layers[textID].visibility='hide';} }
function showIt(textID) {
if (dom) {document.getElementById(textID).style.visibility='visible';}
if (document.layers) {document.layers[textID].visibility='show';} }
//--></script>
</head>
<body>
<button onmouseover="showIt('layer1');" onmouseout="hideIt('layer1');">?</button> Question mark help
<br>
<button onmouseover="showIt('layer2');" onmouseout="hideIt('layer2');">?</button> second Question mark help
<div id="layer1" style="position:fixed; left:20px; top:40px; visibility:hidden;">
<ul compact='compact' class='bottom'>
<font size="+1"><b>help page</b>:<br/>
Blah blah blah
<li>blah blah blah</li>
<li>blah blah blah</li>
<li>blah blah blah</li>
<li>blah blah blah</li>
<li>blah blah blah</li>
</ul>
</div>
<div id="layer2" style="position:fixed; left:20px; top:40px; visibility:hidden;">
<ul compact='compact' class='bottom'>
<font size="+1">second help page:</font><br/>
Blah blah blah
<li>blah blah blah</li>
<li>blah blah blah</li>
<li>blah blah blah</li>
<li>blah blah blah</li>
<li>blah blah blah</li>
</ul>
</div>
</body></html>
same script, recoded for multiple divs
<!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: #ffffff; text-align: right; }
td.top { background-color: #000070; color: #ffffff; text-align: right; }
td.bottom { background-color: #efefef; padding: 15px; }
.bottom { background-color: #efefef; padding: 15px; }
-->
</style>
<script language="javascript" type="text/javascript">
<!--
(document.getElementById) ? dom = true : dom = false;
function hideIt() {
if (dom) {document.getElementById("layer1").style.visibility='hidden';}
if (document.layers) {document.layers["layer1"].visibility='hide';} }
function showIt() {
if (dom) {document.getElementById("layer1").style.visibility='visible';}
if (document.layers) {document.layers["layer1"].visibility='show';} }
onResize="window.location.href = window.location.href"
//--></script>
</head>
<body>
<button onmouseover="showIt();">?</button> Question mark help
<div id="layer1" style="position:fixed; left:20px; width:45%; top:20px; visibility:hidden;">
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td Align="right" onClick="hideIt()" class="top">
<font Color="#ffffff"><Strong>Close</strong></font>
</td>
</tr>
<tr>
<td class="bottom">
<center><font size="+1"><b>help page</b>:</font></center>
Blah blah blah
<UL compact>
<li>blah blah blah</li>
<li>blah blah blah</li>
<li>blah blah blah</li>
<li>blah blah blah</li>
<li>blah blah blah</li>
</ul>
</td>
</tr>
<tr>
<td Align="right" onClick="hideIt()" class="top">
<font Color="#ffffff"><Strong>Close</strong></font>
</td>
</tr>
</table>
</div>
</body></html>
the javascript can be recoded to display any of multiple hidden divs dependant on which button is mouseovered
Use a frameset instead of an iframe, allows the child to be any size required.
thus you set the size of your parent and allow the child to be '*'
the usual thing with cut n paste scripts <script>
as supplied should be <script type='text/javascript'>
this implementation will work
<html>
<head>
<script type='text/javascript'>
<!--
/*
Live Date Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use,
visit http://www.dynamicdrive.com
*/
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var hours=mydate.getHours()
var minutes=mydate.getMinutes()
var seconds=mydate.getSeconds()
var dn="AM"
if (hours>=12) {dn="PM"}
if (hours>12){ hours=hours-12 }
if (hours==0) { hours=12 }
if (minutes<=9) { minutes="0"+minutes }
if (seconds<=9) { seconds="0"+seconds }
//change font size here
var cdate="<small><font color='000000' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn
+"</b></font></small>"
if (document.all)
document.all.clock.innerHTML=cdate
else if (document.getElementById)
document.getElementById("clock").innerHTML=cdate
else
document.write(cdate)
}
if (!document.all&&!document.getElementById)
getthedate()
function goforit(){
if (document.all||document.getElementById)
setInterval("getthedate()",1000)
}
-->
</script>
</head>
<body onLoad="goforit()">
<span id="clock"></span><!-- the span at left goes exactly where you want the clock -->
</body>
</html>
in relation to your first two posts
it takes longer than 5 hours to get a response from a company you pay,
all responses here are from 530 000 plus volunteers,
hosting costs the Queen a heap,
you get to wander in and & **expletive deleted ** think, the people who fix it for you FREE are in another **expletive deleted ** timezone
Your statement about retrieving an image with a request requires some elaboration. Since the image sprite exists in the browser cache (several sprite icons are used the default page), my concern is to avoid posting an additional request for retrieving an image that already exists.
I think what you ask is done automatically,
but a request is always made, the browser has to be asked to supply 'something' before it will determine to fill the requested something from local cache or remote host
css maybe?
body{ background: url('images/grad_gray600.jpg')#cccccc repeat-x top;
try
body{ background: url('/wp-content/themes/premiumnews/images/grad_gray600.jpg')#cccccc repeat-x top;
IE may not follow relative link from the .css ??
sites put a framebreaker in their page to stop thieves.
it appears they are stopping you, follow the logic.
Using someone elses page as (or in) your own without permission is theft, you are using their resources, and server as your own.
Write your own pages
contact the site owner and license their content
open the page in another browser window/tab, with a note "Opens in New tab, close the tab to return to mysite.com"
or accept that "Your" page is going to be seized by the person who actually wrote it.
suggesting that the uri is being entered by the user, is no defence, you are creating the code that inserts the page in your site.
black hole?
Using Sessions one need not store it on user's computer,
if we store the users ip and items in the cart in the database by sessions and later retreive them from database when visitor visits back and use them wouldnt that work?
Nope, different ip same user
same ip different user
ip addresses are not fixed they are at the discretion of the ISP
Generic file download
savefile.php
<?php
if(!$file) return false;
if(!type) return false;
header("content-disposition: attachment; filename=$file");
header("content-type: $type");
readfile("$file");?>
download link
<a href='savefilee.php?file=pathtofile&type=type'>save this file</a>