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: *

  • Users: Diggum1
  • Content: Threads
  • Order by date
  1. Diggum1

    Turn off swipe left/right on iPad image gallery

    I created a quick gallery website using jquery Responsive Image Gallery (http://jpatrickking.com). It works fine in a desktop browser, but when viewing the gallery on an ipad, if I try to pinch to zoom (or touch the image in any way), the gallery automatically advances to the next slide. This...
  2. Diggum1

    javascript text navigation system

    Hi everyone, I'm looking for a way to create a small javascript text navigation system. I have a faculty list of 30 names, only 10 of which will fit in the design at a time. So I'd like functionality where the first 10 are displayed initially, then you can click on "More" to display the next 10...
  3. Diggum1

    HTML tags inside PHP Variable

    I have the following variable that I'd like to add a superscript character to. If the value from a dropdown selection equals MLS(ASAP), I'd like to add that CM superscript to the value. This value will be inserted into an Excel CSV via FPDF. However, the code below simply inserts the HTML...
  4. Diggum1

    FPDF and Open Type fonts

    Does anyone have any experience installing an Open Type font and using it with FPDF and PHP? Can it even be done? I've got the PDF functionality working great, but for the life of me can't figure out how to install a new font, Open Type or otherwise, Also, I have another version of the same...
  5. Diggum1

    form variable in message body of email

    I have a script that takes the form submission of a user, creates a .csv and attaches it to an email, then sends the email. The issue I have now is that I can't get the Price variable into the message body of the email. Currently is reads, "The Price is: $price." but when I receive the email...
  6. Diggum1

    conditional form variable

    I know this should be simple, but I just started php. I have a form that will submit an email. The company name will be set by a selection from a drop down (with values of Company1,Company2,Company3). What I have below always returns Company3, regardless of which option I select from the drop...
  7. Diggum1

    Cross Domain Scripting

    I have several pages that a user can either submit or skip using a regular submit input. All of my content resides inside an iframe of my client (which resides inside another iframe on their containing page). When a user cycles through my content, I'm trying to get the client's browser The...
  8. Diggum1

    Email form results as Excel attachment.

    Hello all, I'd like to email the results of a contact form submission as an Excel attachment. I'm currently using the following (abbreviated): <?php @extract($_POST); $name = stripslashes($name); $email = stripslashes($email); $subject = 'Contact Form'; $text = stripslashes($message); /*...
  9. Diggum1

    Show &lt;div&gt; if 2 inputs match

    Hey all, I've started a script but can't quite get it right. I have two inputs for email address and confirm email address. If both those fields have the same value, then a <div> containing a checkbox should display. If they don't match, it should stay hidden. That catch is that the script...
  10. Diggum1

    populate dropdown with checkbox selections

    I have a form that contains 2 questions. The first question has up to 20 checkbox selections. The second question contains a dropdown (select menu) that I would like to have dynamically populated by the items that were checked in the previous question. I'm not sure how to do this. Any ideas or...
  11. Diggum1

    load random divs

    Anyone know how to achieve the following: I have several testimonial divs, each with different content, like this: <div ID="alice">Alice's testimonial. Lots of other HTML</div> <div ID="bill">Bill's testimonial. Lots of other HTML</div> <div ID="sandy">Sandy's testimonial. Lots of other...
  12. Diggum1

    reg ex help needed

    I have the following script which simply takes whatever is in the "Email" field, and puts it in the "Username" field. Can anyone think of a reg expression that would only take the characters up to the @ symbol in an email address, and place only those characters in the "Username" field? Thanks...
  13. Diggum1

    Use javascript to set an XSLT parameter

    Here's a more detailed explanation of what I'm trying to do: I'm trying to use Javascript to set the filter criteria of my XSLT depending on the selection in a select menu. Here's my XML: <?xml version="1.0" ?> <catalog> <coupons> <title>Title</title> <category>Category</category>...
  14. Diggum1

    Filter XML results with select menu

    I have an XML file where each coupon has a category node. For example: <master> <coupon> <category>category 1</category> <description>blah blah blah</description> </coupon> <coupon> <category>category 2</category> <description>blah blah blah</description> </coupon> </master> I'd like to filter...
  15. Diggum1

    modify tooltip to always display DOWN from trigger

    I have the following script for a tooltip (I'm using it to display fairly large images). However, when someone has a low enough resolution (or their browser is not maximized) the tooltip sometimes displays UPWARDS (toward the TOP of the browser)from the trigger. Anyway to modify the script so...
  16. Diggum1

    toggle between 2 images and 2 divs

    I have the following javascript that I need to modify so when I click on the completeform.gif, <div id="one"> displays, and when I click on showdetails.gif, <div id="two"> displays. They should just toggle between the two. Been working on it for awhile but I can't seem to figure it out...
  17. Diggum1

    Changing the select state of a dropdown in a Show/Hide script

    I'm using the following show/hide script. If a user clicks No, it will clear all checkboxes and radio buttons in the appropriate div. Anyone know how I could make it so that any select boxes change back to the default (value=select), if a user clicks No? I'd that to add that functionality to...
  18. Diggum1

    Display ID as name, not number?

    Hi everyone, I have a query that returns rows for search results. The first column is a Category ID that, in the output, is displaying the ID number. I'd like the output to display the name of the category, not the ID number (see below) This is my query: SELECT * FROM Products WHERE 0=0 AND...
  19. Diggum1

    toggle heights of a div

    Anyone have or seen a script that performs the following... I have one large image (about 500px height, though it could be anything up to 600px) contained within a <div>. On load, the div's height is set to 200px, so only the top portion of the image can be seen. When a user clicks a button...
  20. Diggum1

    Delay show/hide layer for 2 seconds

    How can I delay the firing of this function by 2 seconds? The following is not working. function showlayer(whichLayer) { document.getElementById(whichLayer).style.display = 'block'; setTimeout("showlayer()",2000); } Thanks Rick

Part and Inventory Search

Back
Top