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 wOOdy-Soft 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 Dronealone

  1. Dronealone

    .htaccess not working with Alias

    Hi, I'm running Apache 1.3.x using virtualhosts and have done a simple redirect: (trimmed down) <VirtualHost x.x.x.x> ServerName www.x.com ServerAdmin sysop@x.co.uk DocumentRoot /home/users/x/www/ Alias /devftp /home/users/devftp/www </VirtualHost> The alias works fine, however when I put a...
  2. Dronealone

    URL Rewriting

    Hi, I'm terrible at regex, but trying to learn. I have used mod_rewrite to rewrite a very simple URL, it works fine for one variable but not sure how to do it for two. Here it is: RewriteEngine On RewriteRule /range([0-9]+).stm /rangepage.php?range=$1 I need to add a second var to this...
  3. Dronealone

    Keep table row expanded between form posts

    Thanks for that. I guess I would need to add / remove the row values from the cookie, then iterate the cookie and set the values of the row's viewstates. I'm not very good at javascript, could you possibly give me an example of how to do this? Thanks for your help.
  4. Dronealone

    Keep table row expanded between form posts

    Hi, I am using the following function working with the id's of <tbody> tags to expand and contract table rows: function toggle_element(id) { the_element = document.getElementById(id); image_name = 'toggle_' + id; the_image = document.getElementById(image_name); if...
  5. Dronealone

    Force File Download Javascript

    Hi, I have an image xyz.gif. I have an HTML button. How do I set the onclick event of the button to start a download of xyz.gif? (i.e. save as)? Many thanks!
  6. Dronealone

    Merge datasets in a datagrid

    The reason for the 3 is that the code I am working with has already implemented this method, done all the (very complicated) SQL etc. There are 3 objects which each expose a dataset. These objects are related via database columns, and I wanted to combine using a dataset. Is the easiest way to...
  7. Dronealone

    Merge datasets in a datagrid

    hi, i have 3 datasets that I want to merge into a single datagrid with collapsible rows(optional!). The 3 datasets contain a single tables which are related to each other by primary key. how can I combine these? Any help much appreciated. thanks
  8. Dronealone

    Highlight row in a datagrid

    Hi, I have the following datagrid, and wish to highlight the selected row after the link has been clicked. Can anybody help? <asp:DataGrid id="dgDocSections" runat="server" AutoGenerateColumns="False" Font-Size="10pt" Font-Names="Arial" CellPadding="5" CellSpacing="5"> <HeaderStyle...
  9. Dronealone

    Hide Table Row

    Nope still no better! Have changed the function to: function toggle(target) { obj=(document.all) ? document.all[target] : document.getElementById(target); obj.style.display=(obj.style.display=='none') ? 'block' : 'none'; } This now works in Firebird(to an extent) - after the row is made...
  10. Dronealone

    Hide Table Row

    Not getting an error, however in firebird the row does not fully appear when the item is clicked on, only partiallly...
  11. Dronealone

    Hide Table Row

    Hi, Can anybody tell me how to make the following code Mozilla friendly, works fine in IE6... function toggle(target) { obj=(document.all) ? document.all[target] : document.getElementById(target); obj.style.display=(obj.style.display=='none') ? 'inline' : 'none'; } This function...
  12. Dronealone

    Can't refer to array index

    Hi, thanks for your replies, however I don't think I've made it clear what I need to get done. The checkbox, and two textbox fields and button, are all part of a much larger form which is dynamically output via PHP. The reason the variable names have been indexed with the [] brackets is...
  13. Dronealone

    Can't refer to array index

    Hi, I have the following code which is supposed to open a window with the url query string being created from the input boxes: <input type='checkbox' class='col3' name='monitor[1]' value='1'> <input type='text' class='col4 text' name='monitor_url[1]' value=''> <input type='text' class='col5...
  14. Dronealone

    No sound on Radeon 9800se

    Hi, I've put the cable in and gone through the intiailization. It made no sound during initialization. After having done this I have no sound from the TV tuner, but I now do have sound from the OS. The sound card I am using is an AC97 and the line-in port is on the front of the Shuttle box...
  15. Dronealone

    No sound on Radeon 9800se

    Hi, I have bought a Shuttle XPC and a radeon 9800se and am having trouble getting the tv tuner to work. When I go to initialize the tv tuner it tells me to plug in a cable from the video card to the sound card. I've read elsewhere that its the cable with many different ends on it that needs to...

Part and Inventory Search

Back
Top