430 Posted Topics

Member Avatar for gertails

Why would you want to do this? What does it even mean? [url]http://en.wikipedia.org/wiki/Strikethrough[/url] sais it can be used to emphasize words, but if you do so you're stupid (and nobody will understand it).

Member Avatar for Ezzaral
-1
675
Member Avatar for hajjo
Member Avatar for Danny159

As Danny159 said, line 7 doesn't make too much sense (it doesn't do anything, really). You could remove the else; [CODE] if($_GET['show'] != NULL) $_SESSION['show'] = $_GET['show']; elseif($_SESSION['show'] == NULL) $_SESSION['show'] = '16'; $show = $_SESSION['show']; [/CODE]

Member Avatar for twiss
0
136
Member Avatar for Dannis86

To me it's a bit strange what DW has come up with. Anyhoo, you should start with something like this: [CODE] <div id="container"> <div id="header"> <div id="logo"> </div> <div id="menu"> menu items </div> </div> <div id="content"> <h1>Hi</hi> <p>Your text</p> </div> <div id="footer"> </div> </div> [/CODE] And then try to style …

Member Avatar for Dannis86
0
114
Member Avatar for krabz01

Why would you want to create one and not use one someone else made? To learn from it, or because you need one?

Member Avatar for diafol
0
114
Member Avatar for iranmovie

You're putting the result in $query on line 19, which is a bit strange to me. It shouldn't break things, but it's more clear if you rename that variable to $result.

Member Avatar for dhruv_arora
0
298
Member Avatar for anandhikrishnan

Well, that's quite stupid code you have there, sorry to say. Is it correct that you just want 4 orange lines? If so, and if you don't want to use an image (which I would find better), try something more like this: [CODE=HTML] <div id="lines"> <div></div> <div></div> <div></div> <div></div> </div> …

Member Avatar for hericles
0
83
Member Avatar for extemer

*Which :P There is [icode]<input type="file" />[/icode] and as for PHP, there's a good page on this in the PHP manual: [url]http://www.php.net/manual/en/features.file-upload.php[/url].

Member Avatar for karthik_ppts
0
100
Member Avatar for cemali_ys

ActiveXObject is Microsoft proprietary. Google [url=http://code.google.com/chrome/extensions/faq.html#faq-dev-08]suggests[/url] [url=http://dev.w3.org/html5/webstorage/]localStorage[/url] and [url=http://dev.w3.org/html5/webdatabase/]Web SQL[/url]. The W3C recommends [url=http://www.w3.org/TR/IndexedDB/]IndexedDB[/url] rather than Web SQL (SQLite), Chrome supports it through webkitIndexedDB. Hope this helps.

Member Avatar for twiss
0
939
Member Avatar for katties

If an image contains meaning, such as text, or is placed inside a paragraph to make something clear (i.e., it doesn't contain decoration) I would think it's better to use an img tag.

Member Avatar for twiss
0
121
Member Avatar for abhi10kumar
Member Avatar for twiss
0
128
Member Avatar for Xufyan
Member Avatar for twiss
0
120
Member Avatar for naru vaishnaw

If you give it an ID, in javascript you could do something like [CODE=Javascript] var iframe = document.getElementById('thatId'); iframe.width = '1234px'; iframe.height = '666px'; [/CODE] But I'm not sure if that's exactly what you want.

Member Avatar for twiss
0
71
Member Avatar for Palanii
Member Avatar for MDanz

[icode]ele[/icode] will, as the name correctly suggests, be an element, not a string. To get it's value attribute, use [icode]ele.value[/icode].

Member Avatar for karthik_ppts
0
91
Member Avatar for apanimesh061

Yes, you have to search for the cookie you want inside all of the cookies you have.

Member Avatar for twiss
0
109
Member Avatar for dhruv_arora
Member Avatar for TheNNS

I don't know those HTML5 videos too well, but I believe they have an autoload attribute? You need to remove it. Or set it to false. Or something. And as for the window closing, does the video object not have a stop() or something method? If so, call it :) …

Member Avatar for iamthwee
0
166
Member Avatar for apanimesh061

The problem is the following: - You click on the image - The first event occurs - An alert displays - You can't click again (doubleclick), because there's an alert on your screen. As for onkeydown, it only works for certain elements (input/textarea/document).

Member Avatar for Troy III
0
98
Member Avatar for bipies
Member Avatar for ashiiiish

You need JS. If you're using jQuery, you could do something like this (if not, it's the same thing but it would take quite a bit more coding): [CODE] $('input:checkbox').click(function(){ $('input:checkbox:not(:checked)').attr('disabled', $('input:checkbox:checked').length >= 3 ? 'disabled' : ''); }); [/CODE]

Member Avatar for ashiiiish
0
129
Member Avatar for iau
Member Avatar for Dani

Yeah, it seems to be an international change. They changed the bar to this layout a while ago already, but it was white. Also they seem to have forgotten to change this on gmail, and the dropdown buttons ("more", and your name and settings if you're signed in) also turn …

Member Avatar for Speedo12
0
393
Member Avatar for vamshidhar66

This sounds more like a javascript question. Anyway, there's something known as search engines and they are very suited for answering it.

Member Avatar for vamshidhar66
0
59
Member Avatar for Dorar

W3schools is not [i]actually[/i] a good resource, it's just that everyone uses it. [url]http://htmldog.com/[/url] has much better HTML and CSS tutorials.

Member Avatar for twiss
0
2K
Member Avatar for navi17
Member Avatar for ton7io69

PHP is a backend language, you can't show anything with "only PHP". Could you explain why you would want this? And what the goal is?

Member Avatar for diafol
0
84
Member Avatar for hajjo

There's an example [url=http://css-tricks.com/examples/FixedHeaderTable/example-one.php]here[/url].

Member Avatar for hajjo
0
218
Member Avatar for divyakrishnan

Did you try to put the following at line 23: [CODE] document.getElementById('t').focus(); [/CODE]

Member Avatar for divyakrishnan
0
106
Member Avatar for jamojo

Quick fix: just add the two other hides after the show. For example: [CODE] onclick="javascript:showHide('row1_1',0);javascript:showHide('row1_2',1);javascript:showHide('row1_3',1)" [/CODE]

Member Avatar for Airshow
0
2K
Member Avatar for adige72

As far as I understand the question, you want to build up something like this: [CODE=SQL] SELECT * FROM `posts` WHERE `color` = 'blue' OR .... [/CODE]

Member Avatar for ko ko
0
1K
Member Avatar for Gearspro

As a start, you need to give them [icode]display:inline-block;[/icode] and a width (probably 150px), and the parent should have [icode]text-align:center;[/icode].

Member Avatar for drjohn
0
92
Member Avatar for stilts
Member Avatar for yumyam09

[url]http://stackoverflow.com/questions/646032/whats-the-best-javascript-tutorial[/url]

Member Avatar for twiss
-1
156
Member Avatar for 68thorby68

I don't really understand the logic in both of the snippets, but anyway, there's a function in php that "joins" an array to a string: [icode]implode[/icode].

Member Avatar for twiss
0
139
Member Avatar for silvercats

Please use code tags and don't put the (entire) question in the title. Do you mean to ask how to read XML and put it in a table? If so, do you want to use PHP or Javascript for that?

Member Avatar for silvercats
0
121
Member Avatar for ofir0803

You'll need to - loop through all the rows - do something with a counter (+= .5, or just ++, whatever you prefer) - figure if you need to paint it :)

Member Avatar for twiss
0
1K
Member Avatar for serdas

If you do something similar to this: [CODE] $my_something = new Something(); $my_something->db = new Database_class_thing(); [/CODE] You can than access [icode]$this->db[/icode] from within the class. I.e, it assumes you have a database class that has a function that takes an array and puts it into the database. You could …

Member Avatar for twiss
0
124
Member Avatar for BitBlt

Well, I think it's a good idea to congratulate people on their birthday if you have it, but a calendar with all of those birthdays... doesn't seem too useful to me.

Member Avatar for twiss
0
173
Member Avatar for tadisaus2

[url]http://perishablepress.com/press/2008/04/20/how-to-block-proxy-servers-via-htaccess/[/url]?

Member Avatar for porilonin
0
129
Member Avatar for geekme
Member Avatar for geekme
0
137
Member Avatar for phoenx

Why did you create three threads with nothing but a bunch of code and mark them all solved?

Member Avatar for IIM
0
268
Member Avatar for weeon

- Could you put your code in code tags? - You forgot a $ on line 3. - There's a MAX function in MySQL. - You could also do something like this: [icode]if($max < $total) $max = $total;[/icode]. Or change $total to the var you want the highest of.

Member Avatar for twiss
0
112
Member Avatar for jrotunda85

I think you should look for or create a container that's always around the maps thing, and give CSS stuff to #that_id .container. Or something like that. Do you have it live somewhere?

Member Avatar for jrotunda85
0
213
Member Avatar for haimz

There's a nice one there: [url]http://daringfireball.net/2010/07/improved_regex_for_matching_urls[/url]

Member Avatar for diafol
0
359
Member Avatar for heshanm

Even if you have two tables, you should have all data in only one of the two (so don't put something in both).

Member Avatar for heshanm
0
192
Member Avatar for ppetree
Member Avatar for aDevS
0
271
Member Avatar for rotten69

True, PHP makes you want to rewrite your code all the time. Writing or using an Active Record thing also really helps IMO, it save you from writing get_this() and edit_this() and remove_this() and get_another_thing(), etcetera, for every database table you create.

Member Avatar for rotten69
0
517
Member Avatar for shaya4207
Member Avatar for shaya4207
0
202
Member Avatar for Cake2011

Uhm, and how did you think that was going to be a tell a friend script? The only thing it does is closing the window.

Member Avatar for twiss
0
290

The End.