document.body.style.overflow=”hidden”; and document.body.style.overflow=”visible”;
Category Archives: Programming
display an object inf javascript
Here’s how to show the contents of a object in Javascript function concatObject(obj) { str=”; for(prop in obj) { str+=prop + ” value :”+ obj[prop]+”\n”; } return(str); }
Multiple CSS Background Images
One of the biggest annoyances with CSS is the inability to apply more than one background image to a box. I’m currently working on a site that is in particular need of this. The only way to tackle it, at the moment, is to throw an ass-load of span or div tags in the mix …
Easy Display Switch with CSS and jQuery
Today, I would like to go over a quick and simple way to allow your users to switch page layouts by using CSS and jQuery.
Celebrating / eortologio GREEK
#Celebrating their name’s day: feedUrl = “http://eortologio.gr/rss/si_el.xml” #today #feedUrl = “http://eortologio.gr/rss/si_av_el.xml” #today – tomorrow #feedUrl = “http://eortologio.gr/rss/si_av_me_el.xml” #today – tomorrow – the day after tomorrow
Quotes in mysql queries – security issue
Remember to check numeric data as well. If an application generates a query such as SELECT * FROM table WHERE ID=234 when a user enters the value 234,the user can enter the value 234 OR 1=1 to cause the application to generate the query SELECT * FROM table WHERE ID=234 OR 1=1.As a result, the …