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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by draigGoch

  1. draigGoch

    Columns to Rows

    Ah yes - That should teach me to read it properly! A computer always does what you tell it to, but rarely does what you want it to.....
  2. draigGoch

    Columns to Rows

    You need to use a Cross-tab/Pivot query. For example, you have a table called tblSales: Year | Sales -------------- 2011 | 10000 2010 | 9000 2009 | 8000 SELECT [2009],[2010],[2011] FROM tblSales PIVOT ( MAX(Sales) FOR [Year] IN ([2011],[2010],[2009]); ) AS...
  3. draigGoch

    expandable flash movie

    Hi, You can create thios effect using a mixture of actionscript, html, css and javascript. I haven't touched flash for a while, so i am using as2 rather than as3, don't know what the synhtax for this is i'm afraid. Within your flash file, you might have this code for handling two buttons...
  4. draigGoch

    Wireless Repeater into tv

    Diolch John, I've been looking at those ethernet over Power adapters myself, but I've heard that they can be unreliable in a house with old electrics? I think that a colleague has bought them, so will borrow them off him to test it first. A computer always does what you tell it to, but rarely...
  5. draigGoch

    Wireless Repeater into tv

    I'm not sure where this should be posted, but i'm hoping that someone here can help me. I have recently purchased a new Sony Bravia TV and want to hook it up to the internet, but unfortunately my router is not in the living room, and I am not going to fork out £70 for a SONY wireless dongle. Is...
  6. draigGoch

    CSS relative top and fixed bottom?

    Thanks for your help guys. A computer always does what you tell it to, but rarely does what you want it to.....
  7. draigGoch

    CSS relative top and fixed bottom?

    The example i gave was a very simplified problem i had, where i had a div panel in the middle of the screen, and this div had overflow:auto; so it would scroll, so I needed the height of the box. The footer wasn't absolute position it used negative margins to appear on the bottom of the window...
  8. draigGoch

    CSS relative top and fixed bottom?

    Thanks vacunita, but I don't think I'm clear here, the problem is that I don't know what the height of my header will be, as it is dynamic, and I want the content to fill the gap between the header and the footer div (which is positioned absolute at the bottom of the screen). A computer...
  9. draigGoch

    CSS relative top and fixed bottom?

    Hi johnwm, thanks for the reply.... I don't think I explained clearly enough, I want the second div to stretch to fill the gap between the header and footer..... without css, it doesn't stretch to fill the gap. Only uses the space that the div needs! Aaarggh! This is hard to explain..... But...
  10. draigGoch

    CSS relative top and fixed bottom?

    Hi, I would very grateful to anyone who could help me out with a problem that seems to haunt me again and again! I am designing a website which very simplistically is like this: <div id="header"> <ul> <li>Nav1</li> <li>Nav2</li> <li>Nav3</li> </ul> </div> <div id="content"> </div> <div...
  11. draigGoch

    swf banner inside &lt;a&gt;&lt;/a&gt; tags

    because i was going to suggest something like this (AS2) within your banner (one that you could reuse if your swfs are all different): banner.onRelease = function() { getURL("http://"+url, "_blank"); } Do not define the variable url within your code, and where you embed your flash movie...
  12. draigGoch

    Link in macromedia

    or that! Why didn't I think of that? A computer always does what you tell it to, but rarely does what you want it to.....
  13. draigGoch

    Adding numbers :/

    Here: var new_price = document.purchase.TotalAmount.value + 100; alert('its ticked - value' + new_price); You are trying to add a String to a number, you'll need to convert the string to a number first. Like so: var new_price = Number(document.purchase.TotalAmount.value) + 100; alert('its...
  14. draigGoch

    swf banner inside &lt;a&gt;&lt;/a&gt; tags

    Thus, I wouldn't have to set the link inside the fla files which is quite a hassle." - do you have a number of identical swfs, but they link to different places? A computer always does what you tell it to, but rarely does what you want it to.....
  15. draigGoch

    Need help understanding scope in AS3

    There is a tutorial/article here about making vars global in as3 ahich helped me: http://greenethumb.com/article/11/global-variables-in-as3 A computer always does what you tell it to, but rarely does what you want it to.....

Part and Inventory Search

Back
Top