Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jman78

    Model Associations

    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 =>...
  2. jman78

    CSS div issue

    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; ...
  3. jman78

    Carriage Return in String

    You will likely have to parse that with some sort of scripting language. javascript or your server-side language of choice.
  4. jman78

    Send SMS via PHP Through 3G Modem

    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...
  5. jman78

    Script works in all browsers but IE

    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...
  6. jman78

    Script works in all browsers but IE

    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) {...
  7. jman78

    Google Maps (v2) not displaying

    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...
  8. jman78

    Google Maps (v2) not displaying

    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...
  9. jman78

    Google Maps (v2) not displaying

    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"...
  10. jman78

    Show/Hide Load Collapsed Help Please

    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
  11. jman78

    Multiple Updates

    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
  12. jman78

    Show/Hide Load Collapsed Help Please

    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...
  13. jman78

    jquery and facebox plugin not working

    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
  14. jman78

    Show/Hide Load Collapsed Help Please

    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...
  15. jman78

    Show/Hide Load Collapsed Help Please

    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
  16. jman78

    jquery and facebox plugin not working

    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.
  17. jman78

    jquery and facebox plugin not working

    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...
  18. jman78

    Tracking link clicks

    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...
  19. jman78

    link combo boxes

    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...
  20. jman78

    link combo boxes

    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...

Part and Inventory Search

Back
Top