Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 53
Search took 0.33 seconds.
Search: Posts Made By: bonecone
Forum: JavaScript programming 08-03-2012, 05:35 AM
Replies: 2
Views: 447
Posted By bonecone
I found the solution afterwords for both the PHP...

I found the solution afterwords for both the PHP and Javascript.

For javascript:



// declare function
function test()
{
alert("inside test");
Forum: JavaScript programming 08-02-2012, 04:27 AM
Replies: 2
Views: 447
Posted By bonecone
Question calling a function based on a string value

I am using a selection statement in javascript to determine which function to call, based on a string value


if(task == "a")
a();

if(task == "b")
b();
Forum: JavaScript programming 04-02-2012, 12:56 AM
Replies: 1
Views: 335
Posted By bonecone
Question prevent text from being selected

I retrieve a list of links from a database using ajax, then I assign them to the innerHTML property of a div whose display property is set to "none" Then I set the display property to "display" to...
Forum: PHP 03-30-2012, 11:22 PM
Replies: 1
Views: 344
Posted By bonecone
Question retrieving data into a two-dimensional array

I want to retrieve my data into a two-dimensional array that I can navigate through with a foreach loop, and be able to add new fields to the array afterwords.

For example
...
Forum: HTML & CSS 12-10-2011, 02:42 PM
Replies: 1
Views: 247
Posted By bonecone
Question Using divs instead of table cells

I'm trying to create a page with a left sidebar that widens as needed, and a right content pane that expands to take up whatever space remains, and I'm trying to do it with two floating divs instead...
Forum: XML 11-07-2011, 11:35 PM
Replies: 0
Views: 1,113
Posted By bonecone
Question Google Calendar Events Feed

I'm looking for a way to display a list of events from my google calendar as a simple vertical list on my website. I've tried inserting the xml feed URL into feedburner but it fails to recognize the...
Forum: PHP 10-31-2011, 04:28 PM
Replies: 3
Views: 1,308
Posted By bonecone
Question mysql_select_db not working

I have a page, index.php, that includes a function.php file at the beginning which contains the following two functions


function g_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME,...
Forum: HTML & CSS 09-27-2011, 08:04 PM
Replies: 1
Views: 571
Posted By bonecone
Question problem with relative positioning and table cell height

See screenshot attached.

I want to set up a table so that error messages appear directly above specific table columns in the form of a div tag with a red background and the same width as the...
Forum: HTML & CSS 09-08-2011, 02:45 PM
Replies: 2
Views: 712
Posted By bonecone
Thanks! It only works in Firefox though. Guess...

Thanks! It only works in Firefox though. Guess I'll have to wait until the standard is supported in all browsers
Forum: HTML & CSS 09-02-2011, 12:46 PM
Replies: 2
Views: 712
Posted By bonecone
Question Creating a printable two-column website

I'm using the css screen media and the css print media to create two different versions of my website. I have a div that is visible to the screen but invisible when you print, and another div that is...
Forum: Ajax and Design 06-20-2011, 02:25 PM
Replies: 0
Views: 617
Posted By bonecone
Question Ajax not submitting parameters

I've set up a cross browser ajax submission function that receives two parameters, a task name and a "this" reference to the html object that called the function.

submitbutton_ajax('taskName',...
Forum: General web building 06-11-2011, 01:47 PM
Replies: 2
Views: 667
Posted By bonecone
Question Best software to use for classified listings

I'm looking for a software solution for people to submit classified ads to a website, choose from various display options, and have their payments processed. Like 68Classifieds...
Forum: MySQL 06-09-2011, 02:33 PM
Replies: 3
Views: 1,436
Posted By bonecone
Found a solution afterwords SELECT t.*,...

Found a solution afterwords

SELECT t.*, (SELECT COUNT(id) FROM test_table WHERE parent_id=t.id LIMIT 1) AS children FROM test_table AS t WHERE parent_id=$parent

And just test of the chldren...
Forum: MySQL 06-09-2011, 12:50 PM
Replies: 3
Views: 1,436
Posted By bonecone
Question counting children in an adjacency list

I've created an adjacency list to store a directory tree. To make it run faster I only load one level of the tree at a time. When you click on a plus button next to one of the categories, ajax...
Forum: JavaScript programming 06-04-2011, 08:39 PM
Replies: 2
Views: 333
Posted By bonecone
Question extracting digits with regular expression

I have the following string "d3-23-76-546"

I'm looking for a regular expression that will match everything in this string before 546 so that I can replace it with an empty string and just be left...
Forum: MySQL 06-03-2011, 10:00 PM
Replies: 2
Views: 574
Posted By bonecone
Question IN() Issues

I'm creating a link directory database where links can belong to multiple categories. A link will have an INT id field as PRIMARY KEY and a VARCHAR parent_d field with a comma separated list of...
Forum: MySQL 05-15-2011, 12:22 AM
Replies: 1
Views: 1,413
Posted By bonecone
Question Best way to store & retrieve a directory structure in database

Has anyone here created some sort of directory structure before, with categories & subcategories, that they stored in a mysql database?

This first time I tried this, I set up each record with a...
Forum: Small projects (quick fixes and changes) 05-14-2011, 03:26 PM
Replies: 2
Views: 1,359
Posted By bonecone
rajivv, I do a lot of work with Joomla and...

rajivv, I do a lot of work with Joomla and Virtuemart. I've installed them, migrated them to other hosts, converted an ocCommerce store over to Virtuemart, as well as created custom shipping modules...
Forum: Small projects (quick fixes and changes) 05-14-2011, 01:49 PM
Replies: 1
Views: 1,077
Posted By bonecone
Hi Jacob What scripting language are you...

Hi Jacob

What scripting language are you referring to? I've used both PHP and Ruby on Rails to crawl websites before. This sounds like something I could reasonably do. I'm quick to pick up on...
Forum: HTML & CSS 04-14-2011, 05:45 PM
Replies: 1
Views: 1,885
Posted By bonecone
Question getting fieldset to take up 100% height of table cell

How do I force my fieldset to take up 100% of the height of the table cell it's in?
Forum: General web building 04-12-2011, 01:39 AM
Replies: 1
Views: 513
Posted By bonecone
Question Getting the Kludge out of my data entry

I'm building a site for people who want to sell their used books. A listing will contain general information (Title, Author) stored in a "books" table as well as one or more records containing...
Forum: JavaScript programming 04-07-2011, 02:46 PM
Replies: 2
Views: 1,898
Posted By bonecone
Thanks! just what I was looking for

Thanks! just what I was looking for
Forum: JavaScript programming 04-07-2011, 12:56 PM
Replies: 2
Views: 1,898
Posted By bonecone
regular expression price validation

I'm trying to find a regular expression that will reject leading zeroes in a price unless the zero is the only digit before the decimal. So it will accept 0.03 but not 00.03 or 01.03.

This is the...
Forum: General web building 11-29-2010, 10:43 PM
Replies: 3
Views: 3,303
Posted By bonecone
Well, it's a site more or less like this...

Well, it's a site more or less like this http://www.xtremediesel.com selling high performance ½ ton diesel engine parts, accessories, etc.
Forum: General web building 11-27-2010, 08:45 PM
Replies: 3
Views: 3,303
Posted By bonecone
Question best ecommerce solution for a large business

What is the best shopping cart package for a large business? I'm thinking in terms of thousands of products and a fairly high volume of traffic. Normally I've used osCommerce or Virtuemart, but it...
Showing results 1 to 25 of 53

 
Forum Jump

All times are GMT +1. The time now is 02:57 PM.