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: *

  1. james6848

    Mozilla CSS

    I did originally attempt to see what happens, the result being my visit here... Anyways, I have found the key 'display: -moz-box;' unlocks everything else. I can now 'layout stuff' with joyful abandon. :-)
  2. james6848

    Mozilla CSS

    Hi, Has anybody here successfully used Mozilla CSS to format html elements? I'm thinking here of stuff like '-moz-box-orient' type things, rather than '-moz-border-radius' etc. (I know these work fine). On the Mozilla site it says that these can indeed be used outside XUL apps, but I just can't...
  3. james6848

    Fading Layer Transitions with Scriptaculous

    I'm currently designing a page using an effect from the great http://script.aculo.us/ page. What I'm trying to is pretty simple - just make a layer fade in when a button is pressed. There are a few of these layers, and the problem is that some layers will hide others. Please click on the first...
  4. james6848

    $_POST / $_FILES

    It's OK, got it to work!
  5. james6848

    $_POST / $_FILES

    I can't seem to access the $_POST array using this form, only the $_FILES one. When I do an echo for the $_POST['artist'], for example, I get nothing. Help! <form enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <input type="hidden"...
  6. james6848

    Moving layers part II

    Hey! It Works! Many thanks, I didn't even consider that that was the prob. James.
  7. james6848

    Moving layers part II

    I give up - I just can't get this to work. What elementary mistake am I making? <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" type="text/JavaScript"> <!-- function showlayer() { var...
  8. james6848

    Functions that call themselves

    I see! I just need to remember it's OK to do this.
  9. james6848

    Functions that call themselves

    Thanks for the link. So, I take it that the function is set up completely before the IF statement is run.
  10. james6848

    Functions that call themselves

    Just trying to create some moving layers, and came across this code in a book: function showlayer() { var hiddenlayer = document.getElementById('tablayer'); var layerposition = parseInt(hidden.style.left); if (layerposition < 0) { hiddenlayer.style.left = (layerposition + 5) + "px"...
  11. james6848

    Comparative structures with CSS

    OK, thanks - I think I understand what's going on now. I didn't appreciate how JavaScript treats all the CSS properties as strings - interesting. I guess that's why they always have to be within quotation marks.
  12. james6848

    Comparative structures with CSS

    That looks pretty cool, thanks. If you have a moment, could you give me a bit of info on the indexOf() method?
  13. james6848

    Comparative structures with CSS

    Hi, I can't seem to get this sort of structure to work: if (myobject.style.backgroundImage == "url(../Images/bluebackground1light.jpg)") { myobject.style.backgroundImage = "url(../Images/bluebackground1dark.jpg)"; } I know I've created the object OK, and I know all the URLs are OK. I'm just...
  14. james6848

    mysql_fetch_array with multidimensional arrays

    OK, thanks. I'll give it a go. Cheers.
  15. james6848

    mysql_fetch_array with multidimensional arrays

    OK! Sorry. I want to put my CV on the 'net. For each previous job I need a single array, something like this: Job1 (task1 => details, task2 =>details, task3 => details) Job2 (task1 => details, task2 =>details, task3 => details) etc... Then I want this to exist in a multdimensional array...
  16. james6848

    mysql_fetch_array with multidimensional arrays

    I'm familiar with using 'while' to extract data from a MySQL derived array using a $row[] variable, but if I want to extract from a multidimensional array do I just use the construction $row[0][1] (for example)? Thanks.
  17. james6848

    Sticky Forms/$_POST array

    Thanks. I think the main problem is that I thought I could get away without using include() and require() functions! Back to the drawing board...
  18. james6848

    Sticky Forms/$_POST array

    Thanks guys. So, to sum up, the $_POST array is reset each time the page is exited, right?
  19. james6848

    Sticky Forms/$_POST array

    Hi, I've got a standard HTML form (eg. 'contact.htm') that submits to a PHP page, which in turn emails the details to me and inserts into a MySQL db. Everything is working fine, except I can't create a sticky form when a user needs to resubmit. I've tried everything the books say (ie inserting...
  20. james6848

    Strange colour/printer discrepancies.

    Thanks for your help. It explains why I can't select 'Composite CMYK' (despite what the books say). Cheers

Part and Inventory Search

Back
Top