Archive for the ‘Javascript’ Category

iframe, javascript and etc in Module Position

Sunday, March 28th, 2010

Module ANY HTML allows you to add iframes, javascript, youtube embed code and any HTML code in joomla module.
Requirement:
Joomla 1.5.X
Here’s how to use :
1. Download the Module ANY HTML here.
2. Go to Extensions –> Module Manager

3. Click New Button and chose module ANY HTML
4. Enable the module and Add any html tags (iframes [...]

>>read more

How to add a bookmark code in your high traffic website

Tuesday, August 18th, 2009

Here’s how to add a bookmark code in your high traffic website:
1. Place the following script into your section in the page you need to use it:
<script type="text/javascript">
function bookmark_us(url, title){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement(’a’);
elem.setAttribute(’href’,url);
elem.setAttribute(’title’,title);
[...]

>>read more

Change form action based on 2 select option

Monday, February 9th, 2009

The tutorial explains on how to change form action based on the 2 select option. The use of this code is for loading different pages using the submit function of the javascript (this.form.submit();) when one of the select option changes its value ( onchange=”changeAction(this.form,this.name);”). In the example below, the first select named range will load [...]

>>read more

Multibox Integration in Blogger Template

Saturday, October 18th, 2008

I already tried adding lightbox 2.04 in a blogger and it works perfect to my blog. Now i tried another type of lightbox and it is called multibox created by phatfusion and the latest version now is multibox version 1.3.1. This lightbox supports images, flash, video, mp3s, html.

>>read more

PNG transparency in IE6

Sunday, September 28th, 2008

Ways in fixing PNG transparency in IE 6:
1. Use of the IE PNG fix created by this site http://www.twinhelix.com/css/iepngfix/. This script use css declaration, supports <IMG SRC=””> image elements and background PNG images.

>>read more

Adding Javascript, PHP, CSS in Joomla 1.5 content is made easy

Thursday, September 18th, 2008

To enable you to place Javascript, PHP and CSS right in to your content! Not only in your articles, but also in sections, categories, modules, components, META tags, etc. Click the link below to visit the Joomla plugins.

>>read more

My slideshow mootools.js is conflict with the prebuilt joomla 1.5 mootools.js

Wednesday, September 17th, 2008

If you’re having problem with mootools.js here is the fix.
Put the code below in your custom joomla template:

>>read more

Lightbox v2.04 Integration with Blogger Template

Friday, August 3rd, 2007

I’m using free Blogger account and i was trying to post my edited photo that i created a year ago. And i was looking for a good lightbox to add in my Blogger Template. Here is how I create a simple Photolog using Blogger.com, Photobucket.com and Lightbox v2.04. I was using photobucket.com image for some [...]

>>read more

How to Limit the Number of Characters in a Textarea witch Character Counter

Tuesday, February 27th, 2007

I found a good javascript to limit the character in a textarea and it is very cool because it has a character counter.
Here is the code:
put this between your <head>…. </head>:

>>read more