Jump to content

mboehler3

Members
  • Content Count

    304
  • Joined

  • Last visited

Everything posted by mboehler3

  1. I'm trying to set a cookie for a user *only* when they click a certain link. My code is in ASP.The code I'm using looks like this: <a href="/backend/" rel="external" id="footlink" onclick="<% Response.Cookies("mobile") = "Full" Response.Cookies ("mobile").Expires = DATE + 30%>"> Full Site </a> But it's not working, it's setting the cookie even though the link isn't clicked. What can I do to fix this?
  2. Awesome, that did it. Thanks for the explanation too.
  3. I have a custom font that I've set in my CSS for various elements of my website, including header, footer and navigation menu. On my home page, the font is not loading and is defaulting to Arial. If you navigate on any other page within my website, the font loads as it should. Only on the homepage am I experiencing this issue, and it's only in Firefox 15 on a Mac. I've provided a screenshot from that browser. I've analyzed the code over and over and can't find any differences between the homepage and the rest of the site. Does anyone have any ideas?
  4. I am using a custom font on my webpage, and in one specific browser, the font is not showing up. This is fine -- if the custom font doesn't load, the next available font I've set in my CSS is Arial. My problem is that the set font-size of my custom font is 70 pixels. If the custom font doesn't show up, Arial is used and is 70 pixels, which is really, really large. I would like to make it so that, if Arial is used, the font-size is 48 pixels. Is this possible to do through CSS?
  5. This is the page I am referring to: http://www.surepayroll.com/small-business-resources/ On the page, you'll see two columns towards the bottom with "Small Business Video Minutes" and "Small Business Articles" as the headline. Underneath the headline is some copy, and below the copy is a list of links. When I view this page on my iPhone, I see the list of links in the Video Minutes column is much smaller than the list of links in the Articles column. Here's a screenshot of what I see on my phone: I'm looking at the CSS and I can't find anything that would cause this. Can someone offer up any a
  6. Sorry guys, I found it, it's in a different directory. Thanks for your help.
  7. Awesome, now the video is accepted and I am directed to the Thank You page. The last remaining problem is that the video does not upload to my server. It's supposed to be in my /uploads/ folder, but it doesn't go there. Is there any way to determine why this is not working, using a similar echo method?
  8. Adding the echo statement gave me this: type = video/quicktimeThe file is not a video format we accept
  9. I have a form that has four fields, and the last field is an upload-file field. I want the user to upload a video file, which must be in one of four formats. The uploaded video will be placed in a folder on my server. Once the form submits, an email is sent to me and the form fields are stored in a database.I am getting emails and seeing the information in my database, but I cannot get the upload onto my server. Also, file types that I want to accept are being told that it's not acceptable. For instance, I tried to upload a .mov file and got the message: The file is not a video format we accep
  10. Thank you, here is what I am working with: <div id="counter"><script>var START_DATE = new Date("August 20, 2006"); // put in the starting date herevar INTERVAL = 1; // in secondsvar INCREMENT = 1; // increase per tickvar START_VALUE = 1; // initial value when it's the start datevar count = 0;window.onload = function(){var msInterval = INTERVAL * 1000;var now = new Date();count = parseInt((now - START_DATE)/msInterval) * INCREMENT + START_VALUE;document.getElementById('counter').innerHTML = count;setInterval("count += INCREMENT; document.getElementById('counter').innerHTML = count;"
  11. Alright I'm sorry for not understanding this but I clearly do not. This code is very simple yet I don't understand how to replicate it. Will someone please show me how I can get two functions loaded on this page? http://www.wuzhannanan.com/alex/timeticker2.html
  12. I'm sorry but no, I don't realize it... do you mean copying the code and using a different id? Like "counter2" instead of "counter"?
  13. Ok, now I am getting undefined: http://www.wuzhannanan.com/alex/timeticker.html
  14. Alright I've taken a step back and am just trying to load this function after removing the innerHTML and window.onload code, but now nothing is displayed: http://www.wuzhannanan.com/alex/timeticker.html I've been looking at examples of JavaScript code and trying them out on my end but nothing seems to work.
  15. Hi, I'm trying to have a "count-up" timer on my website that displays seconds, minutes, hours, and days that have accumulated since a specific date. I'm not much of a JavaScript coder so I found a script online that seems pretty simple. It works just how I want for seconds, so I copied the code and replicated it for minutes. When I saved and refreshed my page, only the seconds display. http://www.wuzhannanan.com/alex/timeticker.html What do I need to do in order to display both seconds and minutes? Thank you in advance for any help.
  16. My page here looks good on standard size monitors: http://www.wuzhannanan.com/site5/ But when I expand the browser, the middle content is flushed left while the header and footer stay centered. See my screenshot: http://www.wuzhannanan.com/images/max-width.png I understand this is because the .left, .center and .right classes float left. Is there another way I can keep these three classes contained, and centered when the browser expands?
  17. I've been having an issue in IE with the design of this page so I am re-tracing my steps to try and figure out the issue. I removed the rollover effect from the images, and when I did that it moved the position of my stage off-center. You can see this here: http://acq.matthewboehler.com/nofade.php, compared to what it looks like when its centered: http://acq.matthewboehler.com/ All I did was remove the class="fade" and background image. I'm confused how this changed the position, can someone help explain to me?
  18. When I visit my site, http://acq.matthewboehler.com/ in IE (versions 8 and 9), my main center of images shrinks quite a bit. Check out the site in any other browser and you'll see what I mean. Is there something in the CSS I can do to fix this?
  19. Surprised I missed that, thank you for pointing it out.
  20. After applying the "fade" class to every image, the two images in the center column underneath the large kitchen image aren't working well together - the right "horse" image is not appearing. When you refresh the browser, you can see the image for a split second, but then it goes away. I put each image in its own container, but that's not working. Is there CSS I can apply to the classes to fix this, without having to alter the JS?
  21. Thank you very much, that works like it should. I appreciate you pointing out the errors.
  22. Ok thank you for that, I get it now. I noticed, though that when I put in the navigation CSS, it caused my dropdown menus to drop very slowly. When I removed position:relative from the CSS, the menu speed was fine. I'm confused why position:relative is causing the menu to drop down slow- any idea?
  23. Thank you, can you help me understand why the top navigation is not centered? I have text-align:center in the CSS.
  24. I'm trying to center a row of three floating divs, each with a max-width set. You can see the page here: http://acq.matthewboehler.com/test.php Everything on the page is centered within the <stage> div, but for the grid of images. Those are left aligned. I've tried text-align:center; margin-left:auto; margin-right:auto, and none of those worked. I even tried putting the grid into an unordered list, but that didn't work either. Is this possible?
×
×
  • Create New...