2,295 Posted Topics
Re: 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 … | |
Re: goto [url=http://lmgtfy.com/?q=https%3A%2F%2Fwww.google.com%2Fwebmasters%2Ftools%2F%26hl%3Den&l=1]google webmaster tools page[/url], register, and follow the instructions, to begin to accomplish what all the prior posts suggest no doubt you can see a hi degree of agreement, everyone says the same thing google seem to have a pretty good idea what makes a page rank well on … | |
Re: 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 +∞ | |
Re: [fputcsv](http://php.net/manual/en/function.fputcsv.php) | |
| |
Re: 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 … | |
Re: often get gremlins <link rel="stylesheet" type="text/css" href="style.css" /> mYay fail when <link rel="stylesheet" type="text/css" href="./style.css" /> works | |
| |
Re: 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 | |
Re: 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 … | |
Re: http://www.daniweb.com/web-development/web-design/code/216407/a-four-function-calculator-html may give some insights how to proceed | |
Re: 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 … | |
Re: SELECT * FROM `private_messages` WHERE to_id LIKE '$ID' AND To_Deleted LIKE '0' ORDER BY id DESC limit 1 | |
Re: 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 … | |
![]() | Re: <?php echo '<script type="text/javascript">var str="'; include("engine.php"); echo '"; var str_esc=escape(str);document.write(str_esc); </script>'; ?> |
Re: just confirming that you replaced the words my_key with the actual key given | |
Re: 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 … | |
Re: <!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 | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: [icode] <img width='100%' src=[/icode] ..... such a lot of unneccessary ** expletive deleted ** | |
Re: jquery the do more[B] JAVASCRIPT [/B]library, with which you wish to accomplish an [B]AJAX[/B] function wouldnt you ask this in the [url=http://www.daniweb.com/web-development/javascript-dhtml-ajax/117]JAVASCRIPT/DHTML/AJAX[/url] forum, where you may get answers | |
Re: 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 [icode]echo "<a href='ProfileDoctor.php?ID=unique_identifier'>$dname</a>"; //_there_could_be_100_Dr_John_smith[/icode] get the styles out of html into css where they belong, makes maintainence simpler … ![]() | |
Re: use [noparse][code=language]code [/code][/noparse] 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 [code=php]$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"; } … | |
Re: check the script files [noparse]<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[/noparse] 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 | |
![]() | Re: [B]teedoff:[/B] adad is a javascript local variable defined in the script at the top of the op [icode]function show_hide(adad)[/icode] 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 [B]DG12[/B][code]<a href="javascript:show_hide('info');"> </a> … |
Re: dont get many UK tv in Aus or Can, but, the byline in old .Net PC_Direct PC_Pro Computer_Life magazines The Times on Sunday (2 weeks late) 3 books on [I]my[/I] shelves awards out the wazoo guru << happygeek | |
Re: try fooling around with, css some code that chances the class of the body to "noprint" one with a style [icode]@media print{.noprint{display:none;}}[/icode] remembered in a cookie or a value in the user table, easily bypassed but so is everything else, I dunno, something like crappydoodle[code=php] <?php // database connection code … | |
Re: [QUOTE=asif49;1757460]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?[/QUOTE] Yes If the output is rss xml, and the headers are set, extension is not significant rss can be php … | |
Re: [code=php]<a href='*' onclick="JAVASCRIPT:window.location.href='list_upload.php?reqid=<?php echo $row['reqid']; ?>';" title="View" >View</a>[/code] | |
Re: [url=http://lmgtfy.com/?q=change+html+page+title+script]let me google that for you[/url] heaps of scripts to do title change, In your case, add another title declaration to the code of the en.html page, [U]after[/U] the included head by the CMS, the last declaration will remain eg, en.html[code] <?php include('stuff.inc.php'); include('otherstuff.inc.php'); // where greek title is set … | |
Re: [icode]<form method="post" action="exists.php"><input type="text" name="dl" value=""><input type="submit"></form>[/icode] depending on the html version you are writing to, proper form is important without the quotes $_post may not contain anything | |
Re: Rent an avis car, rob a bank, bank sues avis steal a car, rob a bank, bank sues theft victim buy a hammer, break a window, sues hardware store?? beyond sad, pathetic | |
Re: 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 [B]em[/B] and [B]%[/B] scalar dimensions that auto adjust to window size device resolution user preference, added bonus that the site is disability … | |
Re: why not start with this[code=php]<?php <form action="verxbh738hxzge2d8a.php?nav=zjxpmovdtzjd" method="post" enctype="multipart/form-data" [/code]php is not html | |
Re: how are you accessing the file it appears a localhost error | |
Re: yet another drop in media player[code=php] <?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; … | |
Re: pixels are not a layout tool, the size of a pixel is dependant on screen resolution current best practice is to use [b]em[/b] or [b]%[/b] as dimensions for layout, these are scalar quantities that automatically adjust to window size screen resolution and user preference a page laid out (example) as … | |
Re: arrays are quoted [icode]if ($_POST['Payment'] [/icode] many servers in the path between your server and the client do not handle spaces well, the $_post-ed value would be better as [icode]Bank_Transfer[/icode] javascript redirects when using a server language ?? why send anything but the correct page to the client[code=php]<?php if($_POST['Payment'] == … | |
Re: what ^he^ said validation solely at the client is useless, information can be spoofed too easily validation solely at the server is useless, too many reloads for incomplete forms, large amounts of data transfer for no real purpose combination of clientside, so the form is completely filled, the data is … | |
Re: [code=php]<?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");} … | |
Re: offtopic to the op, but[code=php]$check = mysql_fetch_row($resultX); if(!$check == "y"){header("Location: main.php"); exit;}[/code] | |
Re: [QUOTE=Azmah;1570300]Why is Google having trouble scanning my sitemap? I'm running my blog on Tumblr and Tumblr generates a sitemap for you.[/QUOTE] have you checked the sitemap that tumblr generates if its not valid xml it will downgrade the site rating have you submnitted the sitemap to google If you dont … | |
Re: [code=html]<table border="0" cellpadding='0' cellspacing='0' align="center" width="60%">[/code]browsers default to different cell whitepace that may be the cause of the white around images, apologies if already mention, I havent read all the posts yet, got to write while the brain works | |
Re: If you are trying to run a php script locally on your pc, in Internet ecplorer, you can't. [B]P[/B]HP [B]H[/B]ypertext [B]P[/B]reprocessor (php) commands are processed on the server and output as html to the browser You can install a local php server, [I]WAMP LAMP DevPHP et al[/I], on your pc … ![]() | |
Re: [url=http://www.php.net/manual/en/function.mysql-select-db.php] mysql_select_db ( string $database_name [, resource $link_identifier ] )[/url] [ICODe]mysql_select_db($khabarez_naveed, $dbLink);[/icode] | |
The End.