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: jamesmay
  • Order by date
  1. jamesmay

    Recordset to array

    Thanks for replying, the date values are only for testing, forget that bit - im just trying to put values into the same array but at different bits, hope this makes scence? im a bit of a pain. regards.
  2. jamesmay

    Recordset to array

    StartDate and EndDate are sting values like... StartDate = "2005-02-23 16:56" EndDate = "2005-02-24 16:56" just fogot to add to the above code.
  3. jamesmay

    Recordset to array

    Hello, i want to put my record set values into an array but i am a little stuck. this is what i am trying to do... Dim TableValues(9,Ubound) Dim ValueArray(9) ValueArray(0) = "A" ValueArray(1) = "B" ValueArray(2) = "C" ValueArray(3) = "D" ValueArray(4) = "E" ValueArray(5) = "F" ValueArray(6)...
  4. jamesmay

    document.write

    I have tried using layers as this seems to be the only way. it works fine appart from doubling up on each line here is the code... <td width="45%" height="20"> <div id="A<%=j%>" style="z-index:1; visibility: hidden"><font size="-1"><a href="<%=z(j-1)%>" target="bottom" title="Defect Trend...
  5. jamesmay

    document.write

    Cheers for replying, this is the source.... <html> <head> <title>Pareto</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="../css/web.css" type="text/css"> <script language="JavaScript"> <!-- function MM_reloadPage(init) { //reloads the...
  6. jamesmay

    document.write

    Thought i best post a new vesion of my last request but with my entire code. it might be a bit better to understand. i am trying to disply certain information if a button is selected or not. hope this makes sence... <%@ LANGUAGE="VBSCRIPT" %> <!--#include file="../connections/SS0302.asp" -->...
  7. jamesmay

    enable/disable hyperlink

    Sorry guys, im new to all this - should of been a bit clearer in what i was after, Dan - your repsonse was a perfect solution for my initial question but i was looking for a simpler solution. I have found on in the mean time which is showing / hiding columns when i click the button. i just need...
  8. jamesmay

    enable/disable hyperlink

    I have tried the above method which works fine but i think it is just a little OTT for what i need. I simply just need to replace "href" with "hrefx" to disable/enable the hyperlink when selecting the button. Surely there is a simpler way to do this? kindest thanks? JM
  9. jamesmay

    enable/disable hyperlink

    It works but causes more problems further on in my code. is there a simpler way just to change "href" to "hrefx" and back again on a onClick event? which will stop the hyper link from working?
  10. jamesmay

    enable/disable hyperlink

    Hi, i have got it working now but the problem is changing the values back when i reselect the button. Is it possible instead to get the button to replace.. <a href="<%=z(j-1)%>" target="bottom" title="Defect Trend Report for...
  11. jamesmay

    enable/disable hyperlink

    I have used this when the button is selected... for (var i=1; i < 11; i++) { document.getElementById(i).removeAttribute('href'); document.getElementById(i).removeAttribute('target'); document.getElementById(i).removeAttribute('title'); } i need a simlar function to resore the values..if...
  12. jamesmay

    enable/disable hyperlink

    Sorry my mistake i have fixed it. how do you add the Attribute back when you select the switch again? regards.
  13. jamesmay

    enable/disable hyperlink

    Thanks for replying this is what i was after! the problem is that when i call the function ten times it does not work... <script language="JavaScript"> document.getElementById('1').removeAttribute('href'); document.getElementById('2').removeAttribute('href')...
  14. jamesmay

    enable/disable hyperlink

    Is it possible to do somthing like... when the botton is not selected.... <a href="<%=z(j-1)%>" target="bottom" title="Defect Trend Report for <%=(Recordset1.Fields.Item("C3").Value)%>"><%=(Recordset1.Fields.Item("C3").Value)%></a> when the button is selected... just show...
  15. jamesmay

    enable/disable hyperlink

    Cheers, for replying, is it possible to remove change the text so it doesn't look like a hyperlink? Regards, JM
  16. jamesmay

    enable/disable hyperlink

    Hi, how can i disable or anable a hyper link from working by selecting a button on the screen? I have a link below... <a href="test.asp">test</a> i want a button called "disable" to disable the hyper link when pressed and enable the hyperlink when reselected. can anyone help? kindest...
  17. jamesmay

    Month Problem

    Cheers guys, i will try both methods out and let you know how i get on. Cheers for replying.
  18. jamesmay

    Month Problem

    Hi, i am trying to get the start date and end date of any given month. If Month(Now)-2 falls back into the previous year it has a fit. Can anyone help! here is the code i am using... Mid(MonthName(Month(Now)-2),1,3) StartMonth = DateSerial(Year(Now), Month(Now)-2 + iOffset, 1) EndMonth =...
  19. jamesmay

    Button with to states

    Just figured it out... <input type="hidden" name="hiddenField" value="null"> <script language="JavaScript"> function resize() { if (document.getElementById('hiddenField').style.visibility != "hidden") { document.Image.filters.alpha.opacity=30...
  20. jamesmay

    Button with to states

    This is what i am trying to do (if it helps..) When i select the button the image on the screen will fade. when i reseled the button the image will unfade. <script language="JavaScript"> function opacity() { if (Image).filters.alpha.opacity=30 {...

Part and Inventory Search

Back
Top