Jump to content

Morris2

Members
  • Posts

    26
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Morris2's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks for all your tips. None of them works right now. I discovered, that the dottet sqare appears around the button when I click the button, stays there, but disappears again when I click somewhere outside the button field. Maybe this is called something else than border? It is only like this in Internet Explorer, not in the other big browsers. It just don't look good, that's why I want to get rid of it. Thanks again and regards Morris
  2. Hi, and Merry Christmas by the way;-) I am using Joomla 1.7.3 with a nice extension "Art Table", and is using CSS-3 to get the right look. Internet Explorer 8 understands some of the CSS-3 codes, but not these two: .tablesorter tr:nth-child(even) td { background: #002933; } .tablesorter tr:nth-child(odd) td { background: #000333; } Any trick to make this work? How does these codes look like in "normal" CSS? The site looks great in most other browsers. Best regards Morris.
  3. Hi. I am trying to remove the dotted outline around selected radio button in IE8. In all other browsers this is not a problem. I have been trying this without luck: <input type="radio" name="amount" style="background-color: #EED8AE;outline:none;border:0;margin:0;padding:0; value="15"/> I would really like to fix this with inline CSS if possible. Whats wrong? Best regards Morris
  4. Thanks for this. OK, I have tried this in different ways, within php tags, within html tags, surrounded by ' ' or double " ". I can't make it work. In fact when trying to insert this line in my code document and save it (Joomla - Chronoforms - custom mode, the line is changed. In the example, I want the number 20 to be an interactive link. In fact I am trying to make a whole list of weblinks from a while loop interactive, and wanted to figure that out myself later. First I need to know, how to make the content of a variable an interactive hyperlink ... Best regards Morris
  5. Hi. How do I turn a variable into a hyperlink? Here is what I want to do. What is the correct notation? <?php $q=20; echo '<a href="www.phpfreaks.com">$q</a>'; ?> Best regards Morris
  6. Thanks for this. I just tried this, debugger says: unexpected T_STRING, expecting ',' or ';' in this line: echo'<select name="uan"onChange="javascript: window.location = full_web_url_to_this_page?uan='+this.value;">'; Can't see whats wrong here. Besides from that, did I undertand this right: full_web_url_to_this_page?uan Is it possible to do this without updating the page? Regards Morris
  7. Hello PHP world! I have this roll-down-select-menu working, reflecting a column in my database. I am able to retrieve the selected value after submit, that takes me to another code page. But I would like to use this value on the form page, that contains the roll-down-menu and the submit button. Is there a way to enter the chosen value into this variable $uan, without having to submit the page first? I tried to retrieve the value on this page with the POST lines at the button, but without luck. I think the value is only entered upon submit? Thanks in advance for your clever advice. Best regards Morris <?php $query = "SELECT * FROM Uniq_artist_name" ; $result = mysql_query($query); echo'<select name="uan">'; while($row = mysql_fetch_assoc( $result )) { echo '<option value="'.$row['uniqartistname'].'">'. $row['uniqartistname'] .'</option>'; } echo '</select>'; $uan = $_POST["uan"]; echo "$uan"; ?>
  8. This is exactly what I am looking for, thanks! I thought the solution would be simple, so I asked a simple question. Maybe it got too simple;-) Cheers Morris
  9. Hi there. How do I reflect the text content of the variable $a in this text form: <input type="text" name="artist"> Regards Morris
  10. Hello! How do I insert the content of two different variables into the SAME field in a table? Let's say, that variable A contains the word "blue" and variable B contains the word "sky". How do I "merge" these to variables into only one variable containing the words "Blue Sky"? Best regards Morris
  11. Hi. Maybe a tricky question? How do I reflect the content of a column from a database table in a roll down select menu in the browser? Let's say that the content of the table column is: Anna Michael These names should be reflected in this select menu like this: <select name="friends"> <option value="Choose a name">Choose a name</option> <option value="Anna">Anna</option> <option value="Michael">Michael</option> So visitors can choose a name, and thereby turn it into a variable, for reuse in the database. Best regards Morris
  12. Hello How do I fetch a current visitors ip address, and turn it into a variable? The visitor should only be able to enter the same form once, so I want to compare the current visitor ip address with ip addresses in the database to achieve this. Best regards Morris
  13. Hi. A quick one: How do I write this in PHP? if (this variable don't contain "@") echo "This is not a valid email address"; Regards Morris
  14. Hi. I changed the color of the submit button like this: <input type="submit" value="SEND"style="background-color: #CC6600"> Why can't I change the color inside a simple radio button the same way: <input type="radio" name="amount"style="background-color: #CC6600" value="50"> Looking for a simple no-css solution for now ... I am using Safari on Mac. Regards Morris
  15. OK. Now this is working as a stand-alone-script on my server, together with a stand-alone-css file: while($row = mysql_fetch_array($chart)) {echo $row['artist']."..." .$row['city']." " .$row['country']. " <span class='bigHitList'>".$row['total']." USD</span><br>";} GREAT! - thank you so much! Now I added this script to my Joomla 1.7 site, and here it shows right, but dosn't get styled. Where exactly should I insert the CSS file in the Joomla style sheet? Or where do I upload my own stylesheet? (I've tried the edit.css and the template.css files in my template folder without luck) Best regards Morris
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.