Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 1.30 seconds.
Search: Posts Made By: itsallkizza
Forum: General web building 05-24-2011, 12:48 AM
Replies: 1
Views: 1,373
Posted By itsallkizza
PHP, how to tell if user liked the current...

PHP, how to tell if user liked the current page/app:

$USER_LIKED_PAGE = false;
try
{
$signed_request = $_REQUEST['signed_request'];
list($encoded_sig, $payload) = explode('.',...
Forum: DOM and JSON scripting 11-02-2010, 10:39 PM
Replies: 6
Views: 3,283
Posted By itsallkizza
Or if you're picky and want to use DOM methods...

Or if you're picky and want to use DOM methods rather than innerHTML:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...
Forum: DOM and JSON scripting 11-02-2010, 10:23 PM
Replies: 6
Views: 3,283
Posted By itsallkizza
Then: <!DOCTYPE html PUBLIC "-//W3C//DTD...

Then:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta...
Forum: DOM and JSON scripting 11-02-2010, 10:21 PM
Replies: 6
Views: 3,283
Posted By itsallkizza
Without any framework: <!DOCTYPE html PUBLIC...

Without any framework:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">...
Forum: DOM and JSON scripting 11-02-2010, 10:11 PM
Replies: 6
Views: 3,283
Posted By itsallkizza
How bout this: <!DOCTYPE html PUBLIC...

How bout this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta...
Forum: JavaScript programming 11-02-2010, 09:49 PM
Replies: 3
Views: 1,501
Posted By itsallkizza
can you possibly mock up a screenshot (maybe...

can you possibly mock up a screenshot (maybe paint or photoshop it) of what you're describing. then i can be of more help.
Forum: HTML & CSS 10-21-2010, 02:44 AM
Replies: 2
Views: 753
Posted By itsallkizza
You could do something like this: ...

You could do something like this:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">...
Forum: JavaScript programming 10-21-2010, 02:22 AM
Replies: 3
Views: 1,501
Posted By itsallkizza
I can help you out with that, it's not too hard. ...

I can help you out with that, it's not too hard.

Send me a link to a page with your navigation already cut up and coded in html.
Forum: HTML & CSS 08-16-2010, 08:39 AM
Replies: 2
Views: 1,977
Posted By itsallkizza
I can help you out with that but I need a link to...

I can help you out with that but I need a link to your current page.

I don't always have time to check these forums so if you need quick help, email me (volcomstoner2689@gmail.com).
Forum: JavaScript programming 02-01-2010, 03:31 PM
Replies: 11
Views: 1,842
Posted By itsallkizza
Here's a slightly better method. Notice the...

Here's a slightly better method. Notice the <form> onsubmit handler and the removal of the onclick handler on the submit button:

<script type="text/javascript">

function confSubmit()
{...
Forum: JavaScript programming 02-01-2010, 01:47 AM
Replies: 11
Views: 1,842
Posted By itsallkizza
It's best to set a form onsubmit handler (I'll...

It's best to set a form onsubmit handler (I'll give you an example tomorrow), but you should be able to fix your current code simply by adding the red text to the following line:

<form...
Forum: JavaScript programming 01-31-2010, 06:00 AM
Replies: 11
Views: 1,842
Posted By itsallkizza
It's late right now so I can't give you a...

It's late right now so I can't give you a detailed response. If you still need help with this, feel free to send me an email to remind me (address in sig below) and I'll get back to you in the next...
Forum: JavaScript programming 01-28-2010, 05:07 PM
Replies: 9
Views: 3,966
Posted By itsallkizza
The solution lies in Old Pedant's previous post.

The solution lies in Old Pedant's previous post.
Forum: JavaScript programming 01-28-2010, 03:21 AM
Replies: 9
Views: 3,966
Posted By itsallkizza
Old Pedant made it easy for you then :) Should...

Old Pedant made it easy for you then :) Should take you 2 min instead of 30 to create that function.

However keep in mind that if you want to simply use XML as an API format, then you'll want to...
Forum: JavaScript programming 01-28-2010, 03:18 AM
Replies: 6
Views: 4,672
Posted By itsallkizza
you just had to outshow me didn't you ;)

you just had to outshow me didn't you ;)
Forum: JavaScript programming 01-27-2010, 08:17 PM
Replies: 3
Views: 956
Posted By itsallkizza
Your original code actually works fine by itself...

Your original code actually works fine by itself (see code below). There's probably a conflict with the "Coda Slider" plugin you mentioned, could easily have something to do with returning false on...
Forum: JavaScript programming 01-27-2010, 08:07 PM
Replies: 9
Views: 3,966
Posted By itsallkizza
This isn't bulletproof, but if you were to assume...

This isn't bulletproof, but if you were to assume the the longest escape code isn't greater than 6 characters in length AND you will never encounter a case where an actual ampersand is followed by an...
Forum: JavaScript programming 01-27-2010, 07:18 PM
Replies: 11
Views: 1,842
Posted By itsallkizza
Absolutely possible. In the above case, the...

Absolutely possible. In the above case, the quickest way to do what you want is to simply apply an onsubmit handler to your form there. Make sure it's set to return a boolean, then handle your...
Forum: JavaScript programming 01-27-2010, 07:11 PM
Replies: 6
Views: 4,672
Posted By itsallkizza
Try this: var name1 = "Bob1"; var name2 =...

Try this:

var name1 = "Bob1";
var name2 = "Bob";

function isValidFirstName(fn)
{
var re = new RegExp("[^a-zA-Z]");
return !re.test(fn);
}
Forum: JavaScript programming 01-22-2010, 09:14 PM
Replies: 12
Views: 1,516
Posted By itsallkizza
To be frank when I first wrote that code I was...

To be frank when I first wrote that code I was coding for grayscale only, or at most simply the lightening/darkening of colors. If I have time I'll look into the math necessary to make it tween for...
Forum: JavaScript programming 01-22-2010, 07:42 PM
Replies: 12
Views: 1,516
Posted By itsallkizza
If you have a time constraint and this is a site...

If you have a time constraint and this is a site for $$ or your resume (as opposed to just messing around for your own learning/enjoyment) then I strongly suggest jQuery. You can do what you ask in a...
Forum: JavaScript programming 01-22-2010, 05:20 PM
Replies: 12
Views: 1,516
Posted By itsallkizza
Well, I built mine in such a way that it could be...

Well, I built mine in such a way that it could be used on multiple elements on a given page without causing any conflict. That's why I used the object-oriented type of code (ie the "this" and all...
Forum: JavaScript programming 01-22-2010, 05:09 PM
Replies: 12
Views: 1,516
Posted By itsallkizza
It would take some serious testing for me to...

It would take some serious testing for me to figure out exactly how IE handles your code and why it's slower. It's not that I don't want to help out, but I'm at work and it's Friday so it's busy :)
...
Forum: JavaScript programming 01-22-2010, 04:49 PM
Replies: 12
Views: 1,516
Posted By itsallkizza
Well I could go on and on for pages about scoping...

Well I could go on and on for pages about scoping variables and creating instances of objects based on a function (JS's version of a class). Though strictly speaking JS isn't an object-oriented...
Forum: JavaScript programming 01-22-2010, 04:30 PM
Replies: 12
Views: 1,516
Posted By itsallkizza
Just to head off the inevitable replies to this...

Just to head off the inevitable replies to this post, your html and JS structure could use a little work (not going to get into the methods yet)...

1) You need to close every element you open in...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 08:55 AM.