2,295 Posted Topics
Re: code is broken, examine the color coded html in the op, you will notice that all the unencoded [icode] ' [/icode] in the arrays change the colorscheme. this indicates the code is broken at that point the code will not work correctly untill you repair all those improper apostrophes to … | |
Re: [url]http://javascript.internet.com/forms/sort-data-table.html[/url] yet another one tp go with [I]praveen[/I]'s post. its a popular gadget | |
Re: either check the existence of the data[code=html]<td> <input type='radio' value='No' name='manager' id='managerno'><label for='managerno'> No</label> <input type='radio' value='Yes' name='manager' id='manageryes'><label for='manageryes'> Yes </label></td>[/code][code=php]<?php if(isset($_post['manager'])) { $manager = $_POST["manager"]; } ?>[/code] Or Give a default answer so the data field is populated [code=html]<td> <input type='radio' value='No' name='manager' id='managerno' checked='checked'><label for='managerno'> No</label> <input … | |
Re: [code=php]<?php if(isset($_post['ud'])) { if(($_post['ud']=='first allowed entry')||($_post['ud']=='second allowed entry')||($_post['ud']=='third allowed entry') ) { include("$_post['ud'].php"); } } else include("default.php"); ?>[/code] permitted values include a php scrap containing the html appropriate to the value there can be any number of acceptible values and insert pages its not pretty, but its a thought concept | |
Re: [code=html]<script type="text/javascript"> (document.getElementById) ? dom = true : dom = false; function hideIt() { if (dom) {document.getElementById("layerm1").style.visibility='hidden';} if (document.layers) {document.layers["layerm1"].visibility='hide';} } function showIt() { if (dom) {document.getElementById("layerm1").style.visibility='visible';} if (document.layers) {document.layers["layerm1"].visibility='show';} } --></script> <input type='radio' id='radiono'name='radioone' value='no' ><label for='radiono'>NO</label> <input type='radio' id='radioyes' value='yes' onClick="showIt();"><label for='radioyes'>YES</label> <div id="layerm1" style="position:fixed; width:50%; visibility:hidden; padding:10px; … | |
Re: as you would any other html elements either drop out of php and use html, <?php /* bla bla bla */ ?> <script type='text/javascript' src='http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=150&h=50&title=&border=0&output=js'></script> <?php /* bla bla bla */ ?> or echo the script code <?php /* bla bla bla */ echo '<script type="text/javascript" src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=150&h=50&title=&border=0&output=js"></script>'; /* bla bla … | |
Re: zero has no dimension, 0px is 0em is 0pt is just 0, you cant set an absolute width and expect padding to always work, if the text comes to less than 20px of the element width and there is not a place where the text can break, it wont break … | |
Re: most javascript table sorters rely on the tab le being given a class='sortable' (or similar) and <th> elements have to be in the first row of the table to be clicked upon to sort often requires a[code=php]echo "<tr><th>column1</th><th>column2</th><th>column3</th>"; ."...<th>column999</th></tr>";[/code]be added before the generated output rows to give the required column … | |
Re: as for compliant, or interoperability,,, MS don't care Windows has 91% of pcs IE has 75% of the market IE [U]is[/U] the standard, no matter what any consortium decides, | |
Re: what emhmk wrote except set display:none; display hidden leaves whitespace where the element would be [code=html]<html><head><style type='text/css'> @media print { .dontprint { display:none; } } @media screen { .dontshow { display:none; } } </style></head><body> <p class='dontprint'>this paragraph only displays onscreen</p> <p class='dontshow'> this paragraph provides alternate text in the printed … | |
Re: solution 1[code]<script type="text/javascript"> function wait() { document.getElementById("errorBox").style.visibility="hidden" }; </script> </head> <body onload='wait();'>[/code] solution 2[code=html]<div id="errorBox" style='visibility:hidden;'>[/code] solution3[code=css]#errorBox { visibility: hidden; }[/code] | |
Re: the first clientside is window.close(); nothing will display in a closed window try the same code with the javascript to close the window AFTER the information is displayed | |
Re: [QUOTE=securianszx;1179941]reciprocal URL means with which site owners request link exchange[/QUOTE] as English is a second language for the op, we'll have to assume a phrasing difficulty slightly rephrased, [INDENT]Does a reciprocal URL mean the URL with which site owners request link exchange[/INDENT]Yes it does, hindi एक पारस्परिक URL क्या मतलब … | |
Re: html does not do what you ask, withiut the assistance of a server script cgi asp php a form is submitted to something, and that something does the processi ng, there are a number of php contactus scripts prewritten if your server supports php bignosebird.com as perl cgi or if … | |
Re: remove the dimensioning from zero 0pt = 0px = 0%= 0em = [B]0[/B], dimensioned zero may put the browser into quirks mode, it could be as simple as how the browser handles invalid css | |
Re: the image urls are all wrong, some of the spaces are encoded as %20 some are not, on an apache server h is not equal to H, so mixed case filenames are confusing a url must include a protocol if a local file, it begins with file: [icode]file://localhost/C:/image.jpg[/icode] and nobody … | |
Re: [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> </head> <body><a name='top'></a> <p style='position:fixed; top:auto; right:0; left:auto; Bottom:0;'> <a href='..' target='_top'>goto Top</a> </p> <?php $path="whatever"; $p = split('/', $_SERVER['SCRIPT_FILENAME']); $script_name = $p[count($p)-1]; $dir_handle = @opendir($path) or die("Unable to open $path"); Function get_Extension($m_FileName){ $path_parts = pathinfo($m_FileName); … | |
Re: well considering there arent 35 lines, repost your edited code, so one of the gurus can have an AHA moment its likely simple, a mismatched set of quotes, but hard to diagnose from an errormessage that has more lines than the code sample | |
Re: return false purpose is to negate the href if javascript is enabled, the onclick attrribute remains, the script will function, the window will resize and then redirect | |
Re: dreamweaver lets you do anything that someone else has already thought of and programmed in. [B]Not[/B] using dreamweaver, lets you do anything that someone else has already thought of, and anything that no-one else has thought of yet as for the rest of it [url=http://lmgtfy.com/?q=what+is+php] tutorial [/url] ![]() | |
Re: embed the google translate widget in your menu include machine translation is not perfect, but for an accurate idiomatic human translation you pay too much [code=html]<script type='text/javascript' src='http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=150&h=50&title=&border=0&output=js'></script>[/code]set the source language to the correct 2 character setting in the above scrap,(up_source_language=[B]**[/B]) or goto google and get a customized translator for … | |
Re: [QUOTE=MktgRob;1050761]Many people are fixated on high SERP position but I and many others advocate focusing on the quality of your content rather than designing your page for maximum SERP results.[/QUOTE] Great comment, comparing current search results with the practices of prior years, and looking at the wayback machine there are … | |
Re: the image has to be inside the <body></body> tags, </body> represents the end of displayable space | |
Re: spaces in file names http servers do not like spaces %20 html encoding should replace spaces, framesets are out of date, [LIST][*] not indexed well by search engines [/LIST]server includes in shtml or php includes or asp includes are the current best practice for creating menu systems to get the … | |
Re: "quickest and dirtiest" is exclusive to having your site listed, black hat SEO is easy for the SE to determine, and, you are out of GoogleBingYahooAskDotnet till you beg them for the privelege quickest and [U]clean[/U] will at least keep you in SE for more than 24 hours, goto google … | |
Re: I took your css and pulled all the declarations into order,, first to last within element name, There are multiple declarations of the same element scattered throughout the file, many of them contradict each other. Its no wonder the effect is not quite as you expect, as each later declaration … | |
Re: like everybody else says CSS is the language of layout as html is the language of markup its structured text, pretty easy to learn, pretty easy to build up into spectacular effects all the drop down menus on this site are just css effects and <ul><li></li></ul> unordered lists Theres nothing … | |
Re: [icode]<div onmouseover='whatever'><span>bla bla</span<p>bla bla bla</p></div>[/icode] | |
Re: [B]You[/B] dont set the z-index, the remote site does somewhere in their javascript, they want to be ontop. when you sign up and agree to the terms of their script, you got their script, however they wrote it. this is the css accessed by the javascript embedded[code=css].qmmt_main { background-color: #ffffff; … | |
![]() | |
Re: is there anywhere in the css file any declaration for td, input, input.text, files shown not complete, these questions are necessary. are there any included files, external scripts: trackers; advertising; googlesearchbox, anything at all included in the page from any outside source; often those external files have their own css, … ![]() | |
Re: look for a section in the google script code [icode]&hl=**[/icode] where ** is the two letter abbreviation for the language and change it to [icode]&hl=en[/icode] the original page had tulips windmills and sabots html entities... [icode]<script src="http://maps.google.com/maps?file=api&v=2&hl=nl&key=" type="text/javascript"></script>[/icode] becomes [icode]<script src="http://maps.google.com/maps?file=api&v=2&hl=en&key=" type="text/javascript"></script>[/icode] | |
Re: control of the local hardware is the users not yours I have 5 printers attached to this, one is a steel cutting water jet, one prints self adhesive labels to go on the gut steel, one has paper in it even page layout is finally the users you can style … | |
Re: [code=php]<?php $con = mysql_connect("...","...","..."); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("...", $con); $result = mysql_query("SELECT * FROM photo_albums ORDER BY uptime DESC"); while($row = mysql_fetch_array($result)) { echo "<div class='photoThumb'>"; ."<a href='viewAlbum.php?aid='$row['aid']'>"; ."<img src='$row['filepath']$row['filename']' border='0' />"; .'</a><br/><span class="thumbText">'; ."<a href='viewAlbum.php?aid='$row['aid']'>$row['stitle']</a><br/>"; ."$row['photog']</span></div>"; } mysql_close($con); ?>[/code] to my mind … | |
Re: embedded executable, every browser has aimed at preventing this, its the typical property of malware other embedded programs that run when you open the web page virus trojan rootkit probably not a good idea ![]() | |
Re: assuming apache server I do stuff like that in mod_rewrite on the server .htaccess file[code=apache] RewriteEngine on Rewritecond %{HTTP_HOST} !^www\.mysite\.com RewriteRule (.*) http://www.mysite.com/$1 [R=301,L] // this line blank[/code](blank lines before and after code) ref: [url]http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html [/url] [noparse] if the url does not begin with www.mysite.com replace it with www.mysite.com[/noparse] append … | |
Re: post the code, so those gurus, the ones who really can look at it and 'Aha' can aha it and post a simple edit nobody wants to go to your site and copy the code and edit it and, and, and, and , , , , | |
Re: rewrite the question and explain what you are trying to do this forum is for CSS, cascading style sheets not for counter strike source | |
Re: jems, caperjack is right whether you think you can, or think you can't, you are right so open the case and look inside its easier than you think it will be there are utube videos on howto remove a drive the power cables have polarised connectors so they only fit … | |
Re: [code=php] if ($number > 2) { // we get 3 images followed by a break. echo "</br>"; $number = 0; [/code]may cause validation issues[code=php] if ($number > 2) { // we get 3 images followed by a break. echo "<br />"; $number = 0; [/code] may not | |
Re: set a dtd and complete the necessary <head> details so that css will work just <html> is html1.1 with no style support, then play with andrews (functional) code | |
Re: you either have to check, "send pictures with email" excuse me I cant remember the exact settings for every mail program, so the images are included in the body of the mail mime, or as previuosly noted, post the images on the net to a host that can be accessed … | |
Re: Its a paid service, you require access to a mobile phone provider's system, which you pay for, and they provide a script to access all the 'free' services are merely an advertiser's choice of method to keep you on their pages long enough to see their ads contact a local … | |
Re: the page is not complete, for cutnpaste simplicity i Know, so these may be considered [I]doh[/I] questions but,, Is there a DTD declared as the first line of the file, without a dtd the file is html2 and most styling will not work Are all those multiple stylesheets inside <style></style> … | |
Re: & added to airshow's reply taking over the hardware, for any purpose, is a typical act of malware. Browser makers release innumerable updates to separate the browser from contact with the underlying hardware If you did find such an exploit, browser makers would be quick to close it in case … | |
Re: [code=html]<html><head> <script type='text/javascript'> <!-- function imgclick(image) { document.getElementById('bigimg').src="imagelibrary/"+image+'big.jpg'; document.getElementById('linkimg').href="/root/path/"+image+".html"; } --> </script> </head><body> <img src="imagelibrary/dazzlethumb.jpg" onclick="imgclick('dazzle');" border="5" /> <img src="imagelibrary/gunshotthumb.jpg" onclick="imgclick('gunshot');" border="5" /> <img src="imagelibrary/searoomthumb.jpg" onclick="imgclick('searoom');" border="5" /> <img src="imagelibrary/smokethumb.jpg" onclick="imgclick('smoke');" border="5" /> <br> <a href='#' id='linkimg'><img src="imagelibrary/dazzlebig.jpg" id="bigimg" width="320" border="0" /></a> </body> <script type="text/javascript"> <!-- image1 = new Image(); … | |
Re: its a [url=http://digitarald.de/project/squeezebox/]SQueezeBox[/url](css/javascript) menu, very similar effects can be done in straight css, This is a poor menu implementation, squeezebox supports dynamic sizing by default and they should have used it, if you reduce the window to a part screen, the entire active part of the menu, pushes offscreen right … | |
Re: the links is Wrong, the href is invalid[code=html]<a href="#" onclick="password()">Password</a>[/code]and you arent really going to have a password in clear in the file are you? | |
Re: IE sometimes(grin) needs a src parameter to understand the location. [code=html]<object id="sound_lock" type="audio/x-wav" class="embedded" data="sounds/iphone/system/iphone_sound_lock.wav" /> <param name="autostart" value="false" /> <param name="src" value="sounds/iphone/system/iphone_sound_lock.wav" /> </object>[/code]Ie sometimes need help to find its bum |
The End.