Jump to content

iyeru42

Members
  • Posts

    231
  • Joined

  • Last visited

Posts posted by iyeru42

  1. Use the below code instead:

    <html><body><script type="text/javascript">function emoticon(theSmilie){	document.myForm.theText.value += theSmilie;}</script><A onClick="emoticon(':)')"><IMG alt="smilie" src="smiley.gif" border=0></A><form name="myForm"><textarea rows="10" cols="30" name="theText"> </textarea></form></body></html>

    If that doesn't work, change .value to .text and try again. (If using Internet Explorer, close your document and re-open it. IE doesn't like refreshing local files.)

  2. First off, make a new ID and call it, basic_image (IDs are preceeded with a pound ( # ) sign.) And in that ID have the following code:

    width:560px; 	 height:31px;

    And change all your image tags with style="width:560px; height:31px;" to id="basic_image"Then add the following stuff to your stylesheet:

    IMG { 	 margin:0px;	 border:0px;}BODY {	 margin:0px;}

  3. You can also make DIVs act like tables like below:

    <div class="table">	 <div class="left">Left Content A</div><div class="left">Left Content B</div>	 <div class="right">Right Content A</div></div>

    Where the Classes would be:

    .table {	 margin:2px;	 padding:2px;}.left {	 float:left;}.right {	 float:right;}

    Keep in mind, depending on where you put your DIVs, DIVs may appear a bit up or below from other DIVs. (Below would be to the right or below, and above would be above or left of.)

  4. Get IE7, it supports PNG Transparencies (Even RC versions.) Or do stuff mentioned here, keep in mind the stuff mentioned in the topic I linked won't work on PNGs that are transparent in CSS Backgrounds.

  5. Technically, the desired results are read by my message board (OvBB) and are selected as from the below table. But since OvBB doesn't use fulltext when getting posts via SQL in PHP (Even if the SQL fields are in fulltext) the queries go from 40~150+.Sorry if the image stretches the page, but unfortunately my ISP (Merr.com) said Imageshack.us was having difficulties.OvBB--PostTable.png

  6. Okay, I've got yet another problem. How would I go about putting HTML into a variable or into a string? The code I already have is below.

    $strSection = (' > <a href="#">'. $aForum[PARENTNAME] . '</a> > ' . $aForum[NAME]);

    Nevermind I got something from PHP.net.

  7. Well, as I said... without fulltext functions for a script, such as a message board, editing a post with about 200 words would cause 20~40 queries to be used. However, with PHP implemented with fulltext (Like IPB, phpBB and SMF do) the queries would go down to a constant number.

  8. No, it's not that. I want to implement fulltext to a script that I use. What you did there wasn't fulltext enabled, correct? If it is, show me where.

  9. Just like in PHP, (I got it from here.)

    var $_GET = {};vars_area = location.search.substring(1);if(vars_area.length > 2){   get_sets = query_str.split("&");   for(i = 0, num_gets = get_sets.length; i < num_gets; i++)   {	  parts = get_sets[$i].split("=");	  $_GET[unescape(parts[0])] = unescape(parts[1]);   }}

  10. well. you have to use the '$_GET[id];' to do this page.my idea is you can use an if statement like if the $_GET[id]; is 'webdesign' then show this content and else if the $_GET[id]; is 'graphicsdesign' then show this content.i think you get my ideaMenan
    Actually, that's $_GET['id'] (Just like an array, don't forget the quotes.) Also AeroCoder, you need a server "installed" on your home computer to view PHP content (Get EasyPHP or Xitami, then upload the file into the www directory.) You can't just get Apache and put it on your comp and expect it to work. Also, if you wanted to do the $_GET method via JavaScript, I could go get the information for you.
  11. Hey W3C, I recently put some DB Tables of mine (They're MySQL) and I was wondering how I would get my PHP Scripts to do fulltext searching (or any fulltext option really.) Because it's a pain to have a boat load of queries when there isn't a need to have them.

  12. Try This QueryUpdate User2 Set UId = User1.Uid From User1 Where User1.UserName = User2.UserName
    Assuming the person used the AS or LEFT JOIN deal of course. If not, that won't work since it'll say User1.uid is invalid, null or not an object.
  13. Does the browser have a plug-in for handling the file? If not, that could be the problem. Either that, or you told IE* to not play files in the browser.*IE normally shows IFRAMES, some programs like Firefox recently have added IFRAME support. Please check this... because I assume IE.

  14. Nevermind people. I know why it doesn't work. NONE of these work on Background images. So I guess I'll just have to add a white BG to my PNG images... :)But this works for the IMG tags. My code above apparently didn't if you don't have aclass named noAlpha.

×
×
  • Create New...