Jump to content

mboehler3

Members
  • Content Count

    304
  • Joined

  • Last visited

Everything posted by mboehler3

  1. Hi, I am trying to create a rollover fade effect for images on my page here: http://acq.matthewboehler.com/test.php. The large kitchen image does the rollover right now. I found the rollover fade script online, and it places one image on top of the other. If you shrink your browser, you'll see the images do not stay on top of each other. In Firefox, the original image is moved up. In Internet Explorer, it places the rollover image directly below the original image. In Safari, it works perfect, exactly how it should. Is it possible to put a container around the images so they stay in place, lik
  2. Alright, nevermind, solved it using margin-right:10%;margin-left:10%.
  3. Actually this may be more than I asked for. I didn't think about when the browser is scaled down. Ideally no matter how far down the browser shrinks, I'd like to have 10% of dead space on the left and right of the screen.
  4. Thank you, that works for me. Each column has a different width, so instead of making each column 33%, I made it relative to the container size. The middle column is the widest, and the left column is the narrowest. Now, is it possible to get everything centered on the page, like "margin-left:auto;margin-right:auto" works? I tried that and it did not work. By default everything is left aligned. I even tried putting everything in a table and that did not work.
  5. Hi all, I'm working with fluid images for the first time at the request of a client. The design of the webpage has a row of three images, expanding a total of roughly 1180 pixels. Take a look here:http://acq.matthewboehler.com/test.phpI'm using fluid images because I want to make it so that, if the browser is shrunk below 1180 pixels wide, the row of images stays intact, and the images simply shrink.Right now, when you shrink the browser, the images fall onto another line. Shrink it far enough and you have three images stacked on top of each other.Is it possible through CSS to keep these image
  6. The thing is, I removed all of the borders in the CSS and it still displays the line on the rolloff. The script does have height variables though. I don't understand why the height would need to be adjusted if there are no borders.
  7. Hi all, I found a dropdown menu script here: http://www.scriptiny.com/2008/04/sliding-javascript-dropdown-menu/ I am using it on my website here: http://acq.matthewboehler.com/ When you rollover one of the six navigation links, the dropdown menu slides as it should. But the problem is when you rolloff of the link - as the menu shrinks, there is a border-line that exists right underneath the text-link. You have to look kinda close at a high resolution screen to see it, but it's there. Refresh the page and it's gone. But rollover and rolloff again, and it shows on the rolloff. I'm not very famil
  8. This site here accomplishes what I would like through Flash: http://www.paulshark.it/en I would like to accomplish this without Flash.
  9. Hi all, I'm not sure if CSS can accomplish this, but here's what I would like to do: The design for my website is 1100 pixels wide. There are 100 pixels of empty space on both sides, leaving 900 pixels in the center for content. Most of the content is images, with some (little) text. I want to code the site so that, when the user expands their browser to, say, 1500 pixels wide, the 100 pixels of empty space still exists on both sides, but the center content expands from 900 to 1300 pixels. In doing so, the images inside the content also expand their size to cover the entire 1300 pixels. I'm no
  10. Hi all, I am trying to display an RSS feed on my ASP website. Currently, the date is displayed as "Dec 07 2011." I would like to display it as "December 7, 2011." Here is the code I've put together so far: <html><head><title>RSS Feed Using ASP Classic - For Texas Longhorns Football Schedule from TicketCity.com</title><style> *{font-family:verdana;} td{vertical-align:top;padding:5px 5px 5px 5px;}</style></head><body><%' change the RSSURL variable to the exact URL of the RSS Feed you want to pullRSSURL = "http://blog.surepayroll.com/feed/?al
  11. I figured it out, here's the code I used: <script language="JavaScript" type="text/javascript">var currentDiv = '';var oldClassName = '';function itemClicked(divID, className){if (currentDiv != ''){ document.getElementById(currentDiv).className = oldClassName;}oldClassName = document.getElementById(divID).className;document.getElementById(divID).className = className;currentDiv = divID;}</script>
  12. Ok I've got the first two steps down: http://www.wuzhannanan.com/backend/nov-2011-test-page.html But I'm having trouble changing the classes when another element is clicked. I can't find any scripts available and I haven't had much luck writing it myself. Can someone please give me an idea of what the code will look like?
  13. Hi all, I am trying to create a rollover effect for a menu that functions like this: I want the background image to change on when you rollover it, and then change back to its original state when rolled out I want the background image to change when you click it and stay on that image when you roll out I want the new "clicked" image to remain until another image has been clicked, which operates the same way I have my code set up here: http://www.wuzhannanan.com/backend/nov-2011-test-page.html Try it out and you'll see when you click on one of the images, it changes, but then changes back onc
  14. I think that's where I'm running into the issue - defining the variable. All of the examples I've found online give variables a set value. Like, $emp_cnt = 1 or $emp_cnt = "Hello World"... The value for $emp_cnt changes, depending on what they entered in the form. I tried changing my code to this: <?php$emp_cnt = $_GET["NumberOfEmployees"];if ( $emp_cnt == "" or $emp_cnt < 1 ) {$emp_cnt == 1;}$str_pf = $_GET["Frequency"];if ( $str_pf == "" ) {switch ($str_pf){case "Weekly": $str_pf == "Weekly"; break;case "Bi-Weekly": $str_pf == "Bi-Weekly"; break;case "Semi-Monthly": $str_pf == "
  15. I am trying to convert my ASP code to PHP. This code is used to display a price quote based on information a user has submitted through a form on the previous page. The Price Quote is determined by a math equation: the Base fee + (Number of Employees x TransTotal). On the previous page, the user has entered in the Number of Employees as well as selected their Frequency (Weekly, Bi-Weekly, Semi-Monthly or Monthly). Both Frequency and Number of Employees will be passed through the query string. On my first include file, I set the Employees and Frequency. For Number of Employees, I first want to
  16. Does the hover over image need to be the same size as the normal image? I've got this far: http://www.wuzhannanan.com/backend/list-test.html Now I just need to correct the placement of the hover over image, and get it so that the other boxes do not move when one box is hovered. I'm not sure how the sub level ul would work in this case. Can I use margins to do this?
  17. Hi all, I am trying to accomplish something my graphic designer put together. We have a Video Hub page that links out to five category pages. Our designer put together this cool image, separate each category into a vertical, rounded box. Now, we'd like to make this interactive with a rollover feature. When you rollover each box, the box will visually "pop-out," and a small arrow will be below the box. Here's an example of how it would look when the user rolls over the Videos #3 box: Since the "rollover" box spills over into the left and right boxes, the only way I can think about doing this
  18. I am trying to 301 redirect a page, and I want to grab the Server Name using Request.ServerVariables. My 301 code looks like this: <%@ Language=VBScript %><%Response.Status="301 Moved Permanently"Response.AddHeader "Location", "https://<%= Request.ServerVariables("SERVER_NAME") %>/website.asp"%> But when I try to access the old page to see the redirect, I get this error in my browser: Microsoft VBScript compilation error '800a0401'Expected end of statement/surechoice/accounting-practice-management-insights.asp, line 4Response.AddHeader "Location", "https://<%= Request.
  19. I am trying to put two forms on one page – one is a login form that asks for a username and password, and the other form requests information that triggers an email send. For some reason, the page won’t load when I place the logic for both forms on the page. My login form has code that looks like this: <form action="/accountants/" method="post" name="frmMain" class="Login" id="Form1" onSubmit="pageTracker._setVar(Accountant);"><input name="action" value="Edit" type="hidden" /><input name="partnerCode" value="" type="hidden" /><div class="acct-field"><input id="Text1
  20. Ok, I'm getting a little confused so I will post all of my code. I want a popup to happen just like the form on this page: http://www.surepayroll.com/product/payroll/. Hit the submit button and you'll see the "pop-up" I'm referring to. Here is my form code: <script language="JavaScript" src="/surechoice/pminewsletter_check.js" type="text/javascript"></script> <form action="http://now.eloqua.com/e/f2.aspx" method="post" name="referaclient" onSubmit="return checkrefervalues();"> <img src="/images/960/accountant-center/form/partnership-top.gif" /><div class="partners
  21. I had trouble getting this to work too. I copied everything you wrote and pasted the input into my form, and the javascript in my validation code. The form accepts blank fields with this code.
  22. Not sure, I simply searched for how to create javascript validation for a field based on the id and not the name, and that's what I found. Now I understand this is incorrect.
  23. I couldn't get this to work... copied and pasted exactly what you wrote. I don't get any pop up that tells me to enter First Name.
×
×
  • Create New...