I'm trying to create a simple POS (Point of Sale) system.
I have associations set up in the order models to the items and seats (tables)
class Order < ActiveRecord::Base
has_many :order_splits
has_many :order_split_items, :through => :order_splits
belongs_to :seat, :foreign_key =>...
you have the left column floated, which means it hangs outside the influence of the page. easiest way to fix this is to add the following to your footer div CSS:
...
clear: both;
...
most cell carriers also have an email to sms service (you can email phone-number@vtext.com where phone-number is a valid Verizon cell number)
Here's a list of the ones I know/found quickly:
T-Mobile: phonenumber@tmomail.net
Virgin Mobile: phonenumber@vmobl.com
Cingular...
no JS errors - I took out the semicolons inside the eval statements.
I used eval because I'm adding a javascript validation object to each input. The inputs are set up in an object array and eval was the only way I could see to pass the required information.
I used multiple eval calls cause...
On the webpage I have a button (image link) that runs a javascript command to add a row to my table form.
<a onClick="addRow(<%= @num_variants %>); return false;"><%= image_tag 'pages/classifieds/add-additional-row.png' %></a>
Here is the applicant javascript:
function addRow(fields) {...
Dan - Thanks for catching that. No, I usually do my init testing in safari, I need to start using the js console. I keep forgetting about it. (don't code much in JS, personally) I was missing the closing parens in the listener code, but no clue why there is a closing parens missing in the...
I set up a test page to look at -
http://www.imsbarter.com/gmap-test.html
I commented out the listener code on this one, it shows that you can see the markers. if listener code is there it doesn't show anything...
Here's the code I'm using - I don't see what's wrong - If I take out the event listener, I can get markers to show up on the screen, but the map doesn't show.
Anyone see something I missed?
Thanks!
Jason
<head>
...
<script type="text/javascript"...
the first time I went there, it took quite a while to load the page - there was a significant delay on the last item loaded (whatever that is, I didn't inspect it to find out) It did load via Safari on Mac OS/X10.4
Jason
You will have to define the checkboxes as arrays and parse through the arrays to update the table.
I did something like this recently, but it was in Ruby on Rails - seems to be a lot easier to create/access arrays of checkboxes.
Should be able to set it up similarly in PHP, however...
Jason
I see what is going on - took me a min to find the javascript function - it should be inside the 'head' element, and you don't need to repeat it for each part (since you are essentially re-using the same function and code).
Main thing is that you need to use '==' operator for comparison and...
Yeah, I'm aware of that. its a path issue.. I don't even think she uses much flash on her website (at least this section). I just didn't fix it yet.
Thanks!
Jason
In your heading you have a style tag - insert the line:
#Council, #Planning, #ParksRec, #HistoricPreservation, #CivicImprovement, #Bicycle { display: none; }
Like so:
<style type="text/css">
<!--
.style22 {font-size: 10}
.style23 {font-size: 12px}
.style25 {
font-size: 12px;
color...
CampbellIT -
I viewed the website. If you want to start out with it hidden, simply set the style (either inline or in the .css file should work) to hide.
...
display: none;
...
Jason
Part of what bothers me is that I use the exact same script on another page and it works correctly.
I'm just going to use a different lightbox script - a friend of mine suggested colorbox.
Thanks for the help - I wish it would have worked.
I wanted to set up this facebox plugin for a friend of mine - but it doesn't seem to work... Can someone check out the page at http://www.christineshinn.com/graphic_design/miscgallery.html and tell me if you can see anything I did wrong?
I have the top row set to use the facebox plugin but...
You can do this a couple different ways...
1. Add a variable to each page and use your statistics/analytics to determine how many clicks each link gets.
<a href="page.html?link=A">Link A</a>
<a href="page.html?link=B">Link B</a>
2. If you are using a server-side language (PHP, ASP, .NET...
Einstein47 -
Yes, VB6 was one of my early languages. Started on BASIC, moved up to Pascal/TurboPascal. Then learned VB6 in college, followed that up with C++, C# and Java. Since then I've programmed in Ruby, PHP, Python and a tiny little bit of Perl. I get your point, I tend to say...
Awesome - its not working perfectly yet, but its due to this being coded in Ruby/Rails. The combo boxes in question are part of an array (name/id of 'variant[]' to create the object array). The elements are created through a database call. Great solution - I need to enable them all and then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.