Jump to content

iyeru42

Members
  • Posts

    231
  • Joined

  • Last visited

Everything posted by iyeru42

  1. You also don't have to use JavaScript to swap to hand, I-Bar, Move, Help, etc. You can do that with a CSS style (like below). #image { cursor:pointer; /* Hand */ cursor:url(); /* Custom */} But that won't do your swap image thing. And Javascript for swapping an image would be: <img src="blah.gif" id="swap" onMouseOver="swapImage('blah2.gif');" /> Where swapImage(); would be: function swapImage(newSRC) { document.getElementByID("swap").src = newSRC;}
  2. 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.)
  3. iyeru42

    Website looks off.

    Now that I look at it again, yeah it is the same.
  4. iyeru42

    Website looks off.

    Well, if I were you... I wouldn't use a navigation system of images anyway. Check out my website, it only uses one image on the main site itself.
  5. iyeru42

    Website looks off.

    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;}
  6. iyeru42

    <div> probrties

    Those are the CSS2 Properties for ALL TAGS. If you want plain properties of the HTML DIV Tag itself, click here.
  7. 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.)
  8. <br /> actually is a better way of using it (After all, IPB uses it.)
  9. iyeru42

    IE woes again

    As I said, those JavaScripts only work on IMG tagged PNGs, not CSS-induced. Unless they finally made a script to do so?
  10. iyeru42

    Fulltext In PHP

    Thanks, that helps.
  11. Unclosed table within your fixtures div may be the problem.
  12. iyeru42

    IE woes again

    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.
  13. iyeru42

    Fulltext In PHP

    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.
  14. iyeru42

    HTML Strings

    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.
  15. iyeru42

    Fulltext In PHP

    The table is already in multiple columns and fields.
  16. iyeru42

    Fulltext In PHP

    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.
  17. iyeru42

    Fulltext In PHP

    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.
  18. 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]); }}
  19. 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.
  20. Variables can't go directly into strings. Change "Hello $name" to either "Hello ". $name or "Hello {$name}" Do the same thing with the last name.
  21. JavaScript can also do the switch/case method as well, in fact it works EXACTLY the same way. (One of those drawbacks from JS to PHP.)
  22. iyeru42

    Fulltext In PHP

    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.
  23. 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.
  24. I don't exactly like 800x600, but I have to use it as long as I use my computer at my mother's. So, I keep designing for it.
  25. 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.
×
×
  • Create New...