2,295 Posted Topics
Re: I have one Map-IP, you'll have to google it out of the box it only plots the current user, but it easily [i]adjustable[/i] | |
Re: 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 standards[INDENT]the text may be rendered invisibly small or annoyingly large[/INDENT]screen fonts are measured correctly in ems … | |
Re: A site that does [I]anything[/I] 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. | |
Re: [QUOTE=beeerlover;878535]If you add this line to your .htaccess file: [icode]AddType application/x-httpd-php .html[/icode] .html pages will be able to execute .php commands. :)[/QUOTE] and every html file will be parsed as php adding a large unneccessary overhead to the server | |
Re: same query answered here [url]http://www.daniweb.com/forums/thread191546.html[/url] I used to think, now I just copy n paste use [icode]<a href='saveimage.php?file=path/to/hires/image.jpg'>Corvette sunset</a>[/icode] and the saveimage script described | |
Re: [CODE=html]<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> [/CODE]both give [U]Link[/U] [U]Link[/U] 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 … | |
Re: [QUOTE=kavithakesav;781732]<link rel="SHORTCUT ICON" href="images/myicon.ico" />[/QUOTE] Try [icode]<link rel="shortcut icon" [B]Type="image/x-icon"[/B] href="[B][url]http://www.mysite.com/[/url][/B]images/myicon.ico">[/icode] IE can be picky | |
Re: in personalising a mailing, or web page, & because php can build the page its easy enough [code=php]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?';[/code] | |
Re: rewrite your code, 2000 accesses news article? what are you thinking. google provide good code guides FAQ and live Q&A | |
Re: sql query associated with the url something like [code=sql]select * from database where userid = $_get['userid'];[/code] 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 … | |
Re: i use[code=php]<?php ob_start("ob_gzhandler"); ?>[/code]to buffer and gzip the output for faster transmission | |
| |
Re: the usual thing with cut n paste scripts [icode]<script>[/icode] as supplied should be [icode]<script type='text/javascript'>[/icode] this implementation [B]will[/B] work[code=html]<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 … | |
Re: [code=php]<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>[/code]another method | |
Re: wrong css in iefix.css [code=css]@charset "utf-8"; /* CSS Document */ body{ overflow: hidden; /*I did this to get rid of the bottom scroll bar in IE*/ } [/code] got rid of [B]all[/B] scroll bars in IE reset the width of the divs to % instead of fixed pixels then the … | |
Re: [url=https://www.google.com/webmasters/tools/dashboard]google webmaster tools[/url] [url=http://www.google.com/support/webmasters/]google webmaster help[/url] 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 … | |
Re: 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 | |
Re: yes get a google account verify (follow the instructions on google webmaster tools to get your site indexed) re links design submit your sitemap [url=http://www.auditmypc.com]online sitemap generator[/url] do not join a link exchange, many are a negative effect on your page ranking family.mysite.com w[B][/B]ww.[B][/B]mysite.com rent2own.mysite.com in the google index incidentally … | |
Re: [code=html]<a href="" onclick='document.getElementByID("iframeID").src="href";'>demo</a> <iframe frameborder='0' src='blank.html' id='iframeID'>iframe</iframe>[/code] | |
Re: shtml php asp would be so much easier to code than trying to 'dynamic' the iframe. just one line of code in each page file, and change the extensions to .shtml[code=shtml]<!--#include virtual="/mainmenu.html" --> [/code] .php[code=php]<?php include('/mainumenu.html'); ?>[/code] .asp[code=asp] // dunno never used it[/code] for whatever scripting language the hosting account … | |
Re: [code=php]if($sqlStr != $sqlStr1){ echo $sqlStr; } else{ echo "$sqlStr <br> $sqlStr1 <br> No changes were made! <br>"; }[/code]kis | |
Re: add column to table download_date with a default value = 0 any newly created rows will have a download date value of zero a simple table update to post a date to the field for any that have been downloaded already when downloading update table so that the time the … | |
Re: [code=html]<!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"> … | |
Re: 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 '*' | |
Re: css maybe? [code=css]body{ background: url('images/grad_gray600.jpg')#cccccc repeat-x top;[/code]try[code=css]body{ background: url('/wp-content/themes/premiumnews/images/grad_gray600.jpg')#cccccc repeat-x top;[/code]IE may not follow relative link from the .css ?? | |
Re: [QUOTE=Helveticus;871259]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. [/QUOTE] I think what you … | |
Re: [code=html]<iframe frameborder='0' src='footer.html' width='100%' height='height of footer in px'>footer</iframe>[/code] [code=php]<?php include('footer.html'') ?>[/code] [code=shtml]<!--#include file="footer.html" -->[/code] [code=asp]<!--#include virtual="footer.html" -->[/code] [code=html]<object data="footer.html" type="text/html" width="100%" height='height of footer in px'> alt : <a href="data/test.html">test.html</a> </object>[/code] | |
Re: 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 … | |
Re: [QUOTE=gurusundar;853126]Thanks for your reply, I just want to know the difference between [COLOR="Green"]<img src="images/new.jpg"> and <img src="[COLOR="Red"]/[/COLOR]images/new.jpg">[/COLOR] tag format, also I belive [COLOR="Red"]<img src="/images/new.jpg"> and <img src="../images/new.jpg">[/COLOR] are same. I am an experienced programmer so i know some basics in images. Please advice[/QUOTE] ./ this folder ../ up one folder … | |
Re: [QUOTE=csharplearner;868814]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?[/QUOTE] Nope, different ip same user same ip different … | |
Re: saveimage.php[code=php]<?php if(!$file) return false; header("Content-disposition: attachment; filename=$file"); header('Content-type: image/jpeg;'); readfile("$file"); ?>[/code]image link[code=html]<a href='saveimage.php?file=hires/image.jpg'><img src='lowres/image.jpg' alt='click to save hires image'></a>[/code] | |
Re: a submit button 'onmousedown' is onsubmit in the parent <form> a submit button has no 'onmouseup' because the form has already been submitted, | |
Re: [QUOTE=chandradyani;864438]I have a table with the following date field entry named datetime: 07-05-2009 Which I am assuming is an entry for 07-05-2009 (d/m/Y) [/QUOTE] or it could equally be m-d-y thats the other reason why dates and times should be stored as a timestamp timstamp is smaller faster and un-ambiguous | |
Re: [noparse][code=pet peeve][/noparse] sql time or php date are 10 decimal digits representing the number of seconds from 1/1/1970 (doh,, 1970 or 1980? ) human readable representations of date() or time() are unneccessary and waste processor time the computer uses digits better than text representations thus time() + 300 = five … | |
Re: If this is actually copied from your html file you may want to close the link[code]<link rel="stylesheet" type="text/css" href="style.css" / <link rel="stylesheet" type="text/css" href="style.css" />[/code] and complete the html declaration and doctype so that the styles you are choosing, actually work [URL=http://www.w3.org/QA/2002/04/valid-dtd-list.html]W3c Recommended list of DTDs[/url] | |
Re: In your pages that should be in your iframe [code=javascript]<script type='text/javascript'> <!-- if(self.location==top.location) top.location.replace('http://mysite.com?frame=' + self.location) ; --> </script>[/code] I dunno what the form for html shtml pages is, never thought about it before but in php[code=php]<iframe src="<?php if(!$frame) {echo 'main.html';} else {echo $frame; } ?>" frameborder='0' width='100%' height='900'></iframe>[/code] | |
Re: only if the original image is as large as the largest dragable size. increasing the size of the image beyond its actual size creates interpolated pixels, 'best fit of color' that may not be correct or creates visual pixels that are multiple screen pixels in size, 'blocky' images. If the … | |
Re: [QUOTE=!Unreal;863759]So I dont have to edit anything using this? It will do everything automatically for me?[/QUOTE] yep and its a tight script too | |
Re: [url]http://www.webaim.org/techniques/powerpoint/convert.php[/url] [url]http://www.filebuzz.com/fileinfo/22470/123_PowerPoint_to_HTML_Converter.html[/url] | |
Re: [QUOTE=m-hrt;863219]i have seen many form if some one press the button it takes to the other page also it sends tha data?[/QUOTE] well Yeah, php form processing is in the target page not the form page and validation failure is something like [code=php]if !$post['variable'] {header ("location: $_SERVER['http_referer']"); } | |
Re: [url=http://www.google.com/search?hl=en&q=asp+slideshow+script&meta=]Google (asp slideshow)[/url] is your friend the actual getting off your proverbial to find the one that is appropriate of the 1.5 million responses I leave to you. Nothing, ever, has to be manually updated, thats why server languages exist | |
Re: other options [url]http://www.freefind.com/[/url] | |
Re: 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 … | |
Re: If you have a really [i]large[/i] script with a single error you could post just the relevant section, and comments & suggesstions would reference the 'right' part of your source code "try {x}|bla bla in line 502" if you made as many mistakes as me, you would see the need … | |
Re: [QUOTE=itisnot_me;862032]or you can do it the lazy way and lookup a sitemap generator[/QUOTE] [url]http://www.auditmypc.com/free-sitemap-generator.asp[/url] | |
Re: the marquee extension behaves like that, exits the display area before restarting, this prior thread [url]http://www.daniweb.com/forums/thread180864.html[/url] may help | |
Re: [code=html]<style> .left {width:33%; float:left; text-align:left;} </style> <div class='left' > <label for='country'>Country</label><br/> <select onchange='javascript populate state-province selector' name='country' id='country'> <option selected='selected' value="">Choose</option> <option value='the lucky country'>Australia</option> <option value='winter home for hockey'>Canada</option> <option value='strange'>America</option> <option value='I like the feel of tulips'>Nederlands</option> </select> </div> <div class='left'> <label for='state'>State/Province</label><br> <select id='state' name='state' onchange='javascript populate … | |
Re: [noparse][Rant = Slightly off topic, My favorite Subject][/noparse] simplify the database change any text dates "October 15 2008"(smalltext 15 characters) etc to timestamps strip out the $signs you only need them when you print out information [icode] echo '$ '.$extPrice; [/icode] is just as fast and causes no $_ errors … | |
Re: [code=php]<?php $LIMIT = 40;// Entries Per Page If (isset($_GET[‘page’])) { // Get Current page from URL $page = $_GET[‘page’]; If ($page <= 0) { $page = 1; // Page is less than 0 then set it to 1 } } else { $page = 1; // URL does not show … |
The End.