Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by mboehler3

  1. No there is no JavaScript being used. Can I use it to accomplish what I'm trying to do?
  2. Well here is a snippit of my code:<option selected="selected">Select Your State</option><option value="alabama.asp">Alabama</option><option value="alaska.asp">Alaska</option><option value="arizona.asp">Arizona</option> So all of the options will take the user to a page. But the first option, when clicked, takes the user to "Select Your State," which doesn't exist. I want to make it so, when the Select Your State option is clicked from the dropdown list, nothing happens.
  3. Hi, I have a dropdown list with many options and when the user selects an option, they are taken to a specific page. However my first option in the list is something like "Select from these options." While that is an option, I don't want the user to click there. If they do, I don't want them to be taken anywhere. How can I make this happen? I've looked on pages and found the "disabled" element, but when I add disabled="disabled" to my select tag, nothing happens.Thanks in advance for your help.
  4. I am completely new to MySQL and need some help setting up my form to pass variables into a database.I have a form that has 5 fields and I want the form data to pass into a MySQL database, so I can regularly view all of the entrees that have been received. I have my form created already and need to set up the database. Can someone please walk me through this process?
  5. I just grabbed Firebug and ran it, this is the error that popped up: missing ( before conditionhttp://localhost/pminewsletter_check.jsLine 27 I accidentally put { instead of (... so I changed it and it works.Thanks a lot for your help.
  6. It just doesn't check for any of the other values, it automatically goes to the thank you page even when the other fields aren't entered. I don't know another way to check for errors.
  7. I tried this code: if {document.referaclient.printnewsletter.checked == true){ if (document.referaclient.subscribeid.value.length ==0 || document.referaclient.subscribeid.value =='Your Subscription ID'){ message = message+"Please enter your ID!\n"; }} and it doesn't seem to validate
  8. Well they have the option to check it or not, it's not mandatory. I am trying out code like this:if (document.referaclient.printnewsletter.checked == true) { message = message + "Please enter your Subscription ID.\n"; } but even when I enter a subscription ID, I still get the error...
  9. Sure thing, here's my form code: <script language="JavaScript" src="check.js" type="text/javascript"></script> <script type="text/javascript" language="JavaScript"> function HidePart(d) { document.getElementById(d).style.display = "none"; } function ShowPart(d) { document.getElementById(d).style.display = "block"; } function CheckboxChecked(b, d) { if (b) { ShowPart(d); } else { HidePart(d); } } </script> <form action="#thankyou" method="post" name="referaclient" onSubmit="return checkrefervalues();"> <input type="hidden" nam
  10. I have a form set up where, if a checkbox is marked yes, another field ("field X") will display. Now I want "field X" to be mandatory for the user. I've added code in my javascript file that checks whether or not information has been entered for "field X", but it runs that check whether or not "field X" is displayed. So a user may not have checked the box, and they are still required to fill out information for "field X" even though it's hidden. Is there a way check on "field X" only when the checkbox has been marked?Hopefully this makes sense, if not please let me know and I will clarify.Than
  11. Fixed! I needed to add wmode="transparent" to the embed code as well. Thanks for your help!
  12. Ya I did try modifying my code, I changed it to this: <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='560' height='330' id='player1' name='player1'> <param name='movie' value='http://sp.httpsvc.vitalstreamcdn.com/surepayroll_vitalstream_com/mediaplayer.swf'> <param name='wmode' value='transparent' /> <param name='allowfullscreen' value='true'> <param name='allowscriptaccess' value='always'> <param name='flashvars' value='file=playlist.xml'> <embed id='player1' name='player1' src='http://sp.httpsvc.vitalstreamcdn.com/
  13. I am viewing it in IE, but I also checked in FF v3.6.6 and the dropdown menu is still hidden by the video.Thanks for the link, but I'm not sure how to apply it to my code since it's different from the code in the example. Here's what my code looks like: <embed src="http://sp.httpsvc.vitalstreamcdn.com/sp_vitalstream_com/mediaplayer.swf" width="560" height="330" allowscriptaccess="always" allowfullscreen="true" flashvars="height=330&width=560&file=rtmp://sp.flashsvc.vitalstreamcdn.com/surepayroll_vitalstream_com/_definst_/iphone&id=iphone_560x330ℑ=/images/video/demo_videoplacehol
  14. On my page, I have an embedded video on the page. The problem is that my top navigation dropdown menu's go behind the video, for example when you rollover "Payroll" or "Products & Services". I want the dropdowns to appear over the video.This seems like a z-index, position issue, but what I've tried so far doesn't work. On my dev environment, I've added a "position:absolute;z-index:-20" to the embedded video, while the top navigation has a <div> tag around it that is set at "position:absolute; z-index:100" and this doesn't fix the issue. I've also tried added a "position:absolute;z-in
  15. Nevermind, I needed to switch the month and date. Thanks for your help!
  16. Thanks for the link.When I try using this code: <% IF DateDiff ("d", Date(), #01/07/2010#) > 0 THEN %> it doesn't work properly (I substituted 01/07/2010 with 06/21/2010). is there something i'm missing?
  17. Hi, I have a non-dynamic site that I can only update once a month. Some pages have date-sensitive copy, such as "Sign up for our July 9 newsletter." As a result, I have to use logic so copy like that will not show up on July 10. I've been using logic such as this: <% IF Date() <= "7/09/2010" THEN %>Sign up for our July 9 newsletter <% ELSE %> <%END IF %> And it works fine. The problem is when I get to double digit months like October, where I use logic like this: <% IF Date() <= "10/09/2010" THEN %>Sign up for our October 9 newsletter <% ELSE %> <%END
  18. Thank you, I understand how to use sprites for buttons and such, but I'm having trouble getting this background image to repeat correctly. wirehopper's suggestion of using overflow:hidden just sort of collapsed everything. I don't understand what I'm doing wrong. The background image on the sprite is 300pixels wide by just 1 pixel tall, and it's 140 pixels down from the top of the sprite.
  19. I have a 300px wide by 1px tall image I've put onto my sprite image and would like to have it repeat vertically. In my CSS I have this code: .sidenavback {background-image:url('/images/global/sidenav.png'); background-repeat: repeat-x; background-position:0 -140px; width: 300px; height: 1px;} But it's not working... every site I've been to says that it is possible to do repeating backgrounds with sprites, but it's tricky. I can't find a site that'll walk me through it. Has anyone had experience with this before?
  20. Right, I wasn't paying attention when I copied that code into my post. I have my code set up like: <input type="image" src="/images/payroll-continue.gif" tabindex="10" alt="Get Instant Quote" id="Image1" name="submit2" onClick="GoToConfirmPage();" /> And, actually, the string is being passed in the URL. But my problem is that my other javascript, /quote/form_check.js, which checks for the proper form information, is not working properly. When you hit submit with no information in the form, up pops the alertbox, however immediately after you hit "OK" the browser sends you onto the next s
  21. I've found an example of a script to use on this forum here: Javascript form passing data between pages and am having some trouble getting it to convert onto my page.I've copied the code exactly as is it but renamed two fields I want to pass. Here is what my code looks like: <script type="text/javascript"><!--function GoToConfirmPage(){var PayrollFrequency = document.getElementById("PayrollFrequency").value;var NumberOfEmployees = document.getElementById("NumberOfEmployees").value;if (PayrollFrequency) {window.location.href = "http://www.mysite.com/quote_results.asp?PayrollFrequency
  22. Yes I am not using server-side, the form action sends the information to a third-party site. I guess I could do all of this on the same page, but in that case the information would still need to pass to output a price quote.However I want to keep the page how it is set up, with the form one one page and the price quote on the second page.
  23. I have a form that generates a price quote when users enter in some personal information. On page 1 is the form and on page 2 is the generated price quote. The price quote equation uses two pieces of information from the form.I am trying pass along the two pieces of information from page 1 to page 2 by appending the return URL in my form code. I believe I need to add an onClick to the two form inputs that need to pass, but I’m not sure how to do this. Can someone please offer some assistance? Any help is appreciated.
  24. I am trying to make the top and bottom of my dropdown nav clickable. My page is here: Visit My WebsiteIf you roll over "Payroll," you get a drop down menu with six options. The first option is "Online Payroll Advantage." The problem is that the link is not clickable for a few pixels above and below the text yet still within the white menu background. So while the rollover works, it doesn't render the whole area as a link. Is there a way in the code to make the entire background a link?Thanks in advance for your help.
  • Create New...