Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-13-2010, 12:33 AM   PM User | #1
semiSkim
Regular Coder

 
Join Date: Feb 2010
Posts: 104
Thanks: 5
Thanked 3 Times in 3 Posts
semiSkim is an unknown quantity at this point
php naming variables in function call

In javascript you can call a function in the method shown below:

Code:
animate_JD({
	objects:        name+'Content	    |'+name+'               |'+name+'           |'+name+'           |'+name,	
	properties:    "opacity		    |height	                |left                   |top                  |width",
	start:            "1			    |"+startHeight+"      |"+startLeft+"      |"+startTop+"     |"+startWidth,
	end:             "0			    |0                         |"+endLeft+"       |"+endTop+"       |0",
	extension:     "			    |px                        |px                   |px                    |px",
	interval:        "40			    |20                        |20                   |20                   |20",
	frames:         "5			    |15                        |15                   |15                   |16",
	effect:          "speed",
	wait:            "0			    |0	                        |-1                    |-2                   |-3",
	onComplete:  "document.getElementById('"+name+"Content').style.display = 'none';||||checkDestroy_JD(\'"+name+"\',\'"+destroy+"\')",
	});		

function animate_JD(params){
//stuff here
}
So how can you do this in php???

Thanks

P.S. sorry can't get the code to align properly....you get the idea though.

________________________
FIGURED IT OUT

Last edited by semiSkim; 03-13-2010 at 01:07 AM..
semiSkim is offline   Reply With Quote
Reply

Bookmarks

Tags
call, function, javascript, php, variables

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:53 PM.


Advertisement
Log in to turn off these ads.