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

  • Users: Sleidia
  • Content: Threads
  • Order by date
  1. Sleidia

    Load images one after one

    Hi everyone :) Does someone know how to load heavy images one after one with javascript? The thing is that I need to have each image load after the previous one is finished loading. So no timer of any sort must be used. And I would like to avoid the use of innerHTML because I need to separate...
  2. Sleidia

    Wordpress question

    Hi Guys I just wanted to know how difficult it is to migrate a website running ver. 2.8.4 to the latest version of Wordpress. How many hours will it take for an experienced webmaster who has never used Wordpress before? Thanks a lot :)
  3. Sleidia

    Another regular expression issue

    Hi, I would like to remove any occurence of HTML comments and their surrounding HTML tags if they exist. For example : <!-- some text here --> Everything should be removed from <! to -> included. But at the same time, in <div id="any-id-here"> <!-- some text here --> </div> or in...
  4. Sleidia

    Onload bug with OpenTip code

    Hi, I use OpenTip ( http://www.opentip.org/ ) which is great for displaying custom tooltips anywhere on a website. The only trouble I have is that there is a bug that I can't seem to be able to fix on firefox. What happens is that triggering a tooltip by rollover while the page is still...
  5. Sleidia

    UL inside H3 ... forbidden??

    Hello, To my surprise, the validation tool from the W3C says that I shouldn't have a UL list inside a H3 header. So, how do I do if I want the page content (of course not the whole content) to be inside a H3 tag? Content can be made of articles that contain lists sometimes. Any idea? Thanks :)
  6. Sleidia

    CHAR_LENGTH slowering query

    Hi, I have this query : SELECT tab_nav.nav_zone_ID, tab_nav.nav_page_ID, tab_nav.nav_name, tab_nav.nav_link_text_fr AS nav_link_text, tab_nav.nav_link_tip_fr AS nav_link_tip, tab_nav.nav_link_pic, tab_nav.nav_link_url_fr AS nav_link_url, tab_nav.nav_link_win, tab_nav.nav_link_innercode_li...
  7. Sleidia

    viewportOffset() not working right

    Hello, I've created the function below but it doesn't work as expected. I have two main menus on my page. One in the header, one in the footer. Each menu has a submenu that is shown/hidden on rollover on the main menus. There are no z-index set on these. For some reason I don't want to use...
  8. Sleidia

    Dictionary definitions class/script?

    Hello :) I would like to know if there are existing PHP classes/scripts that can retrieve the definition of any word from a remote dictionary database and display it on my own website. I need one that can work with both French and English. For example ...
  9. Sleidia

    Extension of ceil() function. I suck at maths :(

    Hi, I'm wondering how I could make a function that do ceil() on non-decimals like this : 123 becomes 130 12 345 becomes 12 400 146 904 becomes 147 000 Any idea? Thanks! :)
  10. Sleidia

    String replacement issue

    Hi guys, Still a newbie with preg/reg functions :( I'm looking for a way to do a string replacement that replace x with y inside Z, ONLY IF x isn't surrounded by a <a></a> tag. ( ie: <a href="">x</a> ) Thanks a lot!!! :)
  11. Sleidia

    z-index issue with IE only

    Hello :) In the html/css below, "area-flags" keeps showing above "tip-container" on IE. There is no problem on Firefox, Safari, Opera, Chrome. Would someone know what causes the problem? Thanks :) <html> <head> <style type="text/css"> #temp-clear { clear: both; } #area-top-nav { }...
  12. Sleidia

    Problem with using .getAttribute() :(

    Can someone tell me how to get the tag of x? I always get the "---- is not a function" error :( After an extensive research it looks like you can get the attribute of something only if you have its Id. Is that so? The problem is that I want to get the tag type of something that doesn't have...
  13. Sleidia

    Looking for a drag/drop script that mimics table rows

    Hello, I'm using this great script ( http://www.isocra.com/2007/07/dragging-and-dropping-table-rows-in-javascript/ ) for dragging/dropping table rows. But the only limitation is that I can't dynamically create rows anywhere in the table with the cloneNode method (which I absolutely have to...
  14. Sleidia

    Shorter use of UNION?

    Hello, Is it possible to avoid listing all the columns when you use UNION? I'm looking for a way to use ' * ' ... something that would look like this : SELECT * FROM my_table UNION SELECT '' as * FROM my_table Thanks! :)
  15. Sleidia

    How to duplicate anything that has a specific classname?

    Hello :) I know how to get an object and its attributes but how do I duplicate it dynamically wherever I want in the document? Thanks!
  16. Sleidia

    Issue with getElementById

    Below is a clumsy (but working) attempt of getting the offsetTop of an element that is repeated many times within the document. The question is : was there another simpler method, without the need of a loop for instance? document.onmousemove = function(ev){ if (currenttable &&...
  17. Sleidia

    Leading line break in textarea

    There must be a dumb solution but I'm too tired to find out by myself : I have this data in the db : English French German [ ! ] Note the leading line break above "English" Now, when I display the data in a textarea, the leading line break disappears :( I know the leading line break is...
  18. Sleidia

    Crossbrowser prevention of enter key form submission?

    Hello :) Does anyone know a good crossbrowser script that prevents forms from being submitted by hitting enter key? What I need is a script that makes it unnecessary to add javascript to form elements. I've used this one but it doesn't seem to work anymore for some unknown reason : var...
  19. Sleidia

    How do forms spambots work?

    Hello, Does anyone know where I could find documentation detailing most of the ways the spambots work? I have designed an anti-spam php code that writes a long numerical string into a textarea hidden by CSS. If the numerical string is replaced by any text, the mail isn't sent. I assume that...
  20. Sleidia

    Removing accents on both unicode and iso format

    Hello, I need to edit my function so that it can work also when special characters are submitted on unicode format. Any idea on how I should do that? The changes I've done below don't work at all :( function hd_dir_safe($string) { $string = strtr($string, "!#$%&'()*+,_./:;<=>?@[\]^`{|}~"...

Part and Inventory Search

Back
Top