2,295 Posted Topics

Member Avatar for Heinz Stapff

complete code required for one of the mavens to be able to point and fix, those three lines are not enough

Member Avatar for diafol
0
177
Member Avatar for raq_0619

[code=css]@media print { .dontprint { display:none; } } @media screen { .dontshow { display:none; } }[/code]then anything you wish not to print, at the 'dontprint' class to eg [code=html]<span> inline </span> <div class='header'>menu stuff</div> <!-- becomes --> <div class='header dontprint'>menu stuff</div>[/code]I like dontprint, its a descriptive name css @media types …

Member Avatar for fxm
0
425
Member Avatar for Roses89
Member Avatar for Roses89
0
161
Member Avatar for ShArKss

investigate the html <label> tag, will make your input forms more user friendly, by providing the stardard clickable-text that activates the radio button [code=html]<script type='text/javascript'> function show(sec) { document.getElementById('sec0').style.display='none'; document.getElementById('sec1').style.display='none'; document.getElementById('sec2').style.display='none'; document.getElementById('sec3').style.display='none'; document.getElementById(sec).style.display='block'; } </script> Section:<br> |<input type='radio' name='section' id='section1' value='section1' onclick="show('sec1');"><label for='section1'> Section 1</label>| |<input type='radio' name='section' id='section2' value='section2' …

Member Avatar for ShArKss
0
110
Member Avatar for samsons17

designer's solution is correct, for more than one reason, importantly,, php will parse dQuoted text for variables and replace them with the value [icode]echo "i want $breakfast";[/icode] will render as [icode]I want BACON[/icode] single quotes wil not parse the variables and of course,,, WoNt WoRk

Member Avatar for Designer_101
0
135
Member Avatar for jralexander137

code ? to make sure, but, <base> the href that relative urls start from, easiest fix is kill the base and set the proper url to the menu include

Member Avatar for almostbob
0
98
Member Avatar for Elieson

It is not a drop down, or a popup, it is a layer in the page something like[code=html]<script type="text/javascript"> <!-- (document.getElementById) ? dom = true : dom = false; function hideIt(layer) { if (dom) {document.getElementById(layer).style.visibility='hidden';} if (document.layers) {document.layers[layer].visibility='hide';} } function showIt() { if (dom) {document.getElementById(layer).style.visibility='visible';} if (document.layers) {document.layers[layer].visibility='show';} } --></script> …

Member Avatar for rajarajan2017
0
122
Member Avatar for star_lavender

populate a select box from zero to the maximum value for the question stored in the database demo thought process, not code read max_value from database for $I < max value echo <option value=$i>$i</option> $I++ JUST THOUGHT PROCESS NOT EXPANDED TO ANY USEABLE CODE

Member Avatar for ancriz03
0
97
Member Avatar for RisTar

yours [icode]<input type="text" name"CardHolderName"[/icode] mine [icode]<input type='text' name='CardHolderName'[/icode] ??

Member Avatar for almostbob
0
216
Member Avatar for absticles

margins, padding, doesnt work try position relative to/from something fixed (in this example the bottom of my-login-bar) something to try my-login-bar is set for dimensions and position, elements inside my-login-bar can be set relative to my-login-bar [code=css].logoutimage { top:auto;bottom:3px;left:3px;right:auto;} .loggingout { top:auto;bottom:3px;left:auto;right:3px}[/code] one is set relative to left bottom, the …

Member Avatar for diafol
0
90
Member Avatar for raju_boini525

save the date in a timestamp, not some human-centric text date format, php date(); mysql now(); work on query [icode]if($date+(30*24*60*60) < date()) { /* kill the upgrade level */}[/icode] thought process only very obviously not valid code cron:noun; approximately the server equivalent of windows task scheduler

Member Avatar for SKANK!!!!!
0
120
Member Avatar for furqan219

adding to urtrivedi's answer if you want the sort to be alterable on the page, output the sorted query data, and there are many javascripts that perform live table sorts onclick of the header field, [url]http://javascript.internet.com/forms/sort-data-table.html[/url] is one

Member Avatar for SKANK!!!!!
0
165
Member Avatar for shaya4207

why not fix the background in place and have the content scroll over it[code=css] body {background:#ffffff url('img.png') no-repeat fixed 0 0;} [/code]

Member Avatar for MidiMagic
0
239
Member Avatar for ms_sws

dont suppose you might consider posting the problem code, for examination considerations... musings...[LIST] [*]If on a *nix server have you employed mod_gzip for any files html php js css larger than ~5k, remarkable difference [*]minified javascripts [*]stripped redundant whitespace from the files,[INDENT]indented code is pretty, but functionally stupid[/INDENT] [*]stripped inline …

Member Avatar for almostbob
0
95
Member Avatar for cloud09

CloudNine, Errors & error messages (if any) will depend on changes to server php versions, and will come when/if your host updates the version of php on the server, always without advising anybody before making the change. If you are aware of the possibility of error, and the likely cause(s), …

Member Avatar for cloud09
0
135
Member Avatar for brookebb

shineha's picked it inputs require a name, value pair to get any output 'id' is used to reference the tag in the dom, for javascript, but not on form submission no name, no value [icode]<select class=frmBg size="1" name='wheel model' id="wheel model">[/icode] a html instruction page on the <select> tag [B]([/B]w[B])([/B]sh[B])[/B]ould …

Member Avatar for almostbob
0
89
Member Avatar for soccerdevil221

its easy in php, perl, python any serverside script if your host includes a \cgi-bin folder off the root(the usual place for cgi scripts) [url=http://bignosebird.com/carchive/bnbform.shtml]Big Nosed Bird[/url] has a great, easy, internally documented, piece of cake to install and operate form handler freeware the forms generated by the link posted …

Member Avatar for diafol
0
136
Member Avatar for camthalion95

Along with everybody else ditch frontpage, the failure on other browsers is likely deliberate, MS => IE MS => Frontpage ditch all the fixed sizes, they dont work on anybody's browser except yours current best practice is em and % for screen layout not px

Member Avatar for diafol
0
110
Member Avatar for ismael ahm@d

table design seems wrong as a transaction table there should be no totals as a totals table there should be no transactions there is no indexed column to link it to the customer table what are you actually trying to accomplish

Member Avatar for ismael ahm@d
0
92
Member Avatar for Pleasant Day

ignoring all the javascript BS [code=html]<html> <head> <style type='text/css'> input { background-color:transparent; } input.red { background-color:red; } input.blue { background-color:blue; } </style> </head> <body> <input type='text'> <input class='red' type='text'> <input class='blue' type='text'> </body> </html>[/code] css, cascading style sheets, let you set the style of the page javascript is more used …

Member Avatar for Pleasant Day
0
413
Member Avatar for kipl20

look at your code in the post above, color highlighting shows the problems you have doublequotes inside double quotes, does not open a new set of quotes, closes first set "open.("closed"open)"closed replace the innner sets of dquotes with single quotes [code=html]<li>&gt; <a href="javascript:void(0);" onclick="function("mc");" id="mc">Consultancy</a></li>[/code] looks better as [code=html]<li>&gt; <a …

Member Avatar for Lee Turner
0
481
Member Avatar for baxterbaker
Member Avatar for AycheKay

google webmaster tools [url]https://www.google.com/webmasters/tools/dashboard[/url] get webmaster account verify site ownership then you can set the chosen domain name to index the site under

Member Avatar for seodomainnames
0
133
Member Avatar for nadskap2
Member Avatar for yodarrell

[code]javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}[/code] without all the bullshit escape codes whch are not neccessary and may be an attempt to hide malware scripts

Member Avatar for almostbob
0
90
Member Avatar for muralibobby2015

if not logged in redirect to login page after login, redirect to $_SERVER['http_referer']; whatever page sent the user to the login page

Member Avatar for Girish24041984
0
250
Member Avatar for pjrey

[code=php]<?php $thisfile = substr($_SERVER['REQUEST_URI'], strrpos($_SERVER['REQUEST_URI'], '/') + 1); if ($thisfile == 'index.php') { echo 'Home'; } else{ echo '<a href="index.php">Home</a>'; } if ($thisfile == 'one.php') { echo 'menu1'; } else{ echo '<a href="one.php">menu1</a>'; } if ($thisfile == 'two.php') { echo 'menu2'; } else{ echo '<a href="two.php">menu</a>'; } /* etc */ …

Member Avatar for diafol
0
218
Member Avatar for liamfriel

that css is good except I always [icode].footer {bottom:0;left:0,top:auto;right:auto;width:100%;height:xxx;background:url('image.png') repeat-x;}[/icode] for footer positioning, seems to work fairly often ** My twisted mind at work ** what have you done in outer elements like <body> and <html> that may cause screwups margins and paddings inherit, so a padding on the body, …

Member Avatar for diafol
0
172
Member Avatar for dcgiann

the first part of your question negates the possibility of your accomplishing the second part PHP is a script language, a server language that enables web pages to be dynamic, to generate content in response to user actions, in its simplest incarnation less simple incarnations its my booking site in …

Member Avatar for rajarajan2017
0
81
Member Avatar for GrahamN

read any of the threads, Tables Vs CSS tables do not display well anywhere fixed pixel sizes do not display well anywhere inline styles do not display well anywhere, the code is out of whack, start and end tags are misaligned You have a lone </td> outside of the <tbody>, …

Member Avatar for almostbob
0
94
Member Avatar for The Dude
Member Avatar for kaninelupus
-1
3K
Member Avatar for drfarzad

either edit the style, and [indent]change the z-index as noted to put the menu in front of the slideshow, [/indent]or [indent]change the location of the div containing the .swf top: ; left: ; to put it below the menu in the page[/indent][B]note[/B]::; those numbers should be dimensioned (as px pt …

Member Avatar for kk6terry
0
91
Member Avatar for Kaycy

I like tables for tabular data, its much easier to sort a table by column to change the view of data, by name size, address, etc. but that is for data that is tables, the layout of my tables, the way they look, is set in css,

Member Avatar for Kaycy
0
177
Member Avatar for niths
Member Avatar for pjrey

[code=php]<?php /* stats.php creates csv text file that can be imported into excell or other spreadsheet text file format can be made to match whatever in the fput() line requires file 'log.csv' or whatever,, chmod writable in subfolder 'logfiles' filenames can be altered in the line defining $file. can be …

Member Avatar for almostbob
0
118
Member Avatar for speedy94519

learn html and you can code in anything learn webdreamer, and you are limited to webdreamer, useless

Member Avatar for colweb
0
122
Member Avatar for sbronson37

more information, 'out of whack' is not a term recognized by IDtenT error reporting nor can we see this mysterious website to which there has been no link posted

Member Avatar for sbronson37
0
79
Member Avatar for nonshatter

of course it doesnt work, language='javascript' is deprecated that will fix much of it all that code above is the wrong color due to the unescaped quotes img src attributes arent quoted, failure could be due to something as simple as that putting browser into quirks mode get a code …

Member Avatar for almostbob
0
154
Member Avatar for bsewell
Member Avatar for almostbob
0
136
Member Avatar for Hidden_mistakes

have not debugged the code, hate javascript, mess it up badly could it be something simple like, the size of the array of images is x, but the images are image[0] to image [x-1] so the script is trying to display image[x] that does not exist and not displaying image[0] …

Member Avatar for almostbob
0
83
Member Avatar for Venom Rush

[quote=tanoru]How can people provide a solution when the code you've given doesn't do anything? [/quote]like this Venom, this may provide the solution without js BS[code=css].link { font-size:12px; font-weight:bold; color:#666666; text-decoration:none; text-align:center; cursor:pointer; } .link:hover { text-decoration:underline; } .imageHolder { width:236px; height:236px; background-color:#EBEBEB; text-align:left; } #overlay_white { display:none; float:left; position:absolute; margin:0; …

Member Avatar for Venom Rush
0
125
Member Avatar for andydeans

post the code , the real problem is easier to fix, than someones explanation of the problem

Member Avatar for almostbob
0
80
Member Avatar for The Dude

[QUOTE=Ancient Dragon;791057]never tried it (I don't think I have anyway) Cold leftover pizza[/QUOTE] like it vegemite (Australian toast spread)

Member Avatar for maydhyam
1
2K
Member Avatar for jm3044

try using the recommended dimensions ems and %, 1000px will push offscreen in part windows or small devices, 100% will not referring to the question asked, there will be conflict between the absolute positioning of the footer and the content, setting position from screen bottom may aleviate the issue, setting …

Member Avatar for jm3044
0
85
Member Avatar for ryy705

<!-- style out in the external stylesheet usually --> [code=css].con {height:300px;width100%;} .in {width:25%;height:100%;float:left;[/code][code=html] <div class='con'> <div class='in'><img src="image1"><br>description 1</div> <div class='in'><img src="image2"><br>description 2</div> <div class='in'><img src="image3"><br>description 3</div> <div class='in'><img src="image4"><br>description 4</div> </div> <div class='con'> <div class='in'><img src="image5"><br>description 5</div> <div class='in'><img src="image6"><br>description 6</div> <div class='in'><img src="image7"><br>description 7</div> <div class='in'><img src="image8"><br>description 8</div> …

Member Avatar for tanoru
0
110
Member Avatar for jazz_vill

line six [icode]while (($column = fgetcsv($file,1024," "))!== false)[/icode] tells the parser to separate coulmns at the space character which includes the comma as data [icode]while (($column = fgetcsv($file,1024,','))!== false)[/icode](comma) or [icode]while (($column = fgetcsv($file,1024))!== false)[/icode](default) should work reference [url]http://php.net/manual/en/function.fgetcsv.php[/url]

Member Avatar for almostbob
0
62
Member Avatar for aditya61

[icode]echo $_post['form_action']; [/icode] and make sure the 'submitted' value is what you expect $post['everything else'] is set to the form value, and the value is 'submit' 'Enter'(button label) I dunno could be something simple

Member Avatar for aditya61
0
84
Member Avatar for twilitegxa

write them to javascript variaqbles [code=php] <script type = 'text/javascript'> var hp=<?php echo $hp; > var ac1=<?php echo $acv1 ?> </script>[/code]this would be the perfect place to implement AJAX to update the database with the combat details

Member Avatar for almostbob
0
144
Member Avatar for pjrey

the filenames of files that are to be server-acted upon have to be altered ssi have to be .shtml php have to be .php so the href of links to those pages have to be altered but you only have to do it once the bonus is the same code …

Member Avatar for pjrey
0
280
Member Avatar for sas4u

set a session value, with appropriate timeouts for inactivity[code=php]<?php If (!isset($_session['loggedin'])) { /* the login form goes here */ } else { /* the "hello user how's the wife and kids" goes here */ } ?>[/code]set a cookie value to remember login details just a possiblity

Member Avatar for almostbob
0
69

The End.