Category Archives: coding

JavaScript version of var_dump

[et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] <script> function dump(obj) { var out = ”; for (var i in obj) { out += i + “: ” + obj[i] + “\n”; } alert(out); } </script> // or, … Continue reading

Posted in coding | Tagged , , | Comments Off on JavaScript version of var_dump

Divi Theme: Add Copyright & Add Social Icons to Footer

[et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] Here’re a couple of Divi Theme tips & tricks: [/et_pb_text][et_pb_text admin_label=”Text – Code – CSS Color Footer Social Media Icons on :hover” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid” module_class=”ourLilCodeSnippet”] /* CSS … Continue reading

Posted in coding | Tagged , , , | Comments Off on Divi Theme: Add Copyright & Add Social Icons to Footer

MailTo Syntax

MailTo Syntax. The MailTo command can do more than enter a single e-mail address in the “Send To” field while activating your e-mail program. It can also: Feature Syntax Address message to multiple recipients , (comma separating e-mail addresses) Add … Continue reading

Posted in coding, cool, Hacks, HTML | Tagged , , , | Comments Off on MailTo Syntax

Let’s make the web faster – Google Code

Let’s make the web faster – Google Code. Some choice excerpts: CSS: Using every declaration just once Using every CSS declaration only once is an effective way to reduce file size of style sheets. It’s not a trivial optimization technique … Continue reading

Posted in Browsers, coding, javascript | Tagged , , , , | Comments Off on Let’s make the web faster – Google Code

Tutorials – Servers > Telnet as a Diagnostic Aid

I don’t know about you, but I can use a reefresher now and again for things like surfing with Telnet to determine if 301 re-directs work… In a nutshell, you’ll want something like this: telnet eastvalley.freedomblogging.com 80[cr] Trying 69.25.233.100… Connected … Continue reading

Posted in coding, Hacks, nifty, tools, Unix | Comments Off on Tutorials – Servers > Telnet as a Diagnostic Aid

CSS Animation – iPhone Safari

Surfin’ Safari – The WebKit Blog > CSS Animation Something about a picture being worth a thousand words… Actually, it’s an animation, so you’d need a browser that supports it, and the iPhone’s Safari browser is the only ‘released’ browser … Continue reading

Posted in coding | Comments Off on CSS Animation – iPhone Safari

Unicode and Character Sets plus MySQL Latin1 to UTF-8 Conversion

I knew most of this… but alas, not all of it… BTW, here’s a relevant ThinkGeek.com present a friend gave me: I found this interesting article on How To Change An Early WPMU Database from latin1 to utf8 Encoding, which … Continue reading

Posted in coding | Tagged , , , , , , , | Comments Off on Unicode and Character Sets plus MySQL Latin1 to UTF-8 Conversion

Hacking IE CSS: Underscore, Box Model ‘Voice Family’, & Star hacks

CSS Hacks Underscore Hack /* CSS hack for IE 6 and below */ .test { position: fixed; _position: absolute; } Voice Family (Box Family or Tantek Hack) /* CSS hack for IE 5.x */ .test { width: 500px; padding: 50px; … Continue reading

Posted in coding, Hacks | Comments Off on Hacking IE CSS: Underscore, Box Model ‘Voice Family’, & Star hacks

Even More Rounded Corners With CSS – Schillmania.com

Even More Rounded Corners With CSS – Schillmania.com And here’s the actual implementation and notes: http://www.schillmania.com/projects/dialog2/ http://www.schillmania.com/projects/dialog2/download/20070214-even-more-rounded-corners.zip

Posted in coding | Tagged , , | Comments Off on Even More Rounded Corners With CSS – Schillmania.com

JavaScript Get inner text –

function GetInnerText(elem) { return (typeof(elem.innerText) != 'undefined') ? elem.innerText : (typeof(elem.textContent) != 'undefined') ? elem.textContent : elem.innerHTML.replace(/]+>/g, ''); } Get inner text – Karamasoft Support Forums.

Posted in coding, javascript | Comments Off on JavaScript Get inner text –