Tuesday, December 14, 2010

Multiple instances of JQuery UI dialogs on a page

<a href="#" onclick="jQuery('#dialog1').dialog('open'); return false">Case 1 link</a>
<a href="#" onclick="jQuery('#dialog2').dialog('open'); return false">Case 2 link</a>

<div id="dialog1" title="Title 1">
<p>Body 1</p>
</div>

<div id="dialog2" title="Title 2">
<p>Body 2</p>
</div>

<!--Javascript code-->
<script type="text/javascript">

jQuery(document).ready(function() {
$([1, 2]).each(function() {
var id= this;
jQuery('#dialog' + id).dialog({
bgiframe: true, autoOpen: false, height: 300, modal: true
});
});
});

</script>
<!--EOF:Javascript code-->

Saturday, October 23, 2010

Parameters for Opening PDF Files

http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters_v9.pdf

Wednesday, October 6, 2010

Tuesday, October 5, 2010

XAMPP - Portable Web Server-HOW TO

http://www.pendriveapps.com/xampp-portable-web-server/

Saturday, September 25, 2010

Drupalizing - Drupal 6 Imprezz theme

Our next project will be "drupalizing", a service for design and porting free and commercial themes to drupal.

We have prepared Wordpress Imprezz theme.

Drupalizing will be live soon at http://www.drupalizing.com so stay tunned...

Download
Drupal Imprezz theme (.zip)

All material used is based on GPL and is publish under GPL.

Drupalizers are "Stavros Kounis" and "George Tsopouridis"

Friday, August 27, 2010

jQuery Cycle Plugin

The jQuery Cycle Plugin is a slideshow plugin that supports many different types of transition effects. It supports pause-on-hover, auto-stop, auto-fit, before/after callbacks, click triggers and much more. It also supports, but does not require, the Metadata Plugin and the Easing Plugin.

Monday, August 2, 2010

http://www.jsfiddle.net

http://www.jsfiddle.net

Monday, June 7, 2010

Oscommerce email subject line utf-8 encoded

In includes/classes/email.php (both of them, there's one in admin/includes/classes/ too) look for the following:

1. Just before this:

if (EMAIL_TRANSPORT == 'smtp') {
return mail(...);
} else {
return mail(...);
}

add the line:
$subject = '=?utf-8?B?' . base64_encode($subject) . '?=';


2.

ADD:
$to_name = '=?utf-8?B?' . base64_encode($to_name) . '?=';
$from_name = '=?utf-8?B?' . base64_encode($from_name) . '?=';

BEFORE:
$to = (($to_name != '') ? '"' . $to_name . '" <' . $to_addr . '>' : $to_addr);
$from = (($from_name != '') ? '"' . $from_name . '" <' . $from_addr . '>' : $from_addr);