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

    Need PHP Select records into dropdown box help

    First, mysql_ functions are a bad idea; try switching to mysqli_ for better sanitation and being type safe. The die(...) function should be lowercase in both instances. besides that, what error(s) are you getting? http://jastreich.com/
  2. jstreich

    javascript callbacks for embedded videos

    jQuery's frameReady plugin frameReady.js For instnace: $.frameReady( function() { $("div").css("background", "red"); }, "framename" ); Changes the divs in the iframe red. http://jastreich.com/
  3. jstreich

    $.post callback data is empty

    The problem, after thinking about isn't likely in php file your submitting to, otherwise it would not work the first time. Using firebug (or similar tool), you need to find out is the ajax call being made? What is actually being sent in both directions? The code you posted, alone works...
  4. jstreich

    $.post callback data is empty

    data would be empty then if your query is empty. Try watching the responces with a tool like firebug to verify. Also, try writing a simple for (non-ajax) that posts to it, and see if you have any output. http://jastreich.com/
  5. jstreich

    Output Text Color

    Or css: .error { color: red; } javascript: var s_error_field_empty = '<span class="error">Please enter a value for this field</span>'; Benifit: You can change the appearance of all your error messages at once. Then you need to write the message to the HTML in the appropriate spot. Otherwise...
  6. jstreich

    JQuery add an element 1/2 opacity

    Fixed the opacity by using plain JavaScript, but I'm still not able to get drag to work on appended elements, and sortable and draggable still fight. http://game-master.us/phpx-3.4.0/
  7. jstreich

    JQuery add an element 1/2 opacity

    I have: $(".dragable").draggable({cancel: "a.ui-icon", revert: "invalid", containment: $("#content"), helper: "clone", cursor: "move" }); $(".album, .photos").droppable({ accept: ".dragable", activeClass: "ui-state-highlight", drop: function( event, ui ) { if($(this) !=...
  8. jstreich

    Printing div's

    Print styles to help avoid are nice, but they aren't fool proof... It won't always work, for various reasons. Moreover, what size paper is user using? What client side CSS do they have in their browser? What assistive technology are they using? You can't control these things (unless you can...
  9. jstreich

    XSLT just sort the XML

    Order indeed worked! Thanks. http://game-master.us/phpx-3.4.0/
  10. jstreich

    XSLT just sort the XML

    Thanks, that gets me valid xml, but the sort doesn't appear to work; what I get out is no different than what went in. :(
  11. jstreich

    XSLT just sort the XML

    I have a atom file file that looks like <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>Zimbra CIE_Events</title> <generator>Zimbra Atom Feed Servlet</generator> <updated>2009-04-16T15:41:55-05:00</updated> <entry> <title>Culture Cafe...
  12. jstreich

    linking virtual class

    I'm compiling with g++, and I have a abstract class: class listener { public: listener(){} virtual ~listener(){}; virtual void actionPerformed(void* event,void* actor)=0; private: listener(const listener& l){} }; when I try to compile it into a project I get an object...
  13. jstreich

    copy link list

    Are you writing the list or using the STL list class? If writing your own, and you don't need the original, like uilj said, just attach the one list to the other. If you're writing the copy constructor or an insert for one list into another, you have to loop through each element and declare...
  14. jstreich

    Batch nae change name

    Ah, got it. ... rename 's/parts-1/violin/' *parts* rename 's/parts-2/flue/' *parts* .. http://game-master.us/phpx-3.4.0/
  15. jstreich

    Batch nae change name

    The stars expand in both the first and the second, part of those commands so it doesn't do what you think it does... Though I think it does in DOS. That isn't what I'm looking for. http://game-master.us/phpx-3.4.0/
  16. jstreich

    Batch nae change name

    The the order the scores appear in the source file(s) feed to lilypond are in the file. For this project: - no number will be score - 1 will be violin - 2 will be flute - 3 will be oboe - 4 will be clarinet - 5 will be "parts" which creates a pdf I use to "debug" may create a bunch of extra...
  17. jstreich

    Batch nae change name

    I have a program (lilypond) that outputs files with names like: joy-parts.midi joy-parts.ps joy-parts.pdf joy-parts-1.midi joy-parts-1.ps joy-parts-1.pdf joy-parts-2.midi ... What I would like to do is write a script to run after running lilypond that would rename (mv) them in mass to be a bit...
  18. jstreich

    CC email using html

    officemanager, You mean other ways to do e-mail from a page or other link types? Server side: Most serverside language has a built in way Other link types: link protocols most browsers understand (little to no setup client side): http: https: file: Most browsers understand, require client...
  19. jstreich

    Multiple External CSS Files

    Mike, yes... and no. I read High Performance Websites which was written by the Yahoo guy who created that site; and I agree largely with what he has to say on most issues. However, I would argue that typography should be separate from layout for two reasons. The typography should be for all...
  20. jstreich

    email stationary, how did they do this to me?

    First, your template is broken anyway in a number of different ways: E-mail clients that is text only don't support HTML. While many do, most have modes to show only the text only or HTML and there is no way to tell which your reciepnts are using. Some people tell their e-mail clients to...

Part and Inventory Search

Back
Top