TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-09-2008, 10:07 PM   #1 (permalink)
The Addict
Upcoming Programmer Top Contributor 
 
Rendair's Avatar
 
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
Rendair is on a distinguished road
Default Framework

Hey all

Over the past couple weeks i have been working on a JavaScript framework. I always wanted to give it a try and i have had good results so far, but a lot more work to do.

At the moment it only currently works with FireFox, but i am sorting it out to work with all.

One of the best things about the framework is that it allows you to send Ajax requests easily without knowing a lot about it.

Infact if you want to send a form say with my framework you simply use the following code.

PHP Code:
Framework.Ajax.get(document.getElementById('myForm')) 
Using that will then automatically send all all the fields in that form to a page you wish.

This code can be extended though

PHP Code:
Framework.Ajax.get(document.getElementById('myForm'),function(){
  
url "process.php";
  
type "GET";
}
); 
Other such features are in development like "Pop ups", but some other things like Sliding Divs.

PHP Code:
    Framework.Effects.add('box''shrink',function()
        {
        
            
height=500;     //height of the div
            
speed=10;         //I suggest between 5 - 20
        
        
}
    ); 
The function parameter allows you to set some variables like speed, height, width and so on.

PHP Code:
add('divId''type',function(){}); 
Things within the function() will be run aswell so this allows you to perform other things for the same object.

ANY suggestions on other features that i could add to the Framework would be great or if anyone is interested in helping with it. Please let me know

You can view 2 of the features in use here


__________________
www.jooney.co.uk - the online portfolio
Send a message via MSN to Rendair
Rendair is offline  
Reply With Quote
Old 03-09-2008, 10:28 PM   #2 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

Dam you IE haters!

You are right, it really doesn't like IE Good luck though and when it's working in IE, give me a yell - I'm always looking for new frameworks to play with

Alan
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:02 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design