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 strongm 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: photoxprt1868
  • Content: Threads
  • Order by date
  1. photoxprt1868

    applying 2 decimal function to a form value

    Hello, I found this function here to always have two decimal places after rounding but how can I apply it to a form value this is the function <script language="javascript"> <!-- function numberFormat(str) { if(str.indexOf(".") == -1) { return str; } splitString...
  2. photoxprt1868

    rounding off, but always having two digits

    Hello, How can I round using Math.round but making sure to always have two digits. In other words 45.20 vs 45.2 this is how I have it now var difference = Math.round((fuel2006 - fuel2005)*100)/100; but I'm looking the last digit if it's 0. I need that 0 there. Thank you
  3. photoxprt1868

    New microsoft patch for ActiveX is becoming a problem

    Hello, Just wondering if anybody knows of a work around for the way Flash behaves now with the new Microsoft patch for Active-X. Any new ways for embedding the Flash document that minimizes the effects of the patch. It's very annoying for the users to have to click once every time to active a...
  4. photoxprt1868

    simple javascript is giving me an error

    hello, I have this simple piece of code in my page to spit out the date and it's braking my page. Without it the page works great, but with it the page doesn't display becuase of a javascript error. I have this on the body of the page <SCRIPT language="JavaScript" TYPE="text/javascript">...
  5. photoxprt1868

    frame-set shows scroll bars for no reason

    Hello all, I have this frame set dived top and bottom, and the bottom is divided left and right. On the left I have a menu which loads the appropiate content on the right. The content frame on the right is showing both scroll bars horizontal and vertically when it should only show vertical...
  6. photoxprt1868

    need an RSS script that does NOT use active X

    Hello I'm trying to put together a page that will read news items via RSS, but I must not use active X to do so. Can someone help in finding such a script? Thanks in advance
  7. photoxprt1868

    close page javascript doesn't work for firefox

    Hello, does anyone know where I can find a script to close a page that works for both IE and firefox This is what I'm currently using <form> <input type="button" value="Close This Page" onClick="javascript:window.close()"> </form>
  8. photoxprt1868

    displaying current month and year at the top of the page

    Hello, I was woindering what the syntax would be to display just the current month and year using JS. (e.g., June, 2006) Thank you very much
  9. photoxprt1868

    printing page closes IE after error message

    Hello, I'm disecting a page which closes every time you try to print it. It gives that error that says "There's been an error and IE needs to close now". The only thing fishy I see with the page is an excessive number of div tags and this java script at the end <script...
  10. photoxprt1868

    simple script working with IE, but not with firefox

    Hello, Does anybody have an idea why this script is not working in fireFox. It works perfectly in IE Here's the script <SCRIPT LANGUAGE="JavaScript"> function calculateCost(kwh){ var custCharge2005 = 5.25; var first750kwh = 0.04302; var first750 = 0; var over750kwh = 0.05232; var over750...
  11. photoxprt1868

    simplest javascript function won't work

    Hello, I'm writing what I think is a simple formula, but it's working at all. Can someone tell me if there's anything wrong with my syntax <head> <SCRIPT LANGUAGE="JavaScript"> function calculateCost(kwh){ var custCharge2005 = 5.25; var custCharge2006 = 0; var first750KWH = 0.04302; var...
  12. photoxprt1868

    can excel change the color of a font based on criteria

    Hello, If I put a due date in a cell, can excel make it red automatically when it goes passed the due date? Thank you in advance
  13. photoxprt1868

    auto calculate due date in excel based on starting date

    Hello, I'm trying to create an excel speadsheet to track the different steps of a repeating project. Each milestone is driven by the begining date of the project. For example task 1 is due 3 days after begining the project, task 2 is due 2 weeks after, task 3 a month after and so forth on so...
  14. photoxprt1868

    need syntax for an array

    Hello, I need to write a quick java script to compare an incomming IP address to an array of IP address and if it matches one of the IPs in the array then it'll do something else. I don't know the syntax for defining an array using javascript. Can someone help? thank you very much
  15. photoxprt1868

    F12 in DWMX is previewing just code

    Hello, I set up a site in Dreamweaver, and tested a dummy file but when I hit F12 to preview in the browser all I see is code. IIS is installed on the machine, and the site is inside the wwwroot folder. This is not at all the first site I set up. But it's the first in this person's computer...
  16. photoxprt1868

    need application to change file extension to XML

    Hello, I need to change hundreds of files from shtml to XML. I'm changing the tags inside through search-and-replace tools but I still need something to change the extension to xml and add the begining and ending tag. Does anybody know of a tool that I can use to do this. Thank you very much
  17. photoxprt1868

    any ideas why a background image tag is not working?

    Hello, This simple tag is not working, and I can't seem to figure out why. This is a cfm file. <td background="/images/rightShadow.jpg" class="rightBG">&nbsp;</td> I've tried it with and without the / infront of images. In dreamweaver it looks good the way it's supposed to look, but when...
  18. photoxprt1868

    can I deactivate the hand on the mouse over

    Hello, I have a menu with a top level menu made up with images and sublevels made with javascript. The top level images are just linked to #, they just activate the JS drop downs. On the top level images, can I deactivate the hand on the mouse over some how? Thank you
  19. photoxprt1868

    can I give padding, or margin to a background image

    I have a some TDs that have a background arrow.gif applied to them through styles. I have it positioned top, left, but it's too close to the top. How can I lower that a couple of pixels without affecting the whole TD? Thank you very much.
  20. photoxprt1868

    bullets look different in IE than in Firefox

    Hello, I've got some bullets and I've modified the left margin in the style sheet. It looks fine in IE but Firefox ignores that left margin, and it messes everything up. Here's some code: #topFlashBucket li{ list-style-image:url(../images/arrowNoBG.gif); padding-left:5px; } #topFlashBucket...

Part and Inventory Search

Back
Top